File: 0002-autodoc_mock_imports.patch

package info (click to toggle)
pysph 1.0~b2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,100 kB
  • sloc: python: 58,494; makefile: 212; cpp: 206; sh: 165
file content (21 lines) | stat: -rw-r--r-- 617 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
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 17 Aug 2019 17:57:38 +0000
Subject: autodoc_mock_imports

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

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 5b5737c..ff0fb10 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -15,6 +15,7 @@ import sys
 import os
 from os.path import join
 
+autodoc_mock_imports = ['mayavi', 'tvtk', 'pyface', 'traits']
 
 # When translating the docs to another language, this variable is set 
 # elsewhere, so if it is not set, set it to a suitable default.