forked from containers/podman-py
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the docs were being built on readthedocs, they weren't showing up because it couldn't find where the generated rst files were. Fix that and update how the titles are shown in the sidebar. Signed-off-by: Urvashi Mohnani <[email protected]>
- Loading branch information
Showing
6 changed files
with
28 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
{%- if show_headings %} | ||
{{- basename | replace("podman.", "") | e | heading }} | ||
|
||
{%- if "podman.errors" in basename %} | ||
{{- basename | replace("podman.errors.", "") | e | heading }} | ||
{% elif "podman.client" in basename -%} | ||
{{- basename | replace("podman.client", "client") | e | heading }} | ||
{% else -%} | ||
{{- basename | replace("podman.domain.", "") | e | heading }} | ||
{% endif -%} | ||
{% endif -%} | ||
|
||
.. automodule:: {{ qualname }} | ||
{%- for option in automodule_options %} | ||
:{{ option }}: | ||
{%- endfor %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,6 +54,7 @@ | |
'podman.version.rst', | ||
'podman.tlsconfig.rst', | ||
'podman.errors.rst', | ||
'podman.domain.rst', | ||
] | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ sphinx | |
tomli>=1.2.3; python_version<'3.11' | ||
urllib3 | ||
wheel | ||
rich >= 12.5.1 |