X-Git-Url: https://jxself.org/git/?p=ibg.git;a=blobdiff_plain;f=conf.py;h=956d4bc187847f645e8a898e5c55e0945f91485e;hp=c153fcb67f56d87737181daf79676e9a14c2926f;hb=abd9bb494e05d4ddebd8363875ba4bd63f993171;hpb=eb27272c6bc482b00105a9edbd7bad3dd4cab141 diff --git a/conf.py b/conf.py index c153fcb..956d4bc 100644 --- a/conf.py +++ b/conf.py @@ -22,12 +22,14 @@ import codecs # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, ".") -from tools.int_fiction import Inform6Lexer +import tools.sphinxpatch + +from tools.inform import InformLexer from tools.transcript import TranscriptLexer # Setup function. def setup(app): - app.add_lexer('inform', Inform6Lexer()) + app.add_lexer('inform', InformLexer()) app.add_lexer('transcript', TranscriptLexer()) # -- General configuration ------------------------------------------------ @@ -90,7 +92,7 @@ language = None # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['config', 'output'] +exclude_patterns = ['config', 'output', 'tables'] # The reST default role (used for this markup: `text`) to use for all # documents. @@ -108,7 +110,7 @@ default_role = "any" #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'default' +pygments_style = 'friendly' # The default Pygments highlight language. highlight_language = 'none' @@ -229,7 +231,7 @@ htmlhelp_basename = 'IBG' # -- 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') @@ -288,7 +290,7 @@ latex_documents = [ #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