Skip to content

Commit

Permalink
Sphinx autodoc fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jfjlaros committed Mar 4, 2021
1 parent dcc2a25 commit a371c95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from subprocess import call

# NOTE: Add sphinx_autodoc_typehints when ReadTheDocs supports it.
call('pip install six ..', shell=True)

from simple_rpc import _get_metadata
Expand All @@ -11,5 +12,6 @@
release = _get_metadata('Version')

autoclass_content = 'both'
extensions = ['sphinx.ext.autodoc', 'sphinx_autodoc_typehints']
# NOTE: Add sphinx_autodoc_typehints when ReadTheDocs supports it.
extensions = ['sphinx.ext.autodoc']
master_doc = 'index'
2 changes: 2 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Connecting

To detect serial devices, we recommend using the arduino-cli_ toolkit.

::

$ arduino-cli board list
Port Type Board Name FQBN Core
/dev/ttyACM0 Serial Port (USB) Arduino Mega or Mega 2560 arduino:avr:mega arduino:avr
Expand Down

0 comments on commit a371c95

Please sign in to comment.