File: 20_fix_html_theme_path.patch

package info (click to toggle)
kytos-sphinx-theme 0.0.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,036 kB
  • sloc: python: 37; makefile: 13
file content (19 lines) | stat: -rw-r--r-- 691 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
Description: Change the html theme path.
Author: Paulo Henrique de Lima Santana (phls) <phls@softwarelivre>
Last-Update: 2018-12-04
Index: kytos-sphinx-theme-0.0.1+dfsg/kytos_sphinx_theme/__init__.py
===================================================================
--- kytos-sphinx-theme-0.0.1+dfsg.orig/kytos_sphinx_theme/__init__.py
+++ kytos-sphinx-theme-0.0.1+dfsg/kytos_sphinx_theme/__init__.py
@@ -1,10 +1,9 @@
 """Kythos theme modules."""
 import os
 
-
 def get_html_theme_path():
     """Return list of HTML theme paths."""
-    theme_path = os.path.abspath(os.path.dirname(__file__))
+    theme_path = '/usr/share/kytos_sphinx_theme'
     return [theme_path]
 
 def setup(app):