Skip to content

Commit

Permalink
Add docs.wasmtime.dev as a CNAME for the Wasmtime docs (#2317)
Browse files Browse the repository at this point in the history
* Update version of mdbook used in CI

* Configure cname for wasmtime docs
  • Loading branch information
tschneidereit authored Oct 25, 2020
1 parent 6ebbab6 commit fc1cedb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
submodules: true
- run: |
set -e
curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.3.1/mdbook-v0.3.1-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
curl -L https://github.com/rust-lang-nursery/mdBook/releases/download/v0.4.4/mdbook-v0.4.4-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
echo `pwd` >> $GITHUB_PATH
- run: (cd docs && mdbook build)
- run: cargo build -p wasmtime
Expand Down
3 changes: 3 additions & 0 deletions docs/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ authors = ["The Wasmtime Project Developers"]
multilingual = false
src = "."
title = "Wasmtime"

[output.html]
cname = "docs.wasmtime.dev"

0 comments on commit fc1cedb

Please sign in to comment.