Skip to content

Commit

Permalink
Document typevar
Browse files Browse the repository at this point in the history
  • Loading branch information
Delaunay committed Mar 18, 2022
1 parent 3f77f71 commit ba9da69
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ sphinx_rtd_theme
sphinxcontrib.httpdomain
sphinx-autoapi
sphinx_gallery
sphinx-autodoc-typehints
numpydoc
plotly
matplotlib
Expand Down
6 changes: 6 additions & 0 deletions docs/src/code/algo/space.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Space search
============

.. py:attribute:: T
:type: T
:value: TypeVar('T')

Type returned by a visitor

.. automodule:: orion.algo.space
:members:
1 change: 0 additions & 1 deletion docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"sphinx.ext.todo",
"sphinx.ext.viewcode",
"sphinx.ext.intersphinx",
"sphinx_autodoc_typehints",
]
)

Expand Down

0 comments on commit ba9da69

Please sign in to comment.