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

package info (click to toggle)
rocblas 6.4.3%2Bdfsg-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,062,992 kB
  • sloc: cpp: 244,982; f90: 50,012; python: 49,959; sh: 24,623; asm: 2,878; makefile: 149; ansic: 107; xml: 36; awk: 14
file content (23 lines) | stat: -rw-r--r-- 738 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From: Christian Kastner <ckk@debian.org>
Date: Fri, 4 Jul 2025 13:31:59 +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.
---
 docs/conf.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/conf.py b/docs/conf.py
index 53c7b4e..20073de 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 = "rocblas"
+external_projects_remote_repository = ""
+external_projects_remote_branch = ""
 
 for sphinx_var in ROCmDocs.SPHINX_VARS:
     globals()[sphinx_var] = getattr(docs_core, sphinx_var)