docs: Run `make links` on readthedocs.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-04-03 18:21:37 -07:00
parent 853b0119da
commit e6ab6ee820
1 changed files with 7 additions and 0 deletions

View File

@ -113,6 +113,13 @@ if not on_rtd:
"github_version": "master", # Version
"conf_py_path": "/doc/",
}
else:
import subprocess
subprocess.check_call(
'make links',
cwd=os.path.abspath(os.path.dirname(__file__)),
shell=True)
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,