PyFixate / Fixate

Framework for hardware test fixtures and automatic test environments
MIT License
22 stars 16 forks source link

Documentation content updates #204

Open josh-marshall-amp opened 3 months ago

josh-marshall-amp commented 3 months ago

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

Docs 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):

I'm thinking that we don't document fixate.core.jig_mapping since we more or less want to deprecate that.

clint-lawrence commented 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.

josh-marshall-amp commented 3 months ago

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.

josh-marshall-amp commented 3 months ago

This VSCode extension will be useful for popping in a docstring template while coding

clint-lawrence commented 3 months ago

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 ;)

josh-marshall-amp commented 3 months ago

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. 😉