Open josh-marshall-amp opened 3 months ago
There's a discussion to be had about if we keep this repo public or not. If we keep it public, then we need be mindful of what is documented where. For example test script structure is not specific to fixate. Just how to setup our scripts internally and so should remain internal.
I'm also going to edit the description to add in a list of the most import modules to document.
While reviewing a docs PR, occurred to me I really like when docs link to the source... that way it's easy to look at where something is missing or went wrong, particularly in this early stage of getting the docs fixed up.
sphinx.ext.linkcode
would let us link to Github, which would be cool if we could quickly fix something in the webeditor
sphinx.ext.viewcode
renders the code itself as an extra set of HTML pages. Good but not as useful as linking to Github.
This issue shows the process of linking to github... but right to the line number.
This VSCode extension will be useful for popping in a docstring template while coding
This VSCode extension will be useful for popping in a docstring template while coding
Or you could just use PyCharm which does that out of the box ;)
Or you could just use PyCharm which does that out of the box ;)
If we're gonna do IDE battles 🔥 here... then if you want to rewrite my VSCode launch setup, which fires up the simulator with debugger attached to the Python side of the comms code in one pane and GDB attached to the executable's equivalent in C in another... I'm listening. 😉
After merging #194, the next step is the content of the documentation. This issue raised to collect the updates we'll need to make.
Any discussion of the docs philosophy and howto from the docs readme can go here too.
And a quick link to the actual docs: Fixate overall and the auto-generated API reference
test_data
dict vsTEST_SEQUENCE
commentDocs to move into this repo (either as .rst or as docstrings in code, prefer the latter):
Public API to use in scripts (that should have autodocs generated):
__init__
(in particular, the newfixate._switching
jig classesfixate.core.ui
fixate.core.checks
TestClass
andTestList
(but making sure we remove the obsolete/unused and internal attributes that aren't part of the public APIfixate.drivers
Focus should be on the base class for each instruments type, which as much as possible, aims to be consistent across the given device type.I'm thinking that we don't document
fixate.core.jig_mapping
since we more or less want to deprecate that.