summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJulien Cristau <julien.cristau@logilab.fr>2016-02-10 15:15:02 +0100
committerJulien Cristau <julien.cristau@logilab.fr>2016-02-10 15:40:40 +0100
commitf505daf0bdd2b4dab1297b75f47e1f047bf142ec (patch)
treeada8779d6a3368f5e0fab2364adda058543f7a93 /doc
parent2a68684744693e6fa3ed2064ac6a31e30377ac42 (diff)
downloadastroid-git-f505daf0bdd2b4dab1297b75f47e1f047bf142ec.tar.gz
doc: fix build
Stop hardcoding an outdated version number, don't reference nonexistent _static directory, and fix "inference" module reference. Signed-off-by: Julien Cristau <julien.cristau@logilab.fr>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/conf.py6
-rw-r--r--doc/source/inference.rst2
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 980fd31e..f4ceb2a8 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -48,9 +48,9 @@ copyright = u'2013, Logilab S.A.'
# built documents.
#
# The short X.Y version.
-version = '1.3.4'
+from astroid.__pkginfo__ import version
# The full version, including alpha/beta/rc tags.
-release = '1.3.4'
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -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 = ['_static']
+html_static_path = []
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
diff --git a/doc/source/inference.rst b/doc/source/inference.rst
index bf67993f..7fed194f 100644
--- a/doc/source/inference.rst
+++ b/doc/source/inference.rst
@@ -81,7 +81,7 @@ of the :mod:`inference`.
.. todo:: actually annotate the doc to structure its approach
-.. automodule:: inference
+.. automodule:: astroid.inference
:members:
:undoc-members:
.. :special-members: in autodoc/sphinx 1.1