Re: Migrating parisc.wiki.kernel.org to RTD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2024 at 05:00:51PM +0200, Helge Deller wrote:
> Ok so far.
> https://readthedocs.org/projects/parisc/
> https://parisc.readthedocs.io/en/latest/

Nice, I'm happy it's working.

> source from here:
> https://github.com/hdeller/parisc-website.git
> 
> > and set the redirects from the old wiki.
> 
> Before setting up redirects, can you help me with this error:
> 
> deller@carbonx1:/home/cvs/LINUX/parisc-website$ make html
> Running Sphinx v8.1.3
> loading translations [en]... done
> Extension error:
> Could not import extension sphinxcontrib.applehelp (exception: cannot import name 'SkipProgressMessage' from 'sphinx.util' (/home/deller/.local/lib/python3.12/site-packages/sphinx/util/__init__.py))
> make: *** [Makefile:20: html] Error 2

I suggest that instead of using the system-wide sphinx package, that you
install a venv to build the site locally. E.g., inside the parisc-website
repository:

    python3 -mvenv .venv
    source .venv/bin/activate
    pip install --upgrade pip
    pip install Sphinx furo
    make html

You can add .venv to .gitignore so it doesn't interfere with the rest of the
repo. To deactivate the venv, just do "deactivate".

Let me know if that helps.

-K




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux