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
Public API to use in scripts (that should have autodocs generated):
Everything exported in __init__ (in particular, the new fixate._switching jig classes
fixate.core.ui
fixate.core.checks
TestClass and TestList (but making sure we remove the obsolete/unused and internal attributes that aren't part of the public API
fixate.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.
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.
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. 😉
Activity
clint-lawrence commentedon Jul 24, 2024
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.
josh-marshall-amp commentedon Jul 31, 2024
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.linkcodewould let us link to Github, which would be cool if we could quickly fix something in the webeditorsphinx.ext.viewcoderenders 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.
josh-marshall-amp commentedon Jul 31, 2024
This VSCode extension will be useful for popping in a docstring template while coding
clint-lawrence commentedon Jul 31, 2024
Or you could just use PyCharm which does that out of the box ;)
josh-marshall-amp commentedon Aug 2, 2024
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. 😉