diff options
author | Patrick Lehmann <Patrick.Lehmann@tu-dresden.de> | 2017-03-04 21:13:55 +0100 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2017-12-10 12:02:05 +0100 |
commit | cab44a1f8580880e59e9ccfd7d98e71fa111b16a (patch) | |
tree | e4df0a89ff59b0f0d310d5f7d68ab02e587098dc /doc/conf.py | |
parent | 3f5cd97cc29039f8f153541808ca85938c00eef4 (diff) | |
download | ghdl-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.py | 6 |
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) } |