# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, ".")
+import tools.sphinxpatch
+
from tools.inform import InformLexer
from tools.transcript import TranscriptLexer
# ones.
extensions = [
'sphinx.ext.todo',
+ 'sphinx.ext.extlinks',
'tools.blockdiag',
]
# output. They are ignored by default.
#show_authors = False
+# Global definitions.
+rst_prolog = open("config/defs.rst").read()
+
+# External links.
+extlinks = {
+ 'dm4': ("http://inform-fiction.org/manual/html/%s", ""),
+}
+
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'friendly'
# -- Options for LaTeX output ---------------------------------------------
# Title page information.
-latex_image = "harry1"
+latex_image = "harry_col"
latex_image_title = "First Steps"
latex_image_info = "(watercolour and crayon on paper, 2002) Harry Firth (2000-)"
latex_image_path = os.path.join('images', latex_image + '.png')
#latex_use_parts = False
# If true, show page references after internal links.
-latex_show_pagerefs = False
+latex_show_pagerefs = True
# If true, show URL addresses after external links.
#latex_show_urls = False