File: Remove-broken-links-from-documentation.patch

package info (click to toggle)
python-pegen 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,980 kB
  • sloc: python: 15,064; makefile: 89
file content (26 lines) | stat: -rw-r--r-- 838 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Subject: Remove broken links from documentation
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: https://github.com/we-like-parsers/pegen/pull/110

This removes three broken links just cluttering the documentation:
* The genindex is currently empty, because no index directives are used.
* The modindes is not generated at all and the link is invalid, because no
  python modules are documented.
* The search page is just empty, because the search is triggered from the input
  field in the sidebar.

Index: python-pegen/docs/index.rst
===================================================================
--- python-pegen.orig/docs/index.rst
+++ python-pegen/docs/index.rst
@@ -67,10 +67,6 @@ Indices and tables
    peg_parsers
    grammar
 
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-
 Developing
 ----------