You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Convert the specification files to rst format #283
The main goal is to make the specification files more machine readable and enable sphinx extensions like latex to convert into a pdf. This issue will track the changes by markdown file,
I ended up hacking some quick py file generation at https://github.com/xloem/arrays to work with the spec in the repl help(). I was thinking of making a base class for something that plugged in api implementation fudges based on name matching with existing libraries
Thanks for sharing @xloem. That may be useful as an intermediate step; I'm hoping we end up with a more normal spec though which uses the numpydoc docstring format. So instead of:
The source of the sphinx builder that outputs rst probably reveals what document elements might output that format, but if it's a one-way change a search+replace tool might be simpler.
Reacted by Ralf Gommers and Stephannie Jimenez Gacha
Activity
xloem commentedon Oct 23, 2021
idea:
specification held as python source with documented function stubs
rgommers commentedon Oct 25, 2021
Thanks for the suggestion @xloem. That is one of the options @steff456 is testing, it would indeed be a significant improvement over the
.mdfiles.xloem commentedon Oct 25, 2021
I ended up hacking some quick py file generation at https://github.com/xloem/arrays to work with the spec in the repl help(). I was thinking of making a base class for something that plugged in api implementation fudges based on name matching with existing libraries
rgommers commentedon Oct 25, 2021
Thanks for sharing @xloem. That may be useful as an intermediate step; I'm hoping we end up with a more normal spec though which uses the numpydoc docstring format. So instead of:
it should look like:
xloem commentedon Oct 25, 2021
The source of the sphinx builder that outputs rst probably reveals what document elements might output that format, but if it's a one-way change a search+replace tool might be simpler.
kgryte commentedon Feb 7, 2022
@steff456 Now that this tracking issue is complete, can we close this out?
steff456 commentedon Feb 7, 2022
I'm closing this issue given that all the specification is now in rst 🎉🎉🎉