aboutsummaryrefslogtreecommitdiff
path: root/index.rst
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-29 12:01:29 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-29 12:01:29 -0600
commitcf0c943c9b923611dcd0819ac2c2bbf45d6b0429 (patch)
treeb67ddc08c2fb84b5c860369c80ad44c24e610f1d /index.rst
parent7b451ea5d662df6512e4934bc92c85b428a9121f (diff)
downloadspec-cf0c943c9b923611dcd0819ac2c2bbf45d6b0429.tar.gz
spec-cf0c943c9b923611dcd0819ac2c2bbf45d6b0429.zip
make sure toctree winds up in gemtext
Diffstat (limited to 'index.rst')
-rw-r--r--index.rst21
1 files changed, 10 insertions, 11 deletions
diff --git a/index.rst b/index.rst
index 76dd607..1b6f429 100644
--- a/index.rst
+++ b/index.rst
@@ -1,8 +1,3 @@
-.. Crowbar spec documentation master file, created by
- sphinx-quickstart on Wed Oct 28 15:04:27 2020.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
*******
Crowbar
*******
@@ -49,9 +44,11 @@ Discuss
* `permanent discussion mailing list <https://lists.sr.ht/~boringcactus/crowbar-lang-devel>`_
* ephemeral discussions via IRC: #crowbar-lang on freenode (`join via irc <ircs://chat.freenode.net/#crowbar-lang>`_, `join via web <https://webchat.freenode.net/#crowbar-lang>`_)
+Chapters
+========
+
.. toctree::
- :maxdepth: 2
- :hidden:
+ :maxdepth: 1
:numbered:
vs-c
@@ -62,8 +59,10 @@ Discuss
syntax
LICENSE
-Indices and tables
-==================
+.. only:: html
+
+ Indices and tables
+ ==================
-* :ref:`genindex`
-* :ref:`search`
+ * :ref:`genindex`
+ * :ref:`search`