Makefile: let make html depend on generated metrics.rst

This commit is contained in:
Erik Sundell
2020-10-01 10:07:14 +02:00
parent b194135a0f
commit e15b6ad52e
4 changed files with 7 additions and 4 deletions

View File

@@ -217,7 +217,7 @@ intersphinx_mapping = {'https://docs.python.org/3/': None}
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
# readthedocs.org uses their theme by default, so no need to specify it
# build rest-api, since RTD doesn't run make
# build both metrics and rest-api, since RTD doesn't run make
from subprocess import check_call as sh
sh(['make', 'metrics', 'rest-api'], cwd=docs)