Skip to content

Commit

Permalink
Minor changes to Sphinx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed Jun 23, 2016
1 parent 8c26049 commit c86ce52
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,25 @@
# Last Change: June 23, 2016
# URL: https://verboselogs.readthedocs.io

"""Sphinx documentation configuration for the `verboselogs` project."""
"""Sphinx documentation configuration for the `verboselogs` package."""

import os
import sys

# Add the verboselogs source distribution's root directory to the module path.
sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath(os.pardir))

# -- General configuration -----------------------------------------------------

# Sphinx extension module names.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
]

# Sort members by the source order instead of alphabetically.
autodoc_member_order = 'bysource'

# Paths that contain templates, relative to this directory.
templates_path = ['templates']
Expand Down Expand Up @@ -54,9 +61,6 @@
# If true, '()' will be appended to :func: etc. cross-reference text.
add_function_parentheses = True

# http://sphinx-doc.org/ext/autodoc.html#confval-autodoc_member_order
autodoc_member_order = 'bysource'

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

Expand Down

0 comments on commit c86ce52

Please sign in to comment.