[doc] Minor cleanup to release spelling check

Co-authored-by: Guanzhong Chen <quantum2048@gmail.com>
This commit is contained in:
Jonathan Rubenstein 2021-12-26 15:08:11 +02:00 committed by Geoffrey McRae
parent 6ef3fea05e
commit 9ff476bd09
3 changed files with 0 additions and 7 deletions

View file

@ -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

View file

@ -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()

View file

@ -1,7 +1,5 @@
#!/usr/bin/env python3
import re
import sys, os
sys.path.append(os.path.dirname(__file__))
from lgrelease import release