|
13 | 13 | - "dev*" # Explicity include branches with "dev" in the name (e.g., dev, dev-feature, etc.) |
14 | 14 | env: |
15 | 15 | # `BASE_URL` determines the website is served from, including CSS & JS assets |
16 | | - # You may need to change this to `BASE_URL: ''` |
17 | | - BASE_URL: /${{ github.event.repository.name }}/book/jupyter/ |
| 16 | + # This is dynamically set based on the branch to ensure correct pathing on GitHub Pages |
| 17 | + BASE_URL: /${{ github.event.repository.name }}/${{ github.ref == 'refs/heads/main' && 'main' || 'dev' }}/book/jupyter/ |
18 | 18 |
|
19 | 19 | jobs: |
20 | 20 | lint: |
@@ -309,14 +309,14 @@ jobs: |
309 | 309 | <h1>Rattlesnake Vibration Controller - CI/CD Hub</h1> |
310 | 310 | <p>Access the latest documentation and quality reports for both the stable and development versions.</p> |
311 | 311 | |
312 | | - <h2>🚀 Released (Main Branch)</h2> |
| 312 | + <h2>🚀 Released ([Main Branch](https://github.com/sandialabs/rattlesnake-vibration-controller/tree/main?tab=readme-ov-file)</h2> |
313 | 313 | <ul> |
314 | | - <li><a href="main/book/jupyter/index.html">User's Manual</a> <span class="badge badge-main">stable</span></li> |
315 | | - <li><a href="main/reports/pylint/index.html">Pylint Report</a></li> |
316 | | - <li><a href="main/reports/coverage/index.html">Pytest Coverage</a></li> |
| 314 | + <li><a href="main/book/jupyter/index.html">User's Manual (work in progress)</a> <span class="badge badge-main">stable</span></li> |
| 315 | + <li><a href="main/reports/pylint/index.html">Pylint Report (work in progress)</a></li> |
| 316 | + <li><a href="main/reports/coverage/index.html">Pytest Coverage (work in progress)</a></li> |
317 | 317 | </ul> |
318 | 318 |
|
319 | | - <h2>🛠️ Development (Dev Branch)</h2> |
| 319 | + <h2>🛠️ Development ([Dev Branch](https://github.com/sandialabs/rattlesnake-vibration-controller/tree/dev?tab=readme-ov-file))</h2> |
320 | 320 | <ul> |
321 | 321 | <li><a href="dev/book/jupyter/index.html">User's Manual</a> <span class="badge badge-dev">latest</span></li> |
322 | 322 | <li><a href="dev/reports/pylint/index.html">Pylint Report</a></li> |
|
0 commit comments