I propose to integrate multiple commands into ONE sphinx
command and provide existing commands as subcommands.
私は、複数あるコマンドを1つのsphinxコマンドに統合し、既存のコマンドをサブコマンドとして提供することを提案します。
BackgroundWe have several sphinx related commands as:
Makefile
and make.bat
are provided to use the make command as a thin wrapper for sphinx-build
. The make command is very flexible and easy to understand for people familiar with make. However, it was unfortunate for some unfamiliar persons to hinder proper reporting when something goes wrong (#1693, #2521), or not to work in some shell environments (#3145). We are also receiving proposals to make Makefile
/make.bat
highly functional which wants to make such an unkind part more kind, more convenient (e3ae24f, #3741). At the same time, there is also a proposal to discard the make command and replace it with a make command that can be written in Python (#3196).
It is the purpose of this proposal to finish these situations and make it a simple world.
For this reason, I propose the following changes to the following.
sphinx
command.Makefile
/ make.bat
generating on quickstart.sphinx- *
commandssphinx
command (Provide subcommand plugin feature etc)こういった状況を終わらせ、シンプルな世界にするのがこの提案の目的です。
このため、大きく以下の変更を提案します。
sphinx
コマンドの導入による既存コマンドの引き継ぎMakefile
/make.bat
提供をオプション化sphinx-*
コマンドの廃止と削除sphinx
コマンドの高機能化(サブコマンドプラグイン機能を提供等)sphinx
command.
sphinx
command has global options such as --version
, --verbose
sphinx quickstart
invoke sphinx-quickstart
feature.sphinx build html
invoke sphinx-build -M html
featuresphinx autodoc
invoke sphinx-apidoc
and/or sphinx-autogen
featureMakefile
/ make.bat
generating on quickstart.
Makefile
/ make.bat
will not be created by default.Makefile
/make.bat
by option that invoke sphinx
command instead of sphinx-build
Makefile
/make.bat
by option that will be removed on Step3 because it invoke sphinx-build
sphinx- *
commands
sphinx-
commandssphinx-
commandssphinx
command
sphinx intl
sub command.make clean html
Maybe..
sphinx
commandTimKam, stsewd, mgeier, timhoffm, thejohnfreeman and 20 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4