sampledoc icon indicating copy to clipboard operation
sampledoc copied to clipboard

Where is the sphinxext dir?

Open twiecki opened this issue 6 years ago • 6 comments
trafficstars

https://matplotlib.org/sampledoc/extensions.html tries to copy the files from a sphinxext dir in this repo which doesn't seem to exist.

twiecki avatar Dec 19 '18 14:12 twiecki

https://github.com/matplotlib/matplotlib/tree/master/doc/sphinxext

timhoffm avatar Dec 22 '18 09:12 timhoffm

Yes, but according to the tutorial, sphinxext/ should contain the following files: apigen.py docscrape.py docscrape_sphinx.py numpydoc.py And the link provided by @timhoffm doesn't have those.

mattagape avatar Mar 11 '20 12:03 mattagape

Same issue here. What a pity that the main example for sphinx is not working. Thanks anyway

kiteloopdesign avatar Nov 26 '20 10:11 kiteloopdesign

same issue as above. I guess nobody's watching this repository. Same issue for 3 years. No sphinxext dir

home:~/tmp/sampledoc> mkdir sphinxext
home:~/tmp/sampledoc> cp ../sampledoc_tut/sphinxext/*.py sphinxext/
home:~/tmp/sampledoc> ls sphinxext/
apigen.py  docscrape.py  docscrape_sphinx.py  numpydoc.py

JenningsAutomation avatar Feb 18 '21 13:02 JenningsAutomation

I agree this is largely unmaintained and is here for historical purposes. OTOH if someone wanted to modernize it, I'm sure volunteers would be welcome.

jklymak avatar Feb 18 '21 16:02 jklymak

For all those stuck with this problem see here https://github.com/numpy/numpydoc/tree/main/numpydoc Based on my test the apigen.py is not necessary.

xiaoouwang avatar Mar 07 '21 17:03 xiaoouwang