Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👌 Remove description title of modules #6

Merged
merged 1 commit into from
Feb 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.cmdline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.cmdline


Description
-----------

.. autodoc2-docstring:: aiida.cmdline
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.common


Description
-----------

.. autodoc2-docstring:: aiida.common
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.engine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.engine


Description
-----------

.. autodoc2-docstring:: aiida.engine
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.manage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.manage


Description
-----------

.. autodoc2-docstring:: aiida.manage
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.orm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.orm


Description
-----------

.. autodoc2-docstring:: aiida.orm
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.parsers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.parsers


Description
-----------

.. autodoc2-docstring:: aiida.parsers
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.plugins


Description
-----------

.. autodoc2-docstring:: aiida.plugins
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.repository.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.repository


Description
-----------

.. autodoc2-docstring:: aiida.repository
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida


Description
-----------

.. autodoc2-docstring:: aiida
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.schedulers.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.schedulers


Description
-----------

.. autodoc2-docstring:: aiida.schedulers
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.tools.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.tools


Description
-----------

.. autodoc2-docstring:: aiida.tools
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/aiida/aiida.transports.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: aiida.transports


Description
-----------

.. autodoc2-docstring:: aiida.transports
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.analysis


Description
-----------

.. autodoc2-docstring:: autodoc2.analysis
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.astroid_utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.astroid_utils


Description
-----------

.. autodoc2-docstring:: autodoc2.astroid_utils
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.cli


Description
-----------

.. autodoc2-docstring:: autodoc2.cli
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.config


Description
-----------

.. autodoc2-docstring:: autodoc2.config
:renderer: rst
:allowtitles:
Expand Down
2 changes: 0 additions & 2 deletions docs/apidocs/autodoc2/autodoc2.db.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
```{py:module} autodoc2.db
```

## Description

```{autodoc2-docstring} autodoc2.db
:renderer: myst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.extension


Description
-----------

.. autodoc2-docstring:: autodoc2.extension
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.render.base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.render.base


Description
-----------

.. autodoc2-docstring:: autodoc2.render.base
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.render.myst_.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.render.myst_


Description
-----------

.. autodoc2-docstring:: autodoc2.render.myst_
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.render.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.render


Description
-----------

.. autodoc2-docstring:: autodoc2.render
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.render.rst_.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.render.rst_


Description
-----------

.. autodoc2-docstring:: autodoc2.render.rst_
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2


Description
-----------

.. autodoc2-docstring:: autodoc2
:renderer: rst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions docs/apidocs/autodoc2/autodoc2.utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: autodoc2.utils


Description
-----------

.. autodoc2-docstring:: autodoc2.utils
:renderer: rst
:allowtitles:
Expand Down
2 changes: 0 additions & 2 deletions src/autodoc2/render/myst_.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ def render_package(self, item: ItemData) -> t.Iterable[str]:
yield from ["```", ""]

yield from [
"## Description",
"",
f"```{{autodoc2-docstring}} {item['full_name']}",
f":renderer: {self.NAME}",
" :allowtitles:",
Expand Down
6 changes: 1 addition & 5 deletions src/autodoc2/render/rst_.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,8 @@ def render_package(self, item: ItemData) -> t.Iterable[str]:
yield " :noindex:"
if self.is_module_deprecated(item):
yield " :deprecated:"
yield from ["", ""]

yield ""
yield from [
"Description",
"-----------",
"",
f".. autodoc2-docstring:: {item['full_name']}",
f" :renderer: {self.NAME}",
" :allowtitles:",
Expand Down
2 changes: 0 additions & 2 deletions tests/test_render/test_basic_myst_.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
```{py:module} package
```

## Description

```{autodoc2-docstring} package
:renderer: myst
:allowtitles:
Expand Down
4 changes: 0 additions & 4 deletions tests/test_render/test_basic_rst_.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@

.. py:module:: package


Description
-----------

.. autodoc2-docstring:: package
:renderer: rst
:allowtitles:
Expand Down