File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
- name : Rust
1
+ name : CI
2
2
3
3
on :
4
4
push :
@@ -76,14 +76,17 @@ jobs:
76
76
77
77
publish-doc :
78
78
runs-on : ubuntu-latest
79
+ env :
80
+ # https://doc.rust-lang.org/nightly/rustdoc/unstable-features.html#--enable-index-page-generate-a-default-index-page-for-docs
81
+ RUSTDOCFLAGS : ' -Z unstable-options --enable-index-page'
79
82
# https://docs.github.com/ja/actions/reference/context-and-expression-syntax-for-github-actions#contexts
80
83
if : github.event_name == 'push' && github.ref == 'refs/heads/master'
81
84
steps :
82
85
- uses : actions/checkout@v4
83
86
with :
84
87
persist-credentials : false
85
88
- name : Doc
86
- run : cargo doc --no-deps --lib --workspace --exclude=oj_test --exclude=simple_example --exclude=special_judge_example
89
+ run : cargo +nightly doc --no-deps --lib --workspace --exclude=oj_test --exclude=simple_example --exclude=special_judge_example
87
90
- name : Deploy 🚀
88
91
uses : JamesIves/github-pages-deploy-action@v4
89
92
with :
Original file line number Diff line number Diff line change 1
- # Docs example
1
+ # Docs
2
2
3
- - https://ia7ck.github.io/rust-competitive-programming/dijkstra
4
- - https://ia7ck.github.io/rust-competitive-programming/divisors
3
+ https://ia7ck.github.io/rust-competitive-programming/index.html
You can’t perform that action at this time.
0 commit comments