[master] 8b875005b doc: Generate references for vtc-syntax sections
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue Sep 14 09:56:07 UTC 2021
commit 8b875005b5c39314fd8ebd6f7929934f9a7e2ec7
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Tue Sep 14 11:52:25 2021 +0200
doc: Generate references for vtc-syntax sections
diff --git a/doc/sphinx/vtc-syntax.py b/doc/sphinx/vtc-syntax.py
index c168e05a7..f5533e84a 100644
--- a/doc/sphinx/vtc-syntax.py
+++ b/doc/sphinx/vtc-syntax.py
@@ -74,6 +74,7 @@ if __name__ == "__main__":
parse_file(fn, cl, tl, sl)
sl.sort()
for section in sl:
+ print(".. _vtc-" + section + ":\n")
print(tl[section], end="")
a = section
c = section.count(".")
More information about the varnish-commit
mailing list