@@ -31,29 +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 : 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
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
5555
56- - name : Setup Pages
56+ - name : Setup Pages
5757 uses : actions/configure-pages@v4
5858
5959 - name : Upload artifact
7070 steps :
7171 - name : Deploy to GitHub Pages
7272 id : deployment
73- uses : actions/deploy-pages@v4
73+ uses : actions/deploy-pages@v4
0 commit comments