Skip to content

Commit 672d236

Browse files
committed
Add HTML_STATIC_PATH to docs/conf.py.in
1 parent 11d8775 commit 672d236

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

docs/_static/dummy.txt

Whitespace-only changes.

docs/conf.py.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
4040
# -- Options for HTML output -------------------------------------------------
4141
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
4242

43-
# html_static_path = ['_static']
43+
html_static_path = [@HTML_STATIC_PATH@]
4444

4545
# HTML -----------------------------------------------------------------
4646

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ run_target(
280280

281281
sphinx_cfg = configuration_data()
282282
sphinx_cfg.set_quoted('DOXYGEN_PATH_XML', meson.project_build_root() / 'xml')
283+
sphinx_cfg.set_quoted('HTML_STATIC_PATH', meson.project_source_root() / 'docs' / '_static')
283284

284285
configure_file(
285286
input: 'docs' / 'conf.py.in',

0 commit comments

Comments
 (0)