aboutsummaryrefslogtreecommitdiffstats
path: root/doc/conf.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@tu-dresden.de>2017-03-04 21:13:55 +0100
committertgingold <tgingold@users.noreply.github.com>2017-12-10 12:02:05 +0100
commitcab44a1f8580880e59e9ccfd7d98e71fa111b16a (patch)
treee4df0a89ff59b0f0d310d5f7d68ab02e587098dc /doc/conf.py
parent3f5cd97cc29039f8f153541808ca85938c00eef4 (diff)
downloadghdl-cab44a1f8580880e59e9ccfd7d98e71fa111b16a.tar.gz
ghdl-cab44a1f8580880e59e9ccfd7d98e71fa111b16a.tar.bz2
ghdl-cab44a1f8580880e59e9ccfd7d98e71fa111b16a.zip
Fixed more syntax problems.
Diffstat (limited to 'doc/conf.py')
-rw-r--r--doc/conf.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/conf.py b/doc/conf.py
index d7763c490..49031a031 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -148,10 +148,12 @@ todo_include_todos = True
todo_link_only = True
# reST settings
+prologPath = "prolog.inc"
try:
- with open("prolog.inc", "r") as prologFile:
+ with open(prologPath, "r") as prologFile:
rst_prolog = prologFile.read()
except:
+ print("[ERROR:] File '{0!s}' nor found.".format(prologPath))
rst_prolog = ""
# -- Options for HTML output ----------------------------------------------
@@ -346,7 +348,7 @@ texinfo_documents = [
# Sphinx.Ext.InterSphinx
# ==============================================================================
intersphinx_mapping = {
- 'python': ('https://docs.python.org/3.5/', None),
+ 'python': ('https://docs.python.org/3.6/', None),
'poc': ('http://poc-library.readthedocs.io/en/release', None),
# 'ghdl': ('http://ghdl.readthedocs.io/en/latest', None)
}