Skip to content

Commit

Permalink
Merge branch 'master' of github.com:BabitMF/BabitMF.github.io
Browse files Browse the repository at this point in the history
  • Loading branch information
taoboyang committed Jul 15, 2023
2 parents 289ce86 + 6748eb9 commit 70c91c3
Show file tree
Hide file tree
Showing 78 changed files with 22,468 additions and 356 deletions.
Binary file added .DS_Store
Binary file not shown.
75 changes: 75 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

# Default to bash
defaults:
run:
shell: bash

jobs:
# Build job
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.114.1
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Install Dart Sass Embedded
run: sudo snap install dart-sass-embedded
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: |
hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# CloudWeGo

The [cloudwego.io](https://www.cloudwego.io/) site is built with [Hugo](https://gohugo.io/) and hosted on [Github Pages](https://pages.github.com/).
The [Babit.io](https://babitmf.github.io/) site is built with [Hugo](https://gohugo.io/) and hosted on [Github Pages](https://pages.github.com/).

## Prerequisites

Expand All @@ -20,19 +20,14 @@ The following are basic prerequisites for developing this project:
hugo server -D
```

## Contributing ![GitHub](https://img.shields.io/github/contributors/cloudwego/cloudwego.github.io)
## Contributing ![GitHub](https://img.shields.io/github/contributors/BabitMF/BabitMF.github.io)

Please read [CONTRIBUTING.md](https://github.com/cloudwego/cloudwego.github.io/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
See also the list of [contributors](https://github.com/cloudwego/cloudwego.github.io/graphs/contributors) who participated in this project.
Please read [CONTRIBUTING.md](https://github.com/BabitMF/bmf/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.
See also the list of [contributors](https://github.com/BabitMF/bmf/graphs/contributors) who participated in this project.

## License ![GitHub](https://img.shields.io/github/license/cloudwego/cloudwego.github.io)
## License ![GitHub](https://img.shields.io/github/license/BabitMF/BabitMF.github.io)

This project is licensed under the Apache License 2.0 - see the [LICENSE.md](https://github.com/cloudwego/cloudwego.github.io/blob/master/LICENSE) file for details
This project is licensed under the Apache License 2.0 - see the [LICENSE.md](https://github.com/BabitMF/BabitMF.github.io/blob/master/LICENSE) file for details

This project is overridden from [docsy](http://github.com/google/docsy), and we're not tracking changes to the docsy base file.

## Credits

The website is deployed on [Vercel](https://vercel.com/?utm_source=CloudWeGo&utm_campaign=oss).

![Vercel](https://images.ctfassets.net/e5382hct74si/78Olo8EZRdUlcDUFQvnzG7/fa4cdb6dc04c40fceac194134788a0e2/1618983297-powered-by-vercel.svg)
Binary file modified assets/icons/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/vendor/bootstrap/site/assets/js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

window.docsearch({
apiKey: '5990ad008512000bba2cf951ccf0332f',
apiKey: 'd9be360a7d99a432de2be2cf94c1a515',
indexName: 'bootstrap',
inputSelector: '#search-input',
algoliaOptions: {
Expand Down
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

baseURL = "https://www.BabitMF.io"
title = "BabitMF"
googleAnalytics = "G-QYWRQRLPRM"
googleAnalytics = "G-G86QGVE803"

enableRobotsTXT = true

Expand Down Expand Up @@ -172,7 +172,7 @@ url = "https://github.com/BabitMF/BabitMF.github.io/blob/main/LICENSE"

[[params.links.user]]
name = "Lark"
url = "https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=4b9ob35d-b429-4ee7-b510-b2953687f5e1"
url = "https://applink.feishu.cn/client/chat/chatter/add_by_link?link_token=3a1la8f6-55fc-4ad4-bdf0-2ec17edd692a"
icon = "fab fa-lark"
desc = "Chat with other BabitMF users by lark"

Expand Down
9 changes: 3 additions & 6 deletions content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ <h2 class="home-section-title">Used by</h2>
<a class="home-used-by-item" href="https://www.douyin.com/" target="_blank" rel="noopener">
<img class="used-by-logo" src="/img/usedby/douyin.png" alt="douyin logo">
</a>
<a class="home-used-by-item" href="https://www.tiktok.com/" target="_blank" rel="noopener">
<img class="used-by-logo" src="/img/usedby/tiktok.png" alt="tiktok logo">
</a>
<a class="home-used-by-item" href="https://www.toutiao.com/" target="_blank" rel="noopener">
<img class="used-by-logo" src="/img/usedby/toutiao.png" alt="toutiao logo">
</a>
Expand Down Expand Up @@ -115,11 +118,5 @@ <h2 class="home-section-title">Used by</h2>
<li><a target="_blank" rel="noopener noreferrer" href="https://github.com/BabitMF/bmf">BMF</a></li>
</ul>
</div>
<div class="col-md-4 col-sm-6 col-xs-12 home-footer-links-item">
<div class="home-footer-links-item-title">Contact Us</div>
<ul>
<li><a href="mailto:[email protected]">Email: [email protected]</a></li>
</ul>
</div>
</div>
{{< /blocks/section >}}
14 changes: 2 additions & 12 deletions content/en/community/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1>Welcome to BabitMF Community</h1>

<div class="col-xs-5 col-sm-6 col-md-6 col-lg-6" style="margin-top: 3%">
<h2>Develop and Contribute</h2>
<p>If you want to get more involved by contributing to CloudWeGo, join us here:</p>
<p>If you want to get more involved by contributing to BabitMF, join us here:</p>
<ul>
<li title="GitHub">
<a
Expand All @@ -31,18 +31,8 @@ <h2>Develop and Contribute</h2>
</a>
Development takes place here!
</li>
<!-- <li title="Slack">
<a
target="_blank"
rel="noopener"
href="https://join.slack.com/t/cloudwego/shared_invite/zt-tmcbzewn-UjXMF3ZQsPhl7W3tEDZboA"
>
<i class="fab fa-slack"></i> Slack:
</a>
Join our CloudWeGo Slack Channel
</li> -->
</ul>
<p>
You can find out how to contribute to these docs in our <a href="https://github.com/cloudwego/kitex/blob/develop/CONTRIBUTING.md">Contribution Guidelines</a>.
You can find out how to contribute to these docs in our <a href="https://github.com/BabitMF/bmf/blob/master/CONTRIBUTING.md">Contribution Guidelines</a>.
</p>
</div>
62 changes: 31 additions & 31 deletions content/en/docs/bmf/api/api_in_cpp/audio_frame/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ audio_frame.h

[AudioFrame](#audioframe-15) ()=default

[AudioFrame](#audioframe-25) (const [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) &)=default
[AudioFrame](#audioframe-25) (const [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) &)=default

[AudioFrame](#audioframe-35) ( [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) &&)=default
[AudioFrame](#audioframe-35) ( [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) &&)=default

[AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) & [operator=](#operator=) (const [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) &)=default
[AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) & [operator=](#operator=) (const [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) &)=default

[AudioFrame](#audioframe-45) (int samples, uint64_t [layout](#layout) , bool [planer](#planer) =true, const TensorOptions &options=kUInt8)

[AudioFrame](#audioframe-55) (const TensorList &data, uint64_t [layout](#layout) , bool [planer](#planer) =true)

[AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) [clone](#clone) () const
[AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) [clone](#clone) () const

[operator bool](#operator-bool) () const

Expand All @@ -52,81 +52,81 @@ Tensor [plane](#plane) (int p=0) const

Tensor [operator[]](#operator-1) (int p) const

[AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) & [copy_props](#copy_props) (const [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) &from)
[AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) & [copy_props](#copy_props) (const [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) &from)


![img](/img/docs/closed.png)

[bmf_sdk::OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/)
[OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#opaquedataset-13) ()=default
[bmf_sdk::OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/)
[OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#opaquedataset-13) ()=default

[OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#opaquedataset-23) ( [OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) &&)=default
[OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#opaquedataset-23) ( [OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) &&)=default

[OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#opaquedataset-33) (const [OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) &)=default
[OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#opaquedataset-33) (const [OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) &)=default

[OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) & [operator=](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#operator-2) (const [OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) &)=default
[OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) & [operator=](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#operator-2) (const [OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) &)=default


void [private_attach](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#private_attach) (const T *data, Args &&...args)
void [private_attach](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#private_attach) (const T *data, Args &&...args)



const T * [private_get](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#private_get) () const
const T * [private_get](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#private_get) () const


void [private_merge](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#private_merge) (const [OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) &from)
void [private_merge](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#private_merge) (const [OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) &from)


[OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) & [copy_props](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#copy_props) (const [OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/) &from)
[OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) & [copy_props](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#copy_props) (const [OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/) &from)


![img](/img/docs/closed.png)

[bmf_sdk::SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/)
void [set_pts](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#set_pts) (int64_t [pts](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#pts) )
[bmf_sdk::SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/)
void [set_pts](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#set_pts) (int64_t [pts](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#pts) )


int64_t [pts](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#pts) () const
int64_t [pts](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#pts) () const

[Rational](http://localhost:1313/docs/bmf/api/api_in_cpp/rational/) [time_base](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#time_base) () const
[Rational](https://babitmf.github.io/docs/bmf/api/api_in_cpp/rational/) [time_base](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#time_base) () const


void [set_time_base](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#set_time_base) ( [Rational](http://localhost:1313/docs/bmf/api/api_in_cpp/rational/) [time_base](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#time_base) )
void [set_time_base](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#set_time_base) ( [Rational](https://babitmf.github.io/docs/bmf/api/api_in_cpp/rational/) [time_base](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#time_base) )


bool [operator>](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#operator-1) (const [SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/) &other)
bool [operator>](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#operator-1) (const [SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/) &other)

bool [operator>=](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#operator-2) (const [SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/) &other)
bool [operator>=](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#operator-2) (const [SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/) &other)

bool [operator<](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#operator-3) (const [SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/) &other)
bool [operator<](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#operator-3) (const [SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/) &other)

bool [operator<=](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#operator-4) (const [SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/) &other)
bool [operator<=](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#operator-4) (const [SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/) &other)

[SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/) & [copy_props](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/#copy_props) (const [SequenceData](http://localhost:1313/docs/bmf/api/api_in_cpp/sequencedata/) &from)
[SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/) & [copy_props](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/#copy_props) (const [SequenceData](https://babitmf.github.io/docs/bmf/api/api_in_cpp/sequencedata/) &from)



## Static Public Member Functions


static [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) [make](#make-13) (int samples, uint64_t [layout](#layout) , bool [planer](#planer) =true)
static [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) [make](#make-13) (int samples, uint64_t [layout](#layout) , bool [planer](#planer) =true)


static [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) [make](#make-23) (int samples, uint64_t [layout](#layout) , bool [planer](#planer) , Options &&...opts)
static [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) [make](#make-23) (int samples, uint64_t [layout](#layout) , bool [planer](#planer) , Options &&...opts)

static [AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) [make](#make-33) (const TensorList &data, uint64_t [layout](#layout) , bool [planer](#planer) =true)
static [AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) [make](#make-33) (const TensorList &data, uint64_t [layout](#layout) , bool [planer](#planer) =true)


## Additional Inherited Members


![img](/img/docs/closed.png)

[bmf_sdk::OpaqueDataSet](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/)
virtual void [set_private_data](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#set_private_data) (int key, const OpaqueData &data)
[bmf_sdk::OpaqueDataSet](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/)
virtual void [set_private_data](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#set_private_data) (int key, const OpaqueData &data)


virtual const OpaqueData & [private_data](http://localhost:1313/docs/bmf/api/api_in_cpp/opaquedataset/#private_data) (int key) const
virtual const OpaqueData & [private_data](https://babitmf.github.io/docs/bmf/api/api_in_cpp/opaquedataset/#private_data) (int key) const


## Constructor & Destructor Documentation
Expand Down Expand Up @@ -206,7 +206,7 @@ copy all extra props(set by member func set_xxx) from `from` (deepcopy if neede


**Returns**
[AudioFrame](http://localhost:1313/docs/bmf/api/api_in_cpp/audio_frame/) &
[AudioFrame](https://babitmf.github.io/docs/bmf/api/api_in_cpp/audio_frame/) &


###  dtype()
Expand Down
Loading

0 comments on commit 70c91c3

Please sign in to comment.