diff options
author | mattip <matti.picus@gmail.com> | 2018-06-14 14:43:33 -0700 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2018-06-15 10:52:11 -0700 |
commit | 40f17c11bac5d8c9f04c04bf89173d58053bda0e (patch) | |
tree | 2c45d040deb95c8f6b9b93b976712fb9182eb84b | |
parent | 16f19fcf25bf20a3a12f5a40f5f900190d61e81b (diff) | |
download | numpy-40f17c11bac5d8c9f04c04bf89173d58053bda0e.tar.gz |
use `:orphan:` to quiet warnings when building documentation
-rw-r--r-- | doc/source/_templates/autosummary/attribute.rst | 10 | ||||
-rw-r--r-- | doc/source/_templates/autosummary/member.rst | 11 | ||||
-rw-r--r-- | doc/source/_templates/autosummary/method.rst | 10 |
3 files changed, 31 insertions, 0 deletions
diff --git a/doc/source/_templates/autosummary/attribute.rst b/doc/source/_templates/autosummary/attribute.rst new file mode 100644 index 000000000..a6ed600ef --- /dev/null +++ b/doc/source/_templates/autosummary/attribute.rst @@ -0,0 +1,10 @@ +:orphan: + +{{ fullname | escape | underline}} + +.. currentmodule:: {{ module }} + +attribute + +.. auto{{ objtype }}:: {{ objname }} + diff --git a/doc/source/_templates/autosummary/member.rst b/doc/source/_templates/autosummary/member.rst new file mode 100644 index 000000000..f1f30e123 --- /dev/null +++ b/doc/source/_templates/autosummary/member.rst @@ -0,0 +1,11 @@ +:orphan: + +{{ fullname | escape | underline}} + +.. currentmodule:: {{ module }} + +member + +.. auto{{ objtype }}:: {{ objname }} + + diff --git a/doc/source/_templates/autosummary/method.rst b/doc/source/_templates/autosummary/method.rst new file mode 100644 index 000000000..8abda8677 --- /dev/null +++ b/doc/source/_templates/autosummary/method.rst @@ -0,0 +1,10 @@ +:orphan: + +{{ fullname | escape | underline}} + +.. currentmodule:: {{ module }} + +method + +.. auto{{ objtype }}:: {{ objname }} + |