GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||
GeezerVison is showing github.com — Add sphinx doc by KybernetikJo · Pull Request #202 · python-control/Slycot Conversation
|
|
From my point of view, this version would be ready for merging. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
1dd6c66 to
26fd2b0
Compare
| project = 'Slycot' | ||
| copyright = '2023, Slycot Developers' | ||
| author = 'Slycot Developers' | ||
| release = '0.6' |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Can this be automated to look at the git tag?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I could use the code from python-control. Would that be enough?
# Version information - read from the source code
import re
# Get the version number for this commmit (including alpha/beta/rc tags)
release = re.sub('^v', '', os.popen('git describe').read().strip())
# The short X.Y.Z version
version = re.sub(r'(\d+\.\d+\.\d+(.post\d+)?)(.*)', r'\1', release)
print("version %s, release %s" % (version, release))
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| .. autosummary:: | ||
| :toctree: generated/ | ||
|
|
||
| ab01nd |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
So wee need to add entries here for every additional wrapper? Better write a check that we don't forget anything.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Good point. I also thought about that.
There is a python script /doc/create_names_for_reference.py that generates all routine names of
slycot and slycot._wrapper.
I think there are 2 options:
slycot_outer.rst and slycot_inner.rst.slycot_outer.rst and slycot_inner.rst.I have to look into that.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
26fd2b0 to
0e79a27
Compare
c327620 to
fb26217
Compare
|
Do we need a sphinx workflow in the .github actions in order to check results? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
To be honest, I don't have much experience with github actions and don't know what is possible. Currently I'm thinking about some kind of slycot-analyzer that analyzes the slycot and slicot-reference modules, generates statistics and checks for some completeness. I would put this "slycot-analyzer" under slycot/doc/slycot-analyzer. github actions could call some functions of a "slycot-analyzer". Currently there are some python/notebook files:
For now, though, I'll focus on the docstring and numpydocs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
4b2dc1e to
396f287
Compare
e903744 to
9815526
Compare
9815526 to
9b6b178
Compare
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.