Add special methods to generated Python docs

Also removes an old-now-spurious `make` invocation from the docgen.py
helper script.
pull/7355/head
Masood Malekghassemi 9 years ago
parent 06f779b79f
commit 48d07c6489
  1. 1
      src/python/grpcio/commands.py
  2. 1
      tools/distrib/python/docgen.py

@ -58,6 +58,7 @@ CONF_PY_ADDENDUM = """
extensions.append('sphinx.ext.napoleon')
napoleon_google_docstring = True
napoleon_numpy_docstring = True
napoleon_include_special_with_doc = True
html_theme = 'sphinx_rtd_theme'
"""

@ -70,7 +70,6 @@ environment.update({
})
subprocess_arguments_list = [
{'args': ['make'], 'cwd': PROJECT_ROOT},
{'args': ['virtualenv', VIRTUALENV_DIR], 'env': environment},
{'args': [VIRTUALENV_PIP_PATH, 'install', '-r', REQUIREMENTS_PATH],
'env': environment},

Loading…
Cancel
Save