aboutsummaryrefslogtreecommitdiffstats
path: root/doc/conf.py
diff options
context:
space:
mode:
author1138-4EB <1138-4EB@users.noreply.github.com>2019-02-23 23:03:41 +0100
committertgingold <tgingold@users.noreply.github.com>2019-02-25 07:28:45 +0100
commitfb6fa7ceced6e74ae02ed24b92a488c6e65d3404 (patch)
treee868b6cb14074b81618d148d9f58077fb308924d /doc/conf.py
parent5040ad31d9e7ac3f7d459e388b734a917ce412f2 (diff)
downloadghdl-fb6fa7ceced6e74ae02ed24b92a488c6e65d3404.tar.gz
ghdl-fb6fa7ceced6e74ae02ed24b92a488c6e65d3404.tar.bz2
ghdl-fb6fa7ceced6e74ae02ed24b92a488c6e65d3404.zip
doc: add custom directive 'exec', generate releases shields and tables
with json data retrieved from github api"
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 31b20c948..efa30f23e 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -12,11 +12,7 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import sys
-import os
-import shlex
-import re
-import subprocess
+import sys, os, shlex, re, subprocess
# http://docs.readthedocs.io/en/latest/getting_started.html#in-markdown
from recommonmark.parser import CommonMarkParser
@@ -51,6 +47,8 @@ extensions = [
# SphinxContrib extensions
# 'sphinxcontrib.textstyle',
# 'sphinxcontrib.spelling',
+# Other
+ 'exec',
]
# Add any paths that contain templates here, relative to this directory.