mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +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
|
import sys, os
|
||||||
sys.path.append(os.path.dirname(__file__))
|
sys.path.append(os.path.dirname(__file__))
|
||||||
|
|
||||||
|
|
||||||
from lgrelease import release
|
from lgrelease import release
|
||||||
|
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# If extensions (or modules to document with autodoc) are in another directory,
|
||||||
@ -20,7 +19,6 @@ from lgrelease import release
|
|||||||
# import sys
|
# import sys
|
||||||
# sys.path.insert(0, os.path.abspath('.'))
|
# sys.path.insert(0, os.path.abspath('.'))
|
||||||
|
|
||||||
|
|
||||||
# -- Project information -----------------------------------------------------
|
# -- Project information -----------------------------------------------------
|
||||||
|
|
||||||
project = 'Looking Glass'
|
project = 'Looking Glass'
|
||||||
@ -31,7 +29,6 @@ rst_prolog = """
|
|||||||
.. |license| replace:: GPLv2
|
.. |license| replace:: GPLv2
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
# -- General configuration ---------------------------------------------------
|
# -- General configuration ---------------------------------------------------
|
||||||
|
|
||||||
# Add any Sphinx extension module names here, as strings. They can be
|
# Add any Sphinx extension module names here, as strings. They can be
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
# -- Path setup --------------------------------------------------------------
|
# -- Path setup --------------------------------------------------------------
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
release = None
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(Path(__file__).parent.parent / 'VERSION') as f:
|
with open(Path(__file__).parent.parent / 'VERSION') as f:
|
||||||
release = f.read().strip()
|
release = f.read().strip()
|
||||||
|
@ -1,7 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import re
|
import re
|
||||||
import sys, os
|
|
||||||
sys.path.append(os.path.dirname(__file__))
|
|
||||||
|
|
||||||
from lgrelease import release
|
from lgrelease import release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user