Fix duplicate figures in sphinx docs

This commit is contained in:
Wilson Snyder 2021-04-11 20:57:32 -04:00
parent ee875d0166
commit 62b528c2e3
4 changed files with 8 additions and 4 deletions

View File

@ -139,10 +139,13 @@ DISTFILES1 = $(INFOS) .gitignore \
docs/CONTRIBUTING.rst \
docs/CONTRIBUTORS \
docs/Makefile \
docs/_static/* \
docs/_static/*.png \
docs/_static/css/* \
docs/bin/* \
docs/gen/* \
docs/guide/* \
docs/guide/*.py \
docs/guide/*.rst \
docs/guide/figures/* \
docs/install.rst \
docs/internals.rst \
docs/internals.rst \

View File

@ -67,7 +67,8 @@ extensions = []
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = [
'_build', 'Thumbs.db', '.DS_Store', 'internals.rst', 'xml.rst', 'gen/ex_*'
'_build', 'Thumbs.db', '.DS_Store', 'internals.rst', 'xml.rst', 'gen/ex_*',
'CONTRIBUTING.rst'
]
# Warn about refs

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

@ -304,7 +304,7 @@ The :command:`verilator_gantt` program may then be run to transform the
saved profiling file into a nicer visual format and produce some related
statistics.
.. figure:: ../_static/fig_gantt_min.png
.. figure:: figures/fig_gantt_min.png
Example verilator_gantt output, as viewed with GTKWave.