Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"python.pythonPath": "/usr/local/bin/python",
"python.pythonPath": "/usr/local/bin/python3",
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
"python.linting.pydocstyleEnabled": false,
Expand Down
12 changes: 11 additions & 1 deletion sphinx-docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
# ones.
extensions = [
'sphinx.ext.napoleon',
'sphinx.ext.githubpages'
'sphinx.ext.githubpages',
'sphinx.ext.autosummary'
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -62,3 +63,12 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

latex_elements = {
'extraclassoptions': 'openany,oneside'
}

autodoc_member_order = 'bysource'

autodoc_default_flags = ['members']
autosummary_generate = True
20 changes: 12 additions & 8 deletions sphinx-docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,19 +1,22 @@
.. async gcode client documentation master file, created by
sphinx-quickstart on Wed Jan 29 21:45:27 2020.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.

Welcome to async gcode client's documentation!
==============================================

.. toctree::
:maxdepth: 2
:caption: Contents:
:maxdepth: 3
:caption: Inhoud:


.. autoclass:: asyncgcodecli.uarm.UArm
class GCodeResult
==================

.. autoclass:: asyncgcodecli.driver.GCodeResult
:members:

class UArm
==================

.. autoclass:: asyncgcodecli.uarm.UArm
:members:


Indices and tables
Expand All @@ -22,3 +25,4 @@ Indices and tables
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

1 change: 0 additions & 1 deletion tests/test1.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
async def move_script(uarm: UArm):
"""Move robot arm script."""

"""Beweeg de robotarm in een cool patroon."""
# set de robot arm op mode 0 (pomp)
uarm.set_mode(0)

Expand Down