File tree Expand file tree Collapse file tree 1 file changed +22
-3
lines changed
Expand file tree Collapse file tree 1 file changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,29 @@ jobs:
3131 ~/.cargo/git
3232 key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
3333
34- - name : Build Documentation
35- run : cargo doc --no-deps --workspace --document-private-items
34+ - name : Build Documentation
35+ run : cargo doc --no-deps --workspace --document-private-items
3636
37- - name : Setup Pages
37+ - name : Create index.html
38+ run : |
39+ cat > target/doc/index.html << 'EOF'
40+ <html>
41+ <head>
42+ <title>Code-Guardian Documentation</title>
43+ </head>
44+ <body>
45+ <h1>Code-Guardian Workspace Documentation</h1>
46+ <ul>
47+ <li><a href="code_guardian_cli/index.html">CLI Crate</a></li>
48+ <li><a href="code_guardian_core/index.html">Core Crate</a></li>
49+ <li><a href="code_guardian_output/index.html">Output Crate</a></li>
50+ <li><a href="code_guardian_storage/index.html">Storage Crate</a></li>
51+ </ul>
52+ </body>
53+ </html>
54+ EOF
55+
56+ - name : Setup Pages
3857 uses : actions/configure-pages@v4
3958
4059 - name : Upload artifact
You can’t perform that action at this time.
0 commit comments