Skip to content

Deploy GitHub pages from GitHub actions with Sphinx#489

Open
fdxmw wants to merge 1 commit into
UCSBarchlab:developmentfrom
fdxmw:pages
Open

Deploy GitHub pages from GitHub actions with Sphinx#489
fdxmw wants to merge 1 commit into
UCSBarchlab:developmentfrom
fdxmw:pages

Conversation

@fdxmw

@fdxmw fdxmw commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

This PR significantly changes PyRTL's GitHub Pages workflow. This will also change the appearance of http://ucsbarchlab.github.io/PyRTL, a preview is available at https://fdxmw.github.io/PyRTL/

This replaces the old gh-pages branch workflow, and generates the HTML with Sphinx so we don't have to manually edit HTML. GitHub Pages' index.html is now generated from www/index.rst, which is much easier to edit. Sphinx automatically runs from GitHub actions when changes are pushed to www/.

Also:

  • Added simulation scripts to all GitHub pages code samples. Add tests for these scripts.

  • Add screenshots for all render_trace outputs. Remove GCD block graph and improve formatting.

  • Moved the larger code samples to external .py files in www/examples so ruff can auto-format them and check them for lint.

  • Added many type hints.

  • Added many PyRTL documentation and example links.

  • Fixed many typos.

  • Upgraded some GitHub actions workflows.

  • Remove Sphinx version information and copyright from documentation footers.

  • Update READMEs.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.2%. Comparing base (0139256) to head (02cd219).

Additional details and impacted files
@@             Coverage Diff             @@
##           development    #489   +/-   ##
===========================================
  Coverage         92.2%   92.2%           
===========================================
  Files               30      30           
  Lines             7450    7450           
===========================================
  Hits              6865    6865           
  Misses             585     585           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fdxmw fdxmw force-pushed the pages branch 5 times, most recently from 84d4140 to f57a1ed Compare June 30, 2026 20:28
… actions

with Sphinx.

This replaces the old `gh-pages` branch workflow, and generates the HTML with
Sphinx so we don't have to manually edit HTML. GitHub Pages' `index.html` is
now generated from `www/index.rst`, which is much easier to edit. Sphinx
automatically runs from GitHub actions when changes are pushed to `www/`.

Also:

* Added simulation scripts to all GitHub pages code samples. Add tests for
  these scripts.

* Add screenshots for all `render_trace` outputs. Update GCD block graph and
  improve formatting.

* Moved the larger code samples to external `.py` files in `www/examples` so
  `ruff` can auto-format them and check them for lint.

* Added many type hints.

* Added many PyRTL documentation and example links.

* Fixed many typos.

* Upgraded some GitHub actions workflows.

* Remove Sphinx version information and copyright from documentation footers.

* Update READMEs.
@fdxmw

fdxmw commented Jun 30, 2026

Copy link
Copy Markdown
Contributor Author

I have follow-up changes to this PR that add Jupyter Lite "try this example in your browser" buttons to the webpage. The preview at https://fdxmw.github.io/PyRTL/ currently includes these follow-up changes. The source for these changes are in fdxmw:lite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant