File tree 2 files changed +3
-18
lines changed
2 files changed +3
-18
lines changed Original file line number Diff line number Diff line change @@ -282,15 +282,10 @@ def build(self):
282
282
return cmd_ret .successful
283
283
284
284
def get_sphinx_cmd (self ):
285
- if self .project .has_feature (Feature .FORCE_SPHINX_FROM_VENV ):
286
- return (
287
- self .python_env .venv_bin (filename = 'python' ),
288
- '-m' ,
289
- 'sphinx' ,
290
- )
291
285
return (
292
- 'python' ,
293
- self .python_env .venv_bin (filename = 'sphinx-build' ),
286
+ self .python_env .venv_bin (filename = 'python' ),
287
+ '-m' ,
288
+ 'sphinx' ,
294
289
)
295
290
296
291
def sphinx_parallel_arg (self ):
Original file line number Diff line number Diff line change @@ -1596,10 +1596,8 @@ def add_features(sender, **kwargs):
1596
1596
INDEX_FROM_HTML_FILES = 'index_from_html_files'
1597
1597
SEARCH_SUBPROJECTS_ON_DEFAULT_VERSION = 'search_subprojects_on_default_version'
1598
1598
1599
- FORCE_SPHINX_FROM_VENV = 'force_sphinx_from_venv'
1600
1599
LIST_PACKAGES_INSTALLED_ENV = 'list_packages_installed_env'
1601
1600
VCS_REMOTE_LISTING = 'vcs_remote_listing'
1602
- STORE_PAGEVIEWS = 'store_pageviews'
1603
1601
SPHINX_PARALLEL = 'sphinx_parallel'
1604
1602
USE_SPHINX_BUILDERS = 'use_sphinx_builders'
1605
1603
DEDUPLICATE_BUILDS = 'deduplicate_builds'
@@ -1726,10 +1724,6 @@ def add_features(sender, **kwargs):
1726
1724
),
1727
1725
),
1728
1726
1729
- (
1730
- FORCE_SPHINX_FROM_VENV ,
1731
- _ ('Force to use Sphinx from the current virtual environment' ),
1732
- ),
1733
1727
(
1734
1728
LIST_PACKAGES_INSTALLED_ENV ,
1735
1729
_ (
@@ -1741,10 +1735,6 @@ def add_features(sender, **kwargs):
1741
1735
VCS_REMOTE_LISTING ,
1742
1736
_ ('Use remote listing in VCS (e.g. git ls-remote) if supported for sync versions' ),
1743
1737
),
1744
- (
1745
- STORE_PAGEVIEWS ,
1746
- _ ('Store pageviews for this project' ),
1747
- ),
1748
1738
(
1749
1739
SPHINX_PARALLEL ,
1750
1740
_ ('Use "-j auto" when calling sphinx-build' ),
You can’t perform that action at this time.
0 commit comments