Skip to content
New issue

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

0.5.11: shphinx warnings #13

Open
kloczek opened this issue Jun 15, 2021 · 5 comments
Open

0.5.11: shphinx warnings #13

kloczek opened this issue Jun 15, 2021 · 5 comments

Comments

@kloczek
Copy link

kloczek commented Jun 15, 2021

+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx
running build_sphinx
Running Sphinx v4.0.2
making output directory... done
WARNING: html_static_path entry '_static' does not exist
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: [new config] 42 added, 0 changed, 0 removed
reading sources... [100%] index
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Earth, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Jupiter, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Mars, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Mercury, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Minor, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Moon, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Neptune, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Pluto, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Saturn, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Sun, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Uranus, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in bodies/Venus, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in core/Angle, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in core/Coordinates, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in core/CurveFitting, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in core/Epoch, use :noindex: for one of them
/home/tkloczko/rpmbuild/BUILD/PyMeeus-0.5.11/pymeeus/__init__.py:docstring of pymeeus:1: WARNING: duplicate object description of pymeeus, other instance in core/Interpolation, use :noindex: for one of them
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... pymeeus.1 { core/index core/base core/Angle core/Coordinates core/CurveFitting core/Epoch core/Interpolation bodies/index bodies/Earth bodies/JupiterMoons bodies/Jupiter bodies/Mars bodies/Mercury bodies/Minor bodies/Moon bodies/Neptune bodies/Pluto bodies/Saturn bodies/Sun bodies/Uranus bodies/Venus examples/index examples/ex-Angle examples/ex-base examples/ex-Coordinates examples/ex-CurveFitting examples/ex-Earth examples/ex-Epoch examples/ex-Interpolation examples/ex-Jupiter examples/ex-JupiterMoons examples/ex-Mars examples/ex-Mercury examples/ex-Minor examples/ex-Moon examples/ex-Neptune examples/ex-Pluto examples/ex-Saturn examples/ex-Sun examples/ex-Uranus examples/ex-Venus } done
build succeeded, 18 warnings.
@architest
Copy link
Owner

architest commented Jun 15, 2021 via email

@kloczek
Copy link
Author

kloczek commented Jun 15, 2021

It doesn't matter which one method will be used.
Please check which one sphinx version you have.
If you don't see those warnings it means that you are not using sphinx >= 4.0 (latest is 4.0.2).
I don't need html and as you see I'm generating man pages roff output because that is basic documentation format on all U*nix systems.
Just in case: those warnings are output format independent.

PS. Using setuptools "build_sphinx" command allows to generated documentation without knowing where is copy.py so it is the best generic method. You wasted your time on writhing that Makefile file. If you are interested you can run python setup.py --help-commands to see what more offers setuptools.

@architest
Copy link
Owner

architest commented Jun 15, 2021 via email

@kloczek
Copy link
Author

kloczek commented Jun 15, 2021

Sphinx 1.8.5 was released more than two years ago https://github.com/sphinx-doc/sphinx/releases/tag/v1.8.5
Year ago when Ubuntu 20.04 was released already was widely used sphinx 3.x. Now is used 4.x which is more sensitive about some errors and warnings.
If you will apply proper fixes for 4.x still Sphinx 1.8.5 should be OK.
I'm doing full review of my modules on building documentation using sphinx 4.0.2 and I've already created many tickets for that kind of issues so your module is not only one :)

[tkloczko@barrel SPECS]$ grep "\# BUG: sphinx warnings" python-*
python-aspectlib.spec:# BUG: sphinx warnings https://github.com/ionelmc/python-aspectlib/issues/20
python-dropbox.spec:# BUG: sphinx warnings https://github.com/dropbox/dropbox-sdk-python/issues/359
python-elementpath.spec:# BUG: sphinx warnings https://github.com/sissaschool/elementpath/issues/38
python-execnet.spec:# BUG: sphinx warnings https://github.com/pytest-dev/execnet/issues/140
python-faker.spec:# BUG: sphinx warnings https://github.com/joke2k/faker/issues/1456
python-gitdb.spec:# BUG: sphinx warnings https://github.com/gitpython-developers/gitdb/issues/71
python-hamcrest.spec:# BUG: sphinx warnings https://github.com/hamcrest/PyHamcrest/issues/174
python-hyperframe.spec:# BUG: sphinx warnings https://github.com/python-hyper/hyperframe/issues/159
python-importlib-metadata.spec:# BUG: sphinx warnings https://github.com/python/importlib_metadata/issues/309
python-inflect.spec:# BUG: sphinx warnings https://github.com/jaraco/inflect/issues/132
python-installer.spec:# BUG: sphinx warnings https://github.com/sarugaku/installer/issues/6
python-jaraco.itertools.spec:# BUG: sphinx warnings https://github.com/jaraco/jaraco.itertools/issues/12
python-jaraco-text.spec:# BUG: sphinx warnings https://github.com/jaraco/jaraco.text/issues/5
python-kombu.spec:# BUG: sphinx warnings https://github.com/celery/kombu/issues/1347
python-lark.spec:# BUG: sphinx warnings https://github.com/lark-parser/lark/issues/903
python-parver.spec:# BUG: sphinx warnings https://github.com/RazerM/parver/issues/16
python-path.spec:# BUG: sphinx warnings https://github.com/jaraco/path/issues/201
python-pbr.spec:# BUG: sphinx warnings https://bugs.launchpad.net/pbr/+bug/1930618
python-productmd.spec:# BUG: sphinx warnings https://github.com/release-engineering/productmd/issues/156
python-prompt-toolkit.spec:# BUG: sphinx warnings https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1435
python-pymeeus.spec:# BUG: sphinx warnings https://github.com/architest/pymeeus/issues/13
python-pyOpenSSL.spec:# BUG: sphinx warnings https://github.com/pyca/pyopenssl/issues/1023
python-pytest.spec:# BUG: sphinx warnings https://github.com/pytest-dev/pytest/issues/8730
python-pyxattr.spec:# BUG: sphinx warnings https://github.com/iustin/pyxattr/issues/27
python-rdflib.spec:# BUG: sphinx warnings https://github.com/RDFLib/rdflib/issues/1334
python-requests-toolbelt.spec:# BUG: sphinx warnings https://github.com/requests/toolbelt/issues/310
python-sphinxcontrib-autoprogram.spec:# BUG: sphinx warnings https://github.com/sphinx-contrib/autoprogram/issues/50
python-sphinx_rtd_theme.spec:# BUG: sphinx warnings https://github.com/readthedocs/sphinx_rtd_theme/issues/1157
python-systemd.spec:# BUG: sphinx warnings https://github.com/systemd/python-systemd/issues/96
python-traitlets.spec:# BUG: sphinx warnings https://github.com/ipython/traitlets/issues/664
python-trio.spec:# BUG: sphinx warnings https://github.com/python-trio/trio/issues/2018
python-WSGIProxy2.spec:# BUG: sphinx warnings https://github.com/gawel/WSGIProxy2/issues/28
python-xmlschema.spec:# BUG: sphinx warnings https://github.com/sissaschool/xmlschema/issues/248

@architest
Copy link
Owner

architest commented Jun 16, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants