From 9ff476bd09094fb92892941965027d11741f2b37 Mon Sep 17 00:00:00 2001 From: Jonathan Rubenstein Date: Sun, 26 Dec 2021 15:08:11 +0200 Subject: [PATCH] [doc] Minor cleanup to release spelling check Co-authored-by: Guanzhong Chen --- doc/conf.py | 3 --- doc/lgrelease.py | 2 -- doc/lgspell.py | 2 -- 3 files changed, 7 deletions(-) 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