Skip to content

Commit

Permalink
added github_url meta to relevant files preventing undesired github l…
Browse files Browse the repository at this point in the history
…ink rendering
  • Loading branch information
f-martini committed May 30, 2024
1 parent 6e63d04 commit 1f360e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/templates/apidoc/module.rst_t
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:github_url: hide
{{"\n"}}

{%- if show_headings %}
{{- basename | e | heading }}

Expand Down
3 changes: 3 additions & 0 deletions docs/templates/apidoc/package.rst_t
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:github_url: hide
{{"\n"}}

{%- macro automodule(modname, options) -%}
.. automodule:: {{ modname }}
{%- for option in options %}
Expand Down
3 changes: 3 additions & 0 deletions docs/templates/apidoc/toc.rst_t
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
:github_url: hide
{{"\n"}}

{{ header | heading }}

.. toctree::
Expand Down

0 comments on commit 1f360e2

Please sign in to comment.