Split documentation to multilingual structure

This commit is contained in:
ErickSkrauch
2019-02-21 03:52:03 +03:00
parent e35de5b5ee
commit b2451ffc9c
15 changed files with 468 additions and 35 deletions

View File

@ -16,6 +16,7 @@
import sys
import os
import sphinx_rtd_theme
import datetime
# 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
@ -45,8 +46,8 @@ source_suffix = '.rst'
master_doc = 'index'
# General information about the project.
project = unicode('Документация Ely.by', "utf-8" )
copyright = '2015, ErickSkrauch'
project = 'Documentation of the Ely.by'
copyright = str(datetime.datetime.now().year) + ', ErickSkrauch'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -59,7 +60,7 @@ release = '1.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
language = 'ru'
language = 'en'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
@ -112,7 +113,7 @@ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
html_title = unicode('Документация Ely.by v' + release, 'utf-8')
html_title = 'Documentation for the Ely.by'
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None