We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subject:
As discussed in #4615, prior to 89f9c7c, sphinx.main took a list as its argument:
sphinx.main
def main(argv=sys.argv[1:])
Afterwards, it took a variable number of arguments and passed them on to sphinx.cmd.build.main
sphinx.cmd.build.main
def main(*args, **kwargs)
With b5bae23, though
args = args[1:]
throws everything away, because args is not a list, it's a tuple that holds a list.
args
>>> import sphinx >>> sphinx.main(['sphinx_build', '-b', 'html', '-c', 'documentation/', '.', 'documentation/_build/html'])
usage: [OPTIONS] SOURCEDIR OUTPUTDIR [FILENAMES...] : error: too few arguments
If sphinx.main is being deprecated anyway, it should retain the sematics it always had:
usnistgov/fipy@71c48d9037
invoke
python setup.py build_docs --html
The text was updated successfully, but these errors were encountered:
Fix sphinx-doc#5125: sphinx-build: Interface of sphinx:main() has…
sphinx:main()
b6c4ebc
… changed
Merge pull request #5131 from tk0miya/5125_wrong_sphinx.main
b2ce178
Fix #5125: sphinx-build: Interface of ``sphinx:main()`` has changed
Fixed by #5131. Thank you for reporting
Sorry, something went wrong.
Update sphinx syntax for v1.7.0
404886e
Sphinx broke its api. See, e.g., sphinx-doc/sphinx#5125.
No branches or pull requests
Subject:
Problem
As discussed in #4615, prior to 89f9c7c,
sphinx.main
took a list as its argument:Afterwards, it took a variable number of arguments and passed them on to
sphinx.cmd.build.main
With b5bae23, though
throws everything away, because
args
is not a list, it's a tuple that holds a list.Procedure to reproduce the problem
Error logs / results
Expected results
If
sphinx.main
is being deprecated anyway, it should retain the sematics it always had:Reproducible project / your project
usnistgov/fipy@71c48d9037
invoke
Environment info
The text was updated successfully, but these errors were encountered: