mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 15:14:44 +00:00
sphinx: honor changes in static html assets
Also fix custom.css.
This commit is contained in:
parent
e0d623d4b7
commit
aa1bf9f277
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,9 @@ SET(SPHINX_MANPAGE_DIR "${SPHINX_ROOT_DIR}/man")
|
|||
# sphinx-docs uses fish_indent for highlighting.
|
||||
# Prepend the output dir of fish_indent to PATH.
|
||||
ADD_CUSTOM_TARGET(sphinx-docs
|
||||
env PATH="$<TARGET_FILE_DIR:fish_indent>:$$PATH"
|
||||
${CMAKE_COMMAND} -E copy_if_different ${SPHINX_SRC_DIR}/_static/pygments.css ${SPHINX_HTML_DIR}/_static/
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different ${SPHINX_SRC_DIR}/_static/custom.css ${SPHINX_HTML_DIR}/_static/
|
||||
COMMAND env PATH="$<TARGET_FILE_DIR:fish_indent>:$$PATH"
|
||||
${SPHINX_EXECUTABLE}
|
||||
-q -b html
|
||||
-c "${SPHINX_SRC_DIR}"
|
||||
|
|
|
@ -1 +1 @@
|
|||
.sphinxsidebar > ul.current > li.current { font-weight: bold }
|
||||
.sphinxsidebar ul.current > li.current { font-weight: bold }
|
||||
|
|
Loading…
Reference in a new issue