Skip to content

Commit d11789b

Browse files
committed
Update build commands.
1 parent 3aecb92 commit d11789b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.readthedocs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ build:
55
- mkdir -p bin
66
- 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"
77
- mkdir -p $READTHEDOCS_OUTPUT/html
8+
- awk '/<div id="sidebar-resize-handle"/{print "<div id=\"furo-sidebar-ad-placement\" class=\"flat\" data-ea-publisher=\"readthedocs\" data-ea-type=\"readthedocs-sidebar\" data-ea-manual=\"true\"></div>"} 1' doc/theme/index.hbs > index.hbs
9+
- mv index.hbs doc/theme
810
- echo "site-url = \"/$READTHEDOCS_LANGUAGE/$READTHEDOCS_VERSION/\"" >> doc/book.toml
911
- bin/mdbook build doc --dest-dir=$READTHEDOCS_OUTPUT/html

0 commit comments

Comments
 (0)