commit: aa3137205e66647695bb38b03cadacb02d74c204 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Wed Jan 15 20:46:21 2025 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Thu Jan 16 05:10:11 2025 +0000 URL: https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=aa313720
doc: ensure that sphinx builds the current source code Previously, it attempted to build docs for the installed version of pkgcore, which may not exist at all and if it does exist is HIGHLY confusing when you hack on pkgcore and rebuild `make man` and... nothing happens. Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index dcc7da7e..f21d3dc5 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -11,6 +11,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. +import sys, os +sys.path.insert(0, os.path.join(os.path.dirname(__file__), '../src')) + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here.
