mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 16:45:32 +00:00
docs: Build RTD artifacts directly
Use rtds-action instead of yosys-cmd-ref repo. Add rtds_action to docs configuration. Add `.readthedocs.yaml`. Update `DOCS_USAGE_` make target to be able to use pre-generated executables without forcing a remake.
This commit is contained in:
parent
ceba889641
commit
3b63ab07ae
5 changed files with 78 additions and 29 deletions
|
@ -41,7 +41,13 @@ html_static_path = ['_static', "_images"]
|
|||
pygments_style = 'colorful'
|
||||
highlight_language = 'none'
|
||||
|
||||
extensions = ['sphinx.ext.autosectionlabel', 'sphinxcontrib.bibtex']
|
||||
extensions = ['sphinx.ext.autosectionlabel', 'sphinxcontrib.bibtex', 'rtds_action']
|
||||
|
||||
# rtds_action
|
||||
rtds_action_github_repo = "YosysHQ/yosys"
|
||||
rtds_action_path = "."
|
||||
rtds_action_artifact_prefix = "cmd-ref-"
|
||||
rtds_action_github_token = os.environ["GITHUB_TOKEN"]
|
||||
|
||||
# Ensure that autosectionlabel will produce unique names
|
||||
autosectionlabel_prefix_document = True
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
furo
|
||||
sphinxcontrib-bibtex
|
||||
rtds-action
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue