X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=docs-ru%2Fconf.py;h=4d9a61c28a616b9e852a9ab253e509263fbd1791;hb=cf033c3c47f76b0d475f8ca103179573902e1dbe;hp=0aab948d356de3e8dc12762abccb6e005b014af9;hpb=5a63835273a3cd0e6c5ea3ec65747ddafe5aa188;p=m_librarian.git diff --git a/docs-ru/conf.py b/docs-ru/conf.py index 0aab948..4d9a61c 100644 --- a/docs-ru/conf.py +++ b/docs-ru/conf.py @@ -12,6 +12,7 @@ # All configuration values have a default; values that are commented out # serve to show the default. +from datetime import date import sys import os @@ -28,7 +29,10 @@ import os # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [] +extensions = [ + 'sphinx.ext.autodoc', + 'sphinx.ext.viewcode', +] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -44,7 +48,7 @@ master_doc = 'index' # General information about the project. project = u'm_Librarian' -copyright = u'2016, Oleg Broytman' +copyright = u'2015-%d, Oleg Broytman' % date.today().year # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -90,7 +94,7 @@ exclude_patterns = ['_build'] #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'sphinx' +pygments_style = 'borland' # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] @@ -103,7 +107,7 @@ pygments_style = 'sphinx' # 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 @@ -262,7 +266,7 @@ man_pages = [ # dir menu entry, description, category) texinfo_documents = [ ('index', 'm_Librarian', u'm_Librarian Documentation', - u'Oleg Broytman', 'm_Librarian', 'Broytman Librarian.', + u'Oleg Broytman', 'm_Librarian', 'Broytman m_Librarian.', 'Miscellaneous'), ]