-
Notifications
You must be signed in to change notification settings - Fork 232
add more documentation #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
83a0498 to
71deefd
Compare
jluebbe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe also squash some documentation commits for the same files.
|
|
||
| .. code-block:: bash | ||
| $ sudo apt install libow-dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should document this requirement somewhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's now documented in the usage/installation/extras requires section.
doc/components.rst
Outdated
| CommandProtocol | ||
| ------------ | ||
| --------------- | ||
| .. autoclass:: labgrid.protocol.CommandProtocol |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CommandProtocol is not a driver.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I started to group the Drivers by Protocol, but since we can just list their base classes I will remove that.
doc/usage.rst
Outdated
| Installation | ||
| ------------ | ||
|
|
||
| The default installation is available via Pypi: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PyPI instead of Pypi.
| Labgrid supports different extras: | ||
|
|
||
| - onewire: install onewire support, requires onewire from pypi >=0.0.2 | ||
| - coordinator: installs required depencies to start a crossbar coordinator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add an example how to enable both extras.
Also add autoclasses for some Drivers. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Napoleon enables the automatic conversion from google style docstrings to rst sphinx docstrings. Also fix the mocks to allow apidoc to parse the authenticator and remove the static html path for now. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Add a new installation section which documents how to use the extras. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
Squashed it some more, fixed the suggestions. |
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
No description provided.