From de6abdc370b2eefb3c6b8e8f2b4a456cf4248176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Team=20BrailleRap-SP=20=20Philippe=20Pacotte=20=20St=C3=A9?= =?UTF-8?q?phane=20Godin?= <37216855+BrailleRapSP@users.noreply.github.com> Date: Thu, 26 Apr 2018 22:56:38 +0200 Subject: [PATCH 1/3] update conf --- docs/conf.py | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index e85a5b0..f9673b6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -35,8 +35,8 @@ source_parsers = { } master_doc = 'index' -project = u'Read the Docs' -copyright = '2010-{}, Read the Docs, Inc & contributors'.format( +project = u'BrailleRap-SP' +copyright = '2018-{}, BrailleRap-SP Team'.format( timezone.now().year ) version = '1.0' @@ -44,30 +44,32 @@ release = '1.0' exclude_patterns = ['_build'] default_role = 'obj' pygments_style = 'sphinx' -intersphinx_mapping = { - 'python': ('http://python.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' + +#intersphinx_mapping = { +# 'python': ('http://python.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 = 'BrailleRapSPdoc' latex_documents = [ ('index', 'ReadTheDocs.tex', u'Read the Docs Documentation', u'Eric Holscher, Charlie Leifer, Bobby Grace', 'manual'), ] -man_pages = [ - ('index', 'read-the-docs', u'Read the Docs Documentation', - [u'Eric Holscher, Charlie Leifer, Bobby Grace'], 1) -] + +#man_pages = [ +# ('index', 'read-the-docs', u'Read the Docs Documentation', +# [u'Eric Holscher, Charlie Leifer, Bobby Grace'], 1) +#] exclude_patterns = [ # 'api' # needed for ``make gettext`` to not die. ] -language = 'en' +language = 'fr' -locale_dirs = [ - 'locale/', -] +#locale_dirs = [ +# 'locale/', +#] gettext_compact = False html_theme = 'sphinx_rtd_theme' From 5ab797c1abfceb56cdb4b0b88d4855731a7312e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Team=20BrailleRap-SP=20=20Philippe=20Pacotte=20=20St=C3=A9?= =?UTF-8?q?phane=20Godin?= <37216855+BrailleRapSP@users.noreply.github.com> Date: Thu, 26 Apr 2018 22:58:13 +0200 Subject: [PATCH 2/3] typo --- docs/conf.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index f9673b6..5de7077 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,11 +12,6 @@ sys.path.insert(0, os.path.abspath('..')) sys.path.append(os.path.dirname(__file__)) 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')) @@ -24,7 +19,6 @@ extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'sphinxcontrib.httpdomain', - 'djangodocs', 'doc_extensions', ] templates_path = ['_templates'] From 12bbffc5f94a59cd161a5e3955fcc90b5a86e18c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Team=20BrailleRap-SP=20=20Philippe=20Pacotte=20=20St=C3=A9?= =?UTF-8?q?phane=20Godin?= <37216855+BrailleRapSP@users.noreply.github.com> Date: Thu, 26 Apr 2018 22:59:40 +0200 Subject: [PATCH 3/3] typo --- docs/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5de7077..f7e86b3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -30,9 +30,8 @@ source_parsers = { master_doc = 'index' project = u'BrailleRap-SP' -copyright = '2018-{}, BrailleRap-SP Team'.format( - timezone.now().year -) +copyright = '2018-{}, BrailleRap-SP Team' + version = '1.0' release = '1.0' exclude_patterns = ['_build']