| 1 |
From: Jochen Sprickerhof <[email protected]> |
| 2 |
Date: Thu, 21 Mar 2024 18:40:30 +0100 |
| 3 |
Subject: Adopt documentation path to Debian |
| 4 |
|
| 5 |
--- |
| 6 |
bugwarrior/config.py | 5 +---- |
| 7 |
1 file changed, 1 insertion(+), 4 deletions(-) |
| 8 |
|
| 9 |
diff --git a/bugwarrior/config.py b/bugwarrior/config.py |
| 10 |
index 88790da..c36b9a3 100644 |
| 11 |
--- a/bugwarrior/config.py |
| 12 |
+++ b/bugwarrior/config.py |
| 13 |
@@ -113,10 +113,7 @@ def oracle_eval(command): |
| 14 |
|
| 15 |
|
| 16 |
def load_example_rc(): |
| 17 |
- fname = os.path.join( |
| 18 |
- os.path.dirname(__file__), |
| 19 |
- 'docs/configuration.rst' |
| 20 |
- ) |
| 21 |
+ fname = '/usr/share/doc/bugwarrior/html/_sources/configuration.rst.txt' |
| 22 |
with open(fname, 'r') as f: |
| 23 |
readme = f.read() |
| 24 |
example = readme.split('.. example')[1][4:] |