File tree Expand file tree Collapse file tree 2 files changed +17
-13
lines changed
Expand file tree Collapse file tree 2 files changed +17
-13
lines changed Original file line number Diff line number Diff line change 3333 curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v$MDBOOK_ENV/mdbook-v$MDBOOK_ENV-x86_64-unknown-linux-gnu.tar.gz" | tar -xz --directory $DEST_DIR
3434 curl -sSL "https://github.com/badboy/mdBook-mermaid/releases/download/v$MERMAID_ENV/mdbook-mermaid-v$MERMAID_ENV-x86_64-unknown-linux-gnu.tar.gz" | tar -xz --directory $DEST_DIR
3535 - name : Build docs
36- run : cd docs && sh make_book.sh
36+ run : |
37+ cd docs
38+ echo Generating the cargo docs
39+ cargo doc --no-deps
40+ echo Generating mdbook - DEBUG mode for logging
41+ mdbook-mermaid install .
42+ MDBOOK_LOG=debug mdbook build -d output
43+ echo Generate the API docs
44+ mkdir -p output/api
45+ cargo doc --no-deps
46+ cp -r ../target/doc/* output/api
47+ - name : Debug output directory
48+ run : |
49+ echo "Checking docs/output:"
50+ ls -lah output || true
51+ echo "Listing output root files:"
52+ find output -maxdepth 2 -type f -name "index.html" -print || true
3753 - name : Upload artifact
3854 uses : actions/upload-pages-artifact@v3
3955 with :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments