File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 66 os : ubuntu-lts-latest
77 tools :
88 python : " 3.12"
9+ rust : " latest"
910 commands :
1011 # Generate "book/theme/index.hbs" as "skeleton" of the generated pages.
1112 - book/update-theme.py
1819 - cat book/ethicalads-theme.css >> $READTHEDOCS_OUTPUT/html/css/general.css
1920 # We are done!
2021 - cp book/404.html $READTHEDOCS_OUTPUT/html
22+
23+ # Build and copy the API docs
24+ - cargo install cargo-docs-rs
25+ - RUSTC_BOOTSTRAP=1 cargo docs-rs -p askama
26+ - cp -a -r -t $READTHEDOCS_OUTPUT/html/ target/x86_64-unknown-linux-gnu/doc/
Original file line number Diff line number Diff line change 1- book
2- .sass-cache
1+ /book
2+ /.sass-cache
3+ /src /doc
Original file line number Diff line number Diff line change 1111- [ Web-frameworks] ( ./frameworks.md )
1212- [ Performance] ( ./performance.md )
1313- [ Upgrading] ( ./upgrading.md )
14+ - [ API documentation] ( ./doc/askama/index.html )
You can’t perform that action at this time.
0 commit comments