diff --git a/doc/conf.py b/doc/conf.py index d4828de3..33ee45b8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -9,7 +9,6 @@ import sys, os sys.path.append(os.path.dirname(__file__)) - from lgrelease import release # If extensions (or modules to document with autodoc) are in another directory, @@ -20,7 +19,6 @@ from lgrelease import release # import sys # sys.path.insert(0, os.path.abspath('.')) - # -- Project information ----------------------------------------------------- project = 'Looking Glass' @@ -31,7 +29,6 @@ rst_prolog = """ .. |license| replace:: GPLv2 """ - # -- General configuration --------------------------------------------------- # Add any Sphinx extension module names here, as strings. They can be diff --git a/doc/lgrelease.py b/doc/lgrelease.py index 4af7e7fb..1dfafe80 100644 --- a/doc/lgrelease.py +++ b/doc/lgrelease.py @@ -1,8 +1,6 @@ # -- Path setup -------------------------------------------------------------- from pathlib import Path -release = None - try: with open(Path(__file__).parent.parent / 'VERSION') as f: release = f.read().strip() diff --git a/doc/lgspell.py b/doc/lgspell.py index 4148dc87..e0274e9e 100755 --- a/doc/lgspell.py +++ b/doc/lgspell.py @@ -1,7 +1,5 @@ #!/usr/bin/env python3 import re -import sys, os -sys.path.append(os.path.dirname(__file__)) from lgrelease import release