Chipyard docs on `main` not building
Background Work
- [X] Yes, I searched the mailing list
- [X] Yes, I searched prior issues
- [X] Yes, I searched the documentation
Chipyard Version and Hash
N/A
OS Setup
N/A
Other Setup
Ex: Prior steps taken / Documentation Followed / etc...
Current Behavior
Readthedocs for the main branch isn't building
Expected Behavior
It should build and show up on chipyard.readthedocs.io
Other Information
I assume this issue with with sphinx_rtd_theme being updated in this commit: https://github.com/ucb-bar/chipyard/commit/990cea9c8ec572dbc4e625d18f9d43250a139ff2 (version bumped from 0.5.2 -> 2.0.0)
TL;DR: Confirming the issue is still real - seems so?
Hmm.. The latest /docs/ commit seems to be 5 days ago: https://github.com/ucb-bar/chipyard/commit/456eff1e7fadfaec9a3c7047c90b15ffa5ff4d34
Which should've changed:
make CONFIG=SpikeUltraFastConfig run-binary BINARY=hello.riscv EXTRA_SPIKE_FLAGS="+spike-ipc=10000 +spike-fast-clint +spike-debug" LOADMEM=1
to
make CONFIG=SpikeUltraFastConfig run-binary BINARY=hello.riscv EXTRA_SIM_FLAGS="+spike-ipc=10000 +spike-fast-clint +spike-debug" LOADMEM=1
Which is not the case looking at: https://chipyard.readthedocs.io/en/stable/Software/Spike.html
So confirms this is still an issue. Can also take the chance to update Copyright 2019 to 2025 I guess as an easter egg. xD
TL;DR: Abort mission, I thought this would be an easy one, but never mind.. Below are notes for the future.
Regarding possible steps (I'm not familiar with ReadTheDocs, so exploring):
- Looks like to access to
https://app.readthedocs.org/accounts/login/itself requires logging in & giving over my Github info, not sure if that's useful so will leave it for last - Downloading
https://conda.anaconda.org/conda-forge/noarch/sphinx-autobuild-2021.3.14-pyhd8ed1ab_0.tar.bz2fromconda-lock.ymlleads to the Python used for autobuilding (but no obvious reason for failure):
"""Rebuild Sphinx documentation on changes, with live-reload in the browser."""
__version__ = "2021.03.14"
__url__ = "https://github.com/GaretJax/sphinx-autobuild"
-
No issue downloading the theme
https://conda.anaconda.org/conda-forge/noarch/sphinx_rtd_theme-2.0.0-pyha770c72_0.condaor sphinxhttps://conda.anaconda.org/conda-forge/noarch/sphinx-7.2.6-pyhd8ed1ab_0.conda -
sphinx_rtd_themelists asphinx: '>=5,<8'dependency in the yml, and the theme docs (https://sphinx-rtd-theme.readthedocs.io/en/stable/development.html#supported-dependencies) list "Deprecated since version 2.0: Sphinx < 5 support removed" ... and if the sphinx pulled is7.2.6that should be fine. -
Other dependencies on site:
Deprecated since version 2.0: Python < 3.6 support removed- should be fine, we have stricter dependencies (python: '>=3.8' etc) -
Deprecated since version 2.0: docutils < 0.14 support removed- We have adocutils: '>=0.18.1,<0.21'dependency so should be fine.
Probably the first thing I would do next time is revert the commit mentioned and see if that actually fixes the issue..
- but how would I test it, if I'm not actually rebuilding the website? might need to see if there's a local way to test the auto-build? hm.
- I also don't know how the autobuild actually happens - is a CI script meant to run the python? I see there's Generate Release Notes which has to be run manually and was last done 6 months ago (https://github.com/ucb-bar/chipyard/actions/runs/11111210646) ? So maybe auto-build isn't the expected behavior anymore.
@jerryz123 said this is no longer an issue - is that correct? (making sure we were talking about the same thing)