gpt4 book ai didi

python - Sphinx 快速入门有限的选项

转载 作者:行者123 更新时间:2023-12-05 03:00:01 25 4
gpt4 key购买 nike

我正在学习 sphinx 文档的几个教程。 IE。这个在这里:

https://medium.com/@richdayandnight/a-simple-tutorial-on-how-to-document-your-python-project-using-sphinx-and-rinohtype-177c22a15b5b

但是每当我使用 sphinx-quickstart 命令时,我都无法获得本教程和其他教程中显示的所有选项。我只得到这些:

Selected root path: .

You have two options for placing the build directory for Sphinx output.
Either, you use a directory "_build" within the root path, or you separate
"source" and "build" directories within the root path.
> Separate source and build directories (y/n) [n]: y

The project name will occur in several places in the built documentation.
> Project name: Project Example
> Author name(s): Hello World
> Project release []: 0.1

If the documents are to be written in a language other than English,
you can select a language here by its language code. Sphinx will then
translate text that it generates into that language.

For a list of supported codes, see
https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-language.
> Project language [en]:

Creating file .\source\conf.py.
Creating file .\source\index.rst.
Creating file .\Makefile.
Creating file .\make.bat.

为什么缺少其他选项?

最佳答案

在链接教程中,使用了 Sphinx 1.7.5。在 Sphinx 2.0.0 中,简化了 sphinx-quickstart 过程。现在问的问题变少了。

引用:https://github.com/sphinx-doc/sphinx/issues/4148 .

关于python - Sphinx 快速入门有限的选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57354141/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com