mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 13:07:46 +00:00
[doc] Minor cleanup to release spelling check
Co-authored-by: Guanzhong Chen <quantum2048@gmail.com>
This commit is contained in:
parent
6ef3fea05e
commit
9ff476bd09
@ -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
|
||||
|
@ -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()
|
||||
|
@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
import re
|
||||
import sys, os
|
||||
sys.path.append(os.path.dirname(__file__))
|
||||
|
||||
from lgrelease import release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user