File: 0002-Fix-sphinx-build.patch

package info (click to toggle)
pycoast 1.7.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,876 kB
  • sloc: python: 5,236; makefile: 139
file content (29 lines) | stat: -rw-r--r-- 991 bytes parent folder | download | duplicates (3)
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
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Tue, 18 Oct 2022 06:18:20 +0000
Subject: Fix sphinx build

Forwarded: https://github.com/pytroll/pycoast/pull/69
---
 docs/source/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/source/conf.py b/docs/source/conf.py
index 7227d10..34044db 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -16,13 +16,13 @@ from __future__ import annotations
 import os
 import sys
 
-from pycoast import __version__
-
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
 # documentation root, use os.path.abspath to make it absolute, like shown here.
 sys.path.insert(0, os.path.abspath("../../"))
 
+from pycoast import __version__
+
 # -- General configuration -----------------------------------------------------
 
 # If your documentation needs a minimal Sphinx version, state it here.