[issue43774] [Doc] Document configure options in the Python documentation

STINNER Victor report at bugs.python.org
Thu Apr 8 19:53:58 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

The following syntax fails on the Docs PR job of the Azure Pipelines:
------------------
.. cmdoption:: --with-cxx-main
.. cmdoption:: --with-cxx-main=COMPILER

   Compile the Python ``main()`` function and link Python executable with C++
   compiler: ``$CXX``, or *COMPILER* if specified.
------------------

Error:
------------------
Warning, treated as error:
/home/vsts/work/1/s/Doc/using/configure.rst:47:Duplicate explicit target name: "cmdoption--with-cxx-main".
Makefile:49: recipe for target 'build' failed
------------------

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43774>
_______________________________________


More information about the Python-bugs-list mailing list