Re: [ANNOUNCE] Sparse v0.6.2-rc1

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

 



On Mon, Jun 15, 2020 at 12:37:28AM +0100, Ramsay Jones wrote:
> I just installed python-sphinx (on LM 19.3 it is the python2
> version) to give it a try, and it failed:
>
>   $ make html
>   Running Sphinx v1.6.7

This is probably too old (running 3.0 here but IIRC 2.7 or
2.8 should be OK).

>   making output directory...
>
>   Extension error:
>   Could not import extension cdoc (exception: cannot import name switch_source_input)

Ah yes, I forgot about this one.
This is a very small python module I created to extract the
doc from the C files. It's the file Documentation/sphinx/cdoc.py.
There is another one (ir.py) to keep the IR doc bearable.
Both are specified on the top of the config file
(Documentation/conf.py) which should give the info needed
to load them.

After checking, IIUC, switch_source_input exists only since
Sphinx 1.7 (and it's used by this extension only recently because
AutoReporter was obsolete and was removed in recent versions).

> It's too late to try and fix it tonight ... (also LM 20 is currently
> in beta, so I will be trading up soon) :D

Yes, sure :)

-- Luc



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux