File: docs-table-of-contents.patch

package info (click to toggle)
rocalution 5.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 6,676 kB
  • sloc: cpp: 73,704; python: 1,114; sh: 434; xml: 203; makefile: 27
file content (29 lines) | stat: -rw-r--r-- 1,023 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
27
28
29
From: Cordell Bloor <cgmb@slerp.xyz>
Date: Mon, 12 Feb 2024 15:05:52 -0700
Subject: docs table of contents

The upstream project uses sphinx-external-toc and rocm-docs-core to
generate the table of contents from docs/.sphinx/_toc.yml.in, but
neither of those are packaged for Debian and it is a rather complex
way to generate a table of contents anyway. This patch restores the
table of contents from ROCm 5.5.1.

Forwarded: not-needed
---
 docs/index.rst | 8 ++++++++
 1 file changed, 8 insertions(+)

--- a/docs/index.rst
+++ b/docs/index.rst
@@ -11,3 +11,11 @@
   * :ref:`design_document`: The Design Document is targeted to advanced users / developers that want to understand, modify or extend the functionality of the rocALUTION library.
     To embed rocALUTION into your project, it is not required to read the Design Document.
   * :ref:`api`: This is a list of API functions provided by rocALUTION.
+ 
+.. toctree::
+   :maxdepth: 4
+   :caption: Contents:
+
+   design/designdoc
+   usermanual/usermanual
+   api