From e6ab6ee820ce9ff4c5f547442c581c182649c94f Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Wed, 3 Apr 2019 18:21:37 -0700 Subject: [PATCH] docs: Run `make links` on readthedocs. Signed-off-by: Tim 'mithro' Ansell --- docs/conf.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 5f5b80e6..de314bca 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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,