Skip to content

Commit

Permalink
Update docs for new template (#8232)
Browse files Browse the repository at this point in the history
* Update docs for new template

* Fixes

* Fixes

* Drop links
  • Loading branch information
ethanwharris authored Jul 1, 2021
1 parent 3e6f884 commit c0caeb3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/source/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% extends "!layout.html" %}
<link rel="canonical" href="{{ theme_canonical_url }}{{ pagename }}.html" />

{% block footer %}
{{ super() }}
<script script type="text/javascript">
var collapsedSections = ['Best practices', 'Lightning API', 'Optional extensions', 'Tutorials', 'API References', 'Bolts', 'Examples', 'Common Use Cases', 'Partner Domain Frameworks', 'Community'];
</script>

{% endblock %}
2 changes: 2 additions & 0 deletions docs/source/_templates/theme_variables.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@
'blog': 'https://www.pytorchlightning.ai/blog',
'resources': 'https://pytorch-lightning.readthedocs.io/en/latest/#community-examples',
'support': 'https://pytorch-lightning.rtfd.io/en/latest/',
'community': 'https://pytorch-lightning.slack.com',
'forums': 'https://pytorch-lightning.slack.com',
}
-%}
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ PyTorch Lightning Documentation

.. toctree::
:maxdepth: 1
:name: community
:name: Community
:caption: Community


Expand Down

0 comments on commit c0caeb3

Please sign in to comment.