File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11version : 2
22
33build :
4- os : ubuntu-22 .04
4+ os : ubuntu-24 .04
55 tools :
66 python : " 3"
77
Original file line number Diff line number Diff line change 6565# The theme to use for HTML and HTML Help pages. See the documentation for
6666# a list of builtin themes.
6767
68- # on_rtd is whether we are on readthedocs.org
69- on_rtd = os .environ .get ('READTHEDOCS' , None ) == 'True'
70-
71- if not on_rtd : # only import and set the theme if we're building docs locally
72- import sphinx_rtd_theme
73- html_theme = 'sphinx_rtd_theme'
74- html_theme_path = [sphinx_rtd_theme .get_html_theme_path ()]
68+ html_theme = 'furo'
7569
7670# The name for this set of Sphinx documents.
7771# "<project> v<release> documentation" by default.
7872#
79- html_title = '%s %s documentation' % (project , release )
80-
81- # A shorter title for the navigation bar. Default is the same as html_title.
82- #
83- html_short_title = '%s %s documentation' % (project , version )
73+ html_title = project
8474
8575# Add any paths that contain custom static files (such as style sheets) here,
8676# relative to this directory. They are copied after the builtin static files,
Original file line number Diff line number Diff line change 1+ furo
12sphinx >= 5.2
2- sphinx_rtd_theme
33sphinxcontrib-runcmd
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ commands =
3333
3434[testenv:docs]
3535deps = -rdocs/requirements.txt
36- commands = sphinx-build docs {envtmpdir} -E
36+ changedir = docs
37+ commands = sphinx-build . {envtmpdir} -E -n
3738
3839[testenv:build]
3940deps =
You can’t perform that action at this time.
0 commit comments