-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Migrate all docs in rustdoc instead (#1281)
* Save work Signed-off-by: Xuanwo <[email protected]> * Migrate rfcs Signed-off-by: Xuanwo <[email protected]> * migration done Signed-off-by: Xuanwo <[email protected]> * Fix CI Signed-off-by: Xuanwo <[email protected]> * no doc test for some docs Signed-off-by: Xuanwo <[email protected]> * FIx format Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]>
- Loading branch information
Showing
136 changed files
with
1,528 additions
and
6,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,19 +22,10 @@ jobs: | |
- uses: actions-rs/cargo@v1 | ||
with: | ||
command: doc | ||
args: --no-deps --all-features | ||
args: --no-deps --all-features -p opendal | ||
env: | ||
LD_LIBRARY_PATH: ${{ env.JAVA_HOME }}/lib/server:${{ env.LD_LIBRARY_PATH }} | ||
|
||
- name: Setup mdBook | ||
uses: peaceiris/actions-mdbook@v1 | ||
with: | ||
mdbook-version: 'latest' | ||
|
||
- run: | | ||
mdbook build | ||
cp -r ./target/doc/* ./target/book | ||
- name: Deploy to vercel | ||
if: github.repository_owner == 'datafuselabs' && github.ref_name == 'main' | ||
uses: amondnet/[email protected] | ||
|
@@ -45,7 +36,7 @@ jobs: | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | ||
vercel-args: '--prod' | ||
scope: databend | ||
working-directory: ./target/book | ||
working-directory: ./target/doc | ||
|
||
- name: Deploy to vercel (preview) | ||
if: github.repository_owner == 'datafuselabs' && github.ref_name != 'main' | ||
|
@@ -58,4 +49,4 @@ jobs: | |
alias-domains: | | ||
opendal-git-{{BRANCH}}.vercel.app | ||
scope: databend | ||
working-directory: ./target/book | ||
working-directory: ./target/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
9730a00
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for opendal ready!
✅ Preview
https://opendal-pj7px5qn3-databend.vercel.app
Built with commit 9730a00.
This pull request is being automatically deployed with vercel-action