Skip to content

Commit 95d7b18

Browse files
committed
Don't use symlinks for templates (to fix 900e90f)
1 parent 71dc3ad commit 95d7b18

File tree

5 files changed

+0
-0
lines changed

5 files changed

+0
-0
lines changed

docs/source-lit/_templates/autosummary/module.rst

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{{ name | escape | underline }}
2+
3+
.. currentmodule:: {{ fullname }}
4+
5+
{% block functions %}
6+
{% if functions %}
7+
.. rubric:: Functions
8+
9+
.. autosummary::
10+
:nosignatures:
11+
{% for item in functions %}
12+
{{ item }}
13+
{%- endfor %}
14+
{% endif %}
15+
{% endblock %}
16+
17+
{% block classes %}
18+
{% if classes %}
19+
.. rubric:: Classes
20+
21+
.. autosummary::
22+
:nosignatures:
23+
{% for item in classes %}
24+
{{ item }}
25+
{%- endfor %}
26+
{% endif %}
27+
{% endblock %}
28+
29+
{% block exceptions %}
30+
{% if exceptions %}
31+
.. rubric:: Exceptions
32+
33+
.. autosummary::
34+
:nosignatures:
35+
{% for item in exceptions %}
36+
{{ item }}
37+
{%- endfor %}
38+
{% endif %}
39+
{% endblock %}
40+
41+
.. automodule:: {{ fullname }}

docs/source-lit/_templates/classtemplate.rst

Lines changed: 0 additions & 9 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.. role:: hidden
2+
:class: hidden-section
3+
.. currentmodule:: {{ module }}
4+
5+
6+
{{ name | underline }}
7+
8+
.. autoclass:: {{ name }}
9+
:members:

docs/source-lit/_templates/classtemplate_no_index.rst

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:orphan:
2+
3+
.. role:: hidden
4+
:class: hidden-section
5+
.. currentmodule:: {{ module }}
6+
7+
8+
{{ name | underline }}
9+
10+
.. autoclass:: {{ name }}
11+
:members:
12+
:noindex:

docs/source-lit/_templates/layout.html

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% extends "!layout.html" %}
2+
<link rel="canonical" href="{{ theme_canonical_url }}{{ pagename }}.html" />
3+
4+
{% block footer %}
5+
{{ super() }}
6+
<script script type="text/javascript">
7+
var collapsedSections = ['App Building Skills', 'Practical Examples', 'Common Workflows', 'Core API Reference', 'Addons API Reference', 'Glossary'];
8+
</script>
9+
10+
{% endblock %}

docs/source-lit/_templates/theme_variables.jinja

Lines changed: 0 additions & 18 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{%- set external_urls = {
2+
'github': 'https://github.com/Lightning-AI/lightning',
3+
'github_issues': 'https://github.com/Lightning-AI/lightning/issues',
4+
'contributing': 'https://github.com/Lightning-AI/lightning/blob/master/.github/CONTRIBUTING.md',
5+
'governance': 'https://github.com/Lightning-AI/lightning/blob/master/docs/source-pytorch/governance.rst',
6+
'docs': 'https://lightning.rtfd.io/en/latest',
7+
'twitter': 'https://twitter.com/PyTorchLightnin',
8+
'discuss': 'https://pytorch-lightning.slack.com',
9+
'tutorials': 'https://pt-lightning.readthedocs.io/en/latest/#tutorials',
10+
'previous_pytorch_versions': 'https://pt-lightning.rtfd.io/en/latest/',
11+
'home': 'https://lightning.ai/',
12+
'get_started': 'https://pt-lightning.readthedocs.io/en/latest/introduction_guide.html',
13+
'features': 'https://pt-lightning.rtfd.io/en/latest/',
14+
'blog': 'https://www.pytorchlightning.ai/blog',
15+
'resources': 'https://pt-lightning.readthedocs.io/en/latest/#community-examples',
16+
'support': 'https://pt-lightning.rtfd.io/en/latest/',
17+
}
18+
-%}

0 commit comments

Comments
 (0)