stem/docs
Damian Johnson 4f55589f83 Add Sphinx sphinx_autodoc_typehints plugin
Our methods document parater types twice...

  def my_method(my_arg: str) => None:
    """
    Dummy method.

    :param str my_arg: sample argument
    """

The method signature and :param: reStructured tag both cite our my_arg type.
By using Sphinx's sphinx_autodoc_typehints plugin we can drop our parameter
types...

  https://github.com/agronholm/sphinx-autodoc-typehints

Deduplication aside this makes our API docs look nicer by stripping Python
type hints from our signatures. In other words...

  stem.util.system.is_available(command: str, cached: bool = True) → bool

  Parameters:

    command (str) -- command to search for
    cached (bool) -- makes use of available cached results if True

... becomes...

  stem.util.system.is_available(command, cached=True)

  Parameters:

    command (str) -- command to search for
    cached (bool) -- makes use of available cached results if True
2020-05-16 17:33:01 -07:00
..
_static Revise CollecTor example 2019-12-29 15:10:08 -08:00
_templates Change bug tracker links to github 2019-12-20 16:51:08 -08:00
api Drop explicit __init__ from automodule 2020-05-13 15:56:07 -07:00
tutorials Sphinx fixes 2020-05-11 16:19:57 -07:00
api.rst Remove deprecated modules 2020-01-31 15:03:03 -08:00
change_log.rst Changelog entry 2020-03-30 20:09:22 -07:00
conf.py Add Sphinx sphinx_autodoc_typehints plugin 2020-05-16 17:33:01 -07:00
contents.rst Remove deprecated modules 2020-01-31 15:03:03 -08:00
download.rst Sphinx fixes 2020-05-11 16:19:57 -07:00
faq.rst Include mypy among faq's static checks 2020-05-11 14:32:15 -07:00
index.rst Stem release 1.8.0 2019-12-29 15:10:13 -08:00
Makefile Only including prepared API docs 2012-10-21 20:04:30 -07:00
roles.py Updating gitweb urls 2014-12-05 13:12:40 -08:00
tutorials.rst Reordering tutorials 2014-12-21 16:29:35 -08:00