aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_ext/gemtext_builder.py3
-rw-r--r--index.rst21
2 files changed, 12 insertions, 12 deletions
diff --git a/_ext/gemtext_builder.py b/_ext/gemtext_builder.py
index 1e21d29..13f3cf2 100644
--- a/_ext/gemtext_builder.py
+++ b/_ext/gemtext_builder.py
@@ -172,7 +172,8 @@ class GemtextBuilder(Builder):
default_translator_class = GemtextTranslator
def get_outdated_docs(self):
- return self.env.found_docs # can't be fucked to implement this right
+ yield from self.env.found_docs # can't be fucked to implement this right
+ yield 'genindex'
def get_target_uri(self, docname: str, typ: str = None):
return docname + '.gmi'
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`