File: Extend-docs-conf.py-for-offline-build.patch

package info (click to toggle)
rocsparse 6.4.3-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 20,408 kB
  • sloc: cpp: 234,069; f90: 9,307; sh: 2,262; python: 1,939; makefile: 1,588; ansic: 440; xml: 26
file content (25 lines) | stat: -rw-r--r-- 706 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
From: Christian Kastner <ckk@debian.org>
Date: Fri, 27 Jun 2025 22:55:13 +0200
Subject: Extend docs/conf.py for offline build

By setting these extra variables, we can suppress a remote call which
would cause the build to fail.

Forwarded: not-needed
---
 docs/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index 32f7cd1..4a0068f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -32,6 +32,8 @@ docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml")
 docs_core.setup()
 
 external_projects_current_project = "rocsparse"
+external_projects_remote_repository = ""
+external_projects_remote_branch = ""
 
 external_toc_path = "./sphinx/_toc.yml"