This commit is contained in:
GreyPakman 2018-04-26 23:01:23 +02:00
commit 13182590ea

View File

@ -12,11 +12,6 @@ sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.dirname(__file__)) sys.path.append(os.path.dirname(__file__))
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readthedocs.settings.dev") os.environ.setdefault("DJANGO_SETTINGS_MODULE", "readthedocs.settings.dev")
from django.conf import settings
from django.utils import timezone
import django
django.setup()
sys.path.append(os.path.abspath('_ext')) sys.path.append(os.path.abspath('_ext'))
@ -24,7 +19,6 @@ extensions = [
'sphinx.ext.autodoc', 'sphinx.ext.autodoc',
'sphinx.ext.intersphinx', 'sphinx.ext.intersphinx',
'sphinxcontrib.httpdomain', 'sphinxcontrib.httpdomain',
'djangodocs',
'doc_extensions', 'doc_extensions',
] ]
templates_path = ['_templates'] templates_path = ['_templates']
@ -35,39 +29,40 @@ source_parsers = {
} }
master_doc = 'index' master_doc = 'index'
project = u'Read the Docs' project = u'BrailleRap-SP'
copyright = '2010-{}, Read the Docs, Inc & contributors'.format( copyright = '2018-{}, BrailleRap-SP Team'
timezone.now().year
)
version = '1.0' version = '1.0'
release = '1.0' release = '1.0'
exclude_patterns = ['_build'] exclude_patterns = ['_build']
default_role = 'obj' default_role = 'obj'
pygments_style = 'sphinx' pygments_style = 'sphinx'
intersphinx_mapping = {
'python': ('http://python.readthedocs.io/en/latest/', None), #intersphinx_mapping = {
'django': ('http://django.readthedocs.io/en/1.8.x/', None), # 'python': ('http://python.readthedocs.io/en/latest/', None),
'sphinx': ('http://sphinx.readthedocs.io/en/latest/', None), # 'django': ('http://django.readthedocs.io/en/1.8.x/', None),
} # 'sphinx': ('http://sphinx.readthedocs.io/en/latest/', None),
htmlhelp_basename = 'ReadTheDocsdoc' #}
htmlhelp_basename = 'BrailleRapSPdoc'
latex_documents = [ latex_documents = [
('index', 'ReadTheDocs.tex', u'Read the Docs Documentation', ('index', 'ReadTheDocs.tex', u'Read the Docs Documentation',
u'Eric Holscher, Charlie Leifer, Bobby Grace', 'manual'), u'Eric Holscher, Charlie Leifer, Bobby Grace', 'manual'),
] ]
man_pages = [
('index', 'read-the-docs', u'Read the Docs Documentation', #man_pages = [
[u'Eric Holscher, Charlie Leifer, Bobby Grace'], 1) # ('index', 'read-the-docs', u'Read the Docs Documentation',
] # [u'Eric Holscher, Charlie Leifer, Bobby Grace'], 1)
#]
exclude_patterns = [ exclude_patterns = [
# 'api' # needed for ``make gettext`` to not die. # 'api' # needed for ``make gettext`` to not die.
] ]
language = 'en' language = 'fr'
locale_dirs = [ #locale_dirs = [
'locale/', # 'locale/',
] #]
gettext_compact = False gettext_compact = False
html_theme = 'sphinx_rtd_theme' html_theme = 'sphinx_rtd_theme'