(Morten forgot to Cc the list. I think he is struggling with som new shortcuts in his mailer.)
On Fri 01 Nov 2024 at 07:50, Ingeborg Hellemo <ingeborg.hellemo@uit.no> wrote:
I'm compiling NAV from source. Somehow I've messed up my environment and haven't been able to install the documentation for the last two versions. (No showstopper, but irritating). I guess I have the wrong version of setuptools or something. ... /usr/local/src/nav-5.11.0/# python setup.py build_sphinx ... error: invalid command 'build_sphinx'
Nah, the old ways of setuptools are becoming deprecated in the Python world, and I think maybe Sphinx no longer integrates with setuptools. We should really update our install docs on this point: We already updated the docs build routine for the latest Debian package:
https://github.com/Uninett/nav-debian/commit/ee65417603ae2780c506443e398c1ac...
Sphinx should have provided its own `sphinx-build` command, but you apparently need to give it an input directory and an output directory as arguments, so for the Debian build we use something like
`sphinx-build doc/ doc/_build`
*Gasp!* Install docs not updated!?! The new command worked as a charm. --Ingeborg -- Ingeborg Østrem Hellemo -- ingeborg.hellemo@uit.no Dep. of Information Technology --- Univ. of Tromsø