mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 00:00:49 +00:00
Trying to fix building docs
This commit is contained in:
parent
41ab3fd5b4
commit
5c5bf311ce
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
||||
**/.vscode
|
||||
install/
|
||||
api-docs/
|
||||
api-docs-repo/
|
||||
|
14
Makefile
14
Makefile
@ -303,17 +303,19 @@ dep-graph:
|
||||
docs:
|
||||
cargo doc --features=backend-singlepass,backend-cranelift,backend-llvm,docs,wasi,managed
|
||||
cd lib/runtime-c-api/ && doxygen doxyfile && cd ..
|
||||
|
||||
docs-publish:
|
||||
git clone -b "gh-pages" --depth=1 https://wasmerbot:${GITHUB_DOCS_TOKEN}@github.com/wasmerio/wasmer.git api-docs
|
||||
mkdir -p api-docs
|
||||
mkdir -p api-docs/c
|
||||
cp -R target/doc api-docs/rust
|
||||
cp -R lib/runtime-c-api/doc/html api-docs/c/runtime-c-api
|
||||
echo '<meta http-equiv="refresh" content="0; url=rust/wasmer_runtime/index.html">' > api-docs/index.html
|
||||
echo '<meta http-equiv="refresh" content="0; url=wasmer_runtime/index.html">' > api-docs/rust/index.html
|
||||
cd api-docs && git add index.html rust/* c/*
|
||||
cd api-docs && git commit -m "Publishing GitHub Pages ***CI***"
|
||||
cd api-docs && git push origin gh-pages
|
||||
|
||||
docs-publish:
|
||||
git clone -b "gh-pages" --depth=1 https://wasmerbot:${GITHUB_DOCS_TOKEN}@github.com/wasmerio/wasmer.git api-docs-repo
|
||||
cp -R api-docs/* api-docs-repo
|
||||
cd api-docs-repo && git add index.html rust/* c/*
|
||||
cd api-docs-repo && git commit -m "Publishing GitHub Pages ***CI***"
|
||||
cd api-docs-repo && git push origin gh-pages
|
||||
|
||||
wapm:
|
||||
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
||||
|
Loading…
x
Reference in New Issue
Block a user