Skip to content

Commit

Permalink
docs: remove left side bar in API reference (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Dec 1, 2024
2 parents 9a5dab3 + 918baaa commit 2e3df0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/_templates/python/class.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% if obj.display %}
{% if is_own_page %}
:html_theme.sidebar_secondary.remove:

{{ obj.id.split(".")[-1] }}
{{ "=" * obj.id.split(".")[-1] | length }}

Expand Down
2 changes: 2 additions & 0 deletions docs/_templates/python/function.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% if obj.display %}
{% if is_own_page %}
:html_theme.sidebar_secondary.remove:

{{ obj.id.split(".")[-1] }}
{{ "=" * obj.id.split(".")[-1] | length }}

Expand Down
2 changes: 2 additions & 0 deletions docs/_templates/python/method.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% if obj.display %}
{% if is_own_page %}
:html_theme.sidebar_secondary.remove:

{{ obj.id.split(".")[-1] }}
{{ "=" * obj.id.split(".")[-1] | length }}

Expand Down
2 changes: 2 additions & 0 deletions docs/_templates/python/module.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% if obj.display %}
{% if is_own_page %}
:html_theme.sidebar_secondary.remove:

{{ obj.id.split(".")[-1] }}
{{ "=" * obj.id.split(".")[-1] | length }}

Expand Down

0 comments on commit 2e3df0f

Please sign in to comment.