Skip to content

Commit

Permalink
Fix sphinx config
Browse files Browse the repository at this point in the history
Fix the path import path so that peekaboo constants are imported from
the source and sphinx can create the documentation without peekaboo
being installed (in the same virtual environment).

Whiel at it, silence two deprecation warnings.
  • Loading branch information
michaelweiser committed Feb 18, 2019
1 parent d6dbf8f commit e111382
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../..'))

import peekaboo

Expand Down Expand Up @@ -132,10 +132,6 @@
# using the given strftime format.
html_last_updated_fmt = '%b %d, %Y'

# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
html_use_smartypants = True

# Custom sidebar templates, maps document names to template names.
html_sidebars = {}

Expand Down Expand Up @@ -205,7 +201,7 @@
# latex_show_pagerefs = False

# If true, show URL addresses after external links.
latex_show_urls = False
latex_show_urls = 'footnote'

# Documents to append as an appendix to all manuals.
# latex_appendices = []
Expand Down

0 comments on commit e111382

Please sign in to comment.