|
@@ -14,9 +14,12 @@
|
|
|
|
|
|
import sys
|
|
|
import os
|
|
|
-
|
|
|
from datetime import datetime
|
|
|
|
|
|
+import django
|
|
|
+
|
|
|
+from wagtail import __version__, VERSION
|
|
|
+
|
|
|
|
|
|
|
|
|
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
|
@@ -34,17 +37,15 @@ sys.path.insert(0, os.path.abspath('..'))
|
|
|
|
|
|
|
|
|
os.environ['DJANGO_SETTINGS_MODULE'] = 'wagtail.tests.settings'
|
|
|
-import django
|
|
|
django.setup()
|
|
|
|
|
|
|
|
|
os.environ['DATABASE_ENGINE'] = 'django.db.backends.sqlite3'
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -64,22 +65,19 @@ templates_path = ['_templates']
|
|
|
source_suffix = '.rst'
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
master_doc = 'index'
|
|
|
|
|
|
|
|
|
-project = u'Wagtail'
|
|
|
-copyright = u'{year:d}, Torchbox'.format(year=datetime.now().year)
|
|
|
+project = 'Wagtail'
|
|
|
+copyright = '{year:d}, Torchbox'.format(year=datetime.now().year)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-from wagtail import __version__, VERSION
|
|
|
-
|
|
|
|
|
|
version = '{}.{}'.format(VERSION[0], VERSION[1])
|
|
|
|
|
@@ -87,13 +85,13 @@ release = __version__
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -101,56 +99,51 @@ exclude_patterns = ['_build']
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
pygments_style = 'default'
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
spelling_lang = 'en_GB'
|
|
|
-spelling_word_list_filename='spelling_wordlist.txt'
|
|
|
+spelling_word_list_filename = 'spelling_wordlist.txt'
|
|
|
|
|
|
|
|
|
intersphinx_mapping = {
|
|
|
'django': ('https://docs.djangoproject.com/en/stable/', 'https://docs.djangoproject.com/en/stable/_objects/')
|
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -169,94 +162,97 @@ html_static_path = ['_static']
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
htmlhelp_basename = 'Wagtaildoc'
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
latex_elements = {
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
latex_documents = [
|
|
|
- ('index', 'Wagtail.tex', u'Wagtail Documentation',
|
|
|
- u'Torchbox', 'manual'),
|
|
|
+ (
|
|
|
+ 'index',
|
|
|
+ 'Wagtail.tex',
|
|
|
+ 'Wagtail Documentation',
|
|
|
+ 'Torchbox',
|
|
|
+ 'manual'
|
|
|
+ ),
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -268,8 +264,7 @@ man_pages = [
|
|
|
]
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -277,22 +272,28 @@ man_pages = [
|
|
|
|
|
|
|
|
|
texinfo_documents = [
|
|
|
- ('index', 'Wagtail', u'Wagtail Documentation',
|
|
|
- u'Torchbox', 'Wagtail', 'One line description of project.',
|
|
|
- 'Miscellaneous'),
|
|
|
+ (
|
|
|
+ 'index',
|
|
|
+ 'Wagtail',
|
|
|
+ 'Wagtail Documentation',
|
|
|
+ 'Torchbox',
|
|
|
+ 'Wagtail',
|
|
|
+ 'One line description of project.',
|
|
|
+ 'Miscellaneous'
|
|
|
+ ),
|
|
|
]
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
|
|
|
|
|
|
def setup(app):
|