@@ -1313,31 +1313,40 @@ def add_features(sender, **kwargs):
1313
1313
API_LARGE_DATA = 'api_large_data'
1314
1314
DONT_SHALLOW_CLONE = 'dont_shallow_clone'
1315
1315
USE_TESTING_BUILD_IMAGE = 'use_testing_build_image'
1316
+ SHARE_SPHINX_DOCTREE = 'share_sphinx_doctree'
1316
1317
1317
1318
FEATURES = (
1318
1319
(USE_SPHINX_LATEST , _ ('Use latest version of Sphinx' )),
1319
1320
(USE_SETUPTOOLS_LATEST , _ ('Use latest version of setuptools' )),
1320
1321
(ALLOW_DEPRECATED_WEBHOOKS , _ ('Allow deprecated webhook views' )),
1321
1322
(PIP_ALWAYS_UPGRADE , _ ('Always run pip install --upgrade' )),
1322
- (SKIP_SUBMODULES , _ ('Skip git submodule checkout' )), (
1323
+ (SKIP_SUBMODULES , _ ('Skip git submodule checkout' )),
1324
+ (
1323
1325
DONT_OVERWRITE_SPHINX_CONTEXT ,
1324
1326
_ (
1325
1327
'Do not overwrite context vars in conf.py with Read the Docs context' ,
1326
1328
),
1327
- ), (
1329
+ ),
1330
+ (
1328
1331
MKDOCS_THEME_RTD ,
1329
- _ ('Use Read the Docs theme for MkDocs as default theme' )
1330
- ), (
1332
+ _ ('Use Read the Docs theme for MkDocs as default theme' ),
1333
+ ),
1334
+ (
1331
1335
DONT_SHALLOW_CLONE ,
1332
- _ (
1333
- 'Do not shallow clone when cloning git repos' ,
1334
- ),
1335
- ), (
1336
+ _ ('Do not shallow clone when cloning git repos' ),
1337
+ ),
1338
+ (
1336
1339
USE_TESTING_BUILD_IMAGE ,
1337
- _ (
1338
- 'Use Docker image labelled as `testing` to build the docs' ,
1339
- ),
1340
- ), (API_LARGE_DATA , _ ('Try alternative method of posting large data' ))
1340
+ _ ('Use Docker image labelled as `testing` to build the docs' ),
1341
+ ),
1342
+ (
1343
+ API_LARGE_DATA ,
1344
+ _ ('Try alternative method of posting large data' ),
1345
+ ),
1346
+ (
1347
+ SHARE_SPHINX_DOCTREE ,
1348
+ _ ('Use shared directory for doctrees' ),
1349
+ ),
1341
1350
)
1342
1351
1343
1352
projects = models .ManyToManyField (
0 commit comments