File: 0002-Desactivated-pdf-generation-for-the-doc.patch

package info (click to toggle)
xrayutilities 1.7.12-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,660 kB
  • sloc: python: 49,871; ansic: 4,585; makefile: 15
file content (41 lines) | stat: -rw-r--r-- 1,236 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
30
31
32
33
34
35
36
37
38
39
40
41
From: Alexandre Marie <alexandre.marie@synchrotron-soleil.fr>
Date: Tue, 19 Mar 2019 10:07:11 +0100
Subject: Desactivated pdf generation for the doc.

---
 doc/source/conf.py | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

Index: python-xrayutilities/doc/source/conf.py
===================================================================
--- python-xrayutilities.orig/doc/source/conf.py	2025-11-17 18:24:36.137810422 +0100
+++ python-xrayutilities/doc/source/conf.py	2025-11-17 18:25:45.594330835 +0100
@@ -43,8 +43,7 @@
     'sphinx.ext.intersphinx',
     'sphinx.ext.mathjax',
     'sphinx.ext.viewcode',
-    'numpydoc',
-    'rst2pdf.pdfbuilder']
+    'numpydoc']
 
 intersphinx_mapping = {
     'python': ('https://docs.python.org/3', None),
@@ -106,12 +105,12 @@
 
 
 # PDF output options
-pdf_documents = [
-    ("index", "xrayutilities", "xrayutilities", author),
-]
-pdf_stylesheets = ["sphinx", "onecolumn"]
-pdf_compressed = True
-pdf_default_dpi = 120
+#pdf_documents = [
+#    ("index", "xrayutilities", "xrayutilities", author),
+#]
+#pdf_stylesheets = ["sphinx", "onecolumn"]
+#pdf_compressed = True
+#pdf_default_dpi = 120
 
 
 def process_docstring(app, what, name, obj, options, lines):