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 6
6
os : ubuntu-lts-latest
7
7
tools :
8
8
python : " 3.12"
9
+ rust : " latest"
9
10
commands :
10
11
# Generate "book/theme/index.hbs" as "skeleton" of the generated pages.
11
12
- book/update-theme.py
18
19
- cat book/ethicalads-theme.css >> $READTHEDOCS_OUTPUT/html/css/general.css
19
20
# We are done!
20
21
- 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 11
11
- [ Web-frameworks] ( ./frameworks.md )
12
12
- [ Performance] ( ./performance.md )
13
13
- [ Upgrading] ( ./upgrading.md )
14
+ - [ API documentation] ( ./doc/askama/index.html )
You can’t perform that action at this time.
0 commit comments