-
Notifications
You must be signed in to change notification settings - Fork 2
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
1.4.0: not installed jaraco/tidelift/banner.html file #4
Comments
There's something wrong with your installed environment. To troubleshoot, you should manually try to do what happens here. For example:
As you can see, in my environment, jaraco.tidelift is able to load the banner html resource from the package. I see it also works for jaraco.tidelift as installed using pip:
Hope that helps. |
Closing. Only one small details still is to resolve. [tkloczko@devel-g2v jaraco.tidelift-1.5.0]$ SETUPTOOLS_SCM_PRETEND_VERSION=1.5.0 /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v4.5.0
making output directory... done
loading intersphinx inventory from 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] 2 added, 0 changed, 0 removed
reading sources... [100%] index
WARNING: autodoc: failed to import module 'tidelift' from module 'jaraco'; the following exception was raised:
No module named 'jaraco.tidelift'
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-jaraco-tidelift.3 { history } done
build succeeded, 1 warning.
The manual pages are in build/sphinx/man. This can be fixed by patch like below: --- a/docs/conf.py~ 2022-04-22 01:50:53.000000000 +0000
+++ b/docs/conf.py 2022-04-22 01:51:50.045055143 +0000
@@ -1,6 +1,10 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
+import sys
+import os
+sys.path.insert(0, os.path.abspath('..'))
+
extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']
master_doc = "index" With that patch: [tkloczko@devel-g2v jaraco.tidelift-1.5.0]$ SETUPTOOLS_SCM_PRETEND_VERSION=1.5.0 /usr/bin/sphinx-build -n -T -b man docs build/sphinx/man
Running Sphinx v4.5.0
loading intersphinx inventory from 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] 2 added, 0 changed, 0 removed
reading sources... [100%] index
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
writing... python-jaraco-tidelift.3 { history } done
build succeeded.
The manual pages are in build/sphinx/man. Such modification is even suggested in template copy.py example https://www.sphinx-doc.org/en/master/usage/configuration.html#example-of-configuration-file Feel free to close that ticket and commit that change or let me know if you want me to submit it as PR. |
Just found that on generate
path
module documentation sphinx fails because missing file which seems should be provided bytidelift/issues
The text was updated successfully, but these errors were encountered: