summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2016-07-07 17:01:06 +0100
committerClaudiu Popa <pcmanticore@gmail.com>2016-07-07 17:01:06 +0100
commit78256c48def62c77d2bf9636834f775ea8d83fac (patch)
treee6ff93cf34b32d57b94293632a22c0e4896ff1f0 /doc
parentae6981362b3c696fc831a1dd3c78515cfb53f8af (diff)
downloadastroid-git-78256c48def62c77d2bf9636834f775ea8d83fac.tar.gz
Update the sphinx configuration to be inline with Pylint's.
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py20
1 files changed, 8 insertions, 12 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 3f83e84c..736f8a46 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -21,11 +21,11 @@ sys.path.insert(0, os.path.abspath('../../'))
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
-needs_sphinx = '1.0'
+#needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode']
+extensions = ['sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.viewcode']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
@@ -41,7 +41,7 @@ master_doc = 'index'
# General information about the project.
project = u'Astroid'
-copyright = u'Logilab, PyCQA and contributors'
+copyright = u'2003-2016, Logilab, PyCQA and contributors'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -54,7 +54,7 @@ release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
-language = "en"
+#language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
@@ -64,7 +64,7 @@ language = "en"
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
-exclude_patterns = []
+exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
@@ -96,7 +96,7 @@ todo_include_todos = True
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'nature'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -125,7 +125,7 @@ html_theme = 'default'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
+html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
@@ -169,7 +169,7 @@ html_static_path = []
#html_file_suffix = None
# Output file base name for HTML help builder.
-htmlhelp_basename = 'Astroiddoc'
+htmlhelp_basename = 'Pylintdoc'
# -- Options for LaTeX output --------------------------------------------------
@@ -219,7 +219,3 @@ man_pages = [
('index', 'astroid', u'Astroid Documentation',
[u'Logilab, PyCQA and contributors'], 1)
]
-
-
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}