summaryrefslogtreecommitdiff
path: root/docs/source/_static
diff options
context:
space:
mode:
authorAdam Paszke <adam.paszke@gmail.com>2017-01-03 23:01:09 +0100
committerSoumith Chintala <soumith@gmail.com>2017-01-03 18:31:08 -0500
commitb7f36f93d5d99f4de79f0ec4e6b9c59734712085 (patch)
treec17d08ef631f417558cbf3bb2311d55deaeb8184 /docs/source/_static
parent58320d5082c62655ecfd4d271731dede035c226c (diff)
downloadpytorch-b7f36f93d5d99f4de79f0ec4e6b9c59734712085.tar.gz
pytorch-b7f36f93d5d99f4de79f0ec4e6b9c59734712085.tar.bz2
pytorch-b7f36f93d5d99f4de79f0ec4e6b9c59734712085.zip
Expand autograd docs and add sections
Diffstat (limited to 'docs/source/_static')
-rw-r--r--docs/source/_static/css/pytorch_theme.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/source/_static/css/pytorch_theme.css b/docs/source/_static/css/pytorch_theme.css
index 049ba78380..31ba06911b 100644
--- a/docs/source/_static/css/pytorch_theme.css
+++ b/docs/source/_static/css/pytorch_theme.css
@@ -102,3 +102,13 @@ footer .rst-footer-buttons {
footer p {
font-size: 100%;
}
+
+/* For hidden headers that appear in TOC tree */
+/* see http://stackoverflow.com/a/32363545/3343043 */
+.rst-content .hidden-section {
+ display: none;
+}
+
+nav .hidden-section {
+ display: inherit;
+}