Skip to content

Commit

Permalink
Fix 404 page.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed May 17, 2024
1 parent 895bf72 commit 3aecb92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ build:
- mkdir -p bin
- curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz" | tar -xvz --directory "bin"
- mkdir -p $READTHEDOCS_OUTPUT/html
- echo "site-url = \"/$READTHEDOCS_LANGUAGE/$READTHEDOCS_VERSION/\"" >> doc/book.toml
- bin/mdbook build doc --dest-dir=$READTHEDOCS_OUTPUT/html
7 changes: 4 additions & 3 deletions doc/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ multilingual = false
src = "src"
title = "Glotzerlab-software documentation"

[output.html]
git-repository-url = "https://github.com/glotzerlab/software"

[build]
create-missing = false

# Uncomment to enable link checking in docs. Normally these checks are only performed in CI.
# You also need to install https://github.com/Michael-F-Bryan/mdbook-linkcheck.
# [output.linkcheck]
# follow-web-links = true

# [output.html] must be the last table so that .readthedocs.yaml can easily add a key to it
[output.html]
git-repository-url = "https://github.com/glotzerlab/software"

0 comments on commit 3aecb92

Please sign in to comment.