Closed kloczek closed 6 months ago
@kloczek
The docs are intended to be built inside an environment in which versioningit
has already been installed, and thus there would be no need for fiddling with sys.path
. You can see such a build configuration in the [testenv:docs]
environment in tox.ini
(tox
installs the package by default) and in the .readthedocs.yaml
file (which includes instructions to install .
before building the docs).
As to the nitpicky warnings, I do not consider these to be a problem worth fixing.
This issue has nothing to do with git or is this module is installed or not.
-n
option in shphinx-build
execution params.I'm not affected by those warnings because on packaging I'm rendering roff output (AKA man page). however in case of html, pdf, qca and few other hypertext formats exact parts of the text are only highlighted without '
@kloczek
This issue has nothing to do with git or is this module is installed or not.
My first bullet point in my previous comment was in reply to the initial portion of the issue description, regarding building the docs directly from the source tree.
Regarding the rest of your response, I still fail to see a problem here that is worth me investing time into fixing.
First of all currently it is not possible to use straight
sphinx-build
command to build documentation out of source treeThis can be fixed by patch like below:
This patch fixes what is in the comment and that can of fix is suggested in sphinx example copy.py https://www.sphinx-doc.org/en/master/usage/configuration.html#example-of-configuration-file
Than .. on building my packages I'm using
sphinx-build
command with-n
switch which shows warmings about missing references. These are not critical issues.You can peak on fixes that kind of issues in other projects https://github.com/RDFLib/rdflib-sqlalchemy/issues/95 https://github.com/RDFLib/rdflib/pull/2036 https://github.com/click-contrib/sphinx-click/commit/abc31069 https://github.com/frostming/unearth/issues/14 https://github.com/jaraco/cssutils/issues/21 https://github.com/latchset/jwcrypto/pull/289 https://github.com/latchset/jwcrypto/pull/289 https://github.com/pypa/distlib/commit/98b9b89f https://github.com/pywbem/pywbem/pull/2895 https://github.com/sissaschool/elementpath/commit/bf869d9e https://github.com/sissaschool/xmlschema/commit/42ea98f2 https://github.com/sqlalchemy/sqlalchemy/commit/5e88e6e8