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

package info (click to toggle)
rocrand 6.4.3-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 102,860 kB
  • sloc: cpp: 203,022; f90: 2,500; python: 1,417; sh: 359; xml: 212; asm: 90; makefile: 50
file content (25 lines) | stat: -rw-r--r-- 747 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: Tue, 24 Jun 2025 23:20:50 +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 0362d9f..7280e33 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -34,6 +34,8 @@ release = version_number
 
 external_toc_path = "./sphinx/_toc.yml"
 external_projects_current_project = "rocrand"
+external_projects_remote_repository = ""
+external_projects_remote_branch = ""
 
 docs_core = ROCmDocs(left_nav_title)
 docs_core.run_doxygen(doxygen_root="doxygen", doxygen_path="doxygen/xml")