Skip to content

Commit

Permalink
docs: Run make links on readthedocs.
Browse files Browse the repository at this point in the history
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
  • Loading branch information
mithro committed Apr 4, 2019
1 parent 6451f6e commit ec7371b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@
# Enable github links when not on readthedocs
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd:
import subprocess
subprocess.check_call(
'make links',
cwd=os.path.abspath(os.path.dirname(__file__)),
shell=True)

html_context = {
"display_github": True, # Integrate GitHub
"github_user": "symbiflow", # Username
Expand Down

0 comments on commit ec7371b

Please sign in to comment.