mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-31 23:11:04 +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
|
**/.vscode
|
||||||
install/
|
install/
|
||||||
api-docs/
|
api-docs/
|
||||||
|
api-docs-repo/
|
||||||
|
14
Makefile
14
Makefile
@ -303,17 +303,19 @@ dep-graph:
|
|||||||
docs:
|
docs:
|
||||||
cargo doc --features=backend-singlepass,backend-cranelift,backend-llvm,docs,wasi,managed
|
cargo doc --features=backend-singlepass,backend-cranelift,backend-llvm,docs,wasi,managed
|
||||||
cd lib/runtime-c-api/ && doxygen doxyfile && cd ..
|
cd lib/runtime-c-api/ && doxygen doxyfile && cd ..
|
||||||
|
mkdir -p api-docs
|
||||||
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/c
|
mkdir -p api-docs/c
|
||||||
cp -R target/doc api-docs/rust
|
cp -R target/doc api-docs/rust
|
||||||
cp -R lib/runtime-c-api/doc/html api-docs/c/runtime-c-api
|
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=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
|
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***"
|
docs-publish:
|
||||||
cd api-docs && git push origin gh-pages
|
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:
|
wapm:
|
||||||
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
cargo build --release --manifest-path wapm-cli/Cargo.toml --features "telemetry update-notifications"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user