你已经派生过 gprMax
镜像自地址
https://gitee.com/sunhf/gprMax.git
已同步 2025-08-06 12:36:51 +08:00
Updated how the version number is accessed.
这个提交包含在:
@@ -13,13 +13,15 @@
|
||||
# All configuration values have a default; values that are commented out
|
||||
# serve to show the default.
|
||||
|
||||
import os, re, shlex, sys
|
||||
import os, sys
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
sys.path.insert(0, os.path.abspath('../..'))
|
||||
|
||||
import gprMax
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
|
||||
# If your documentation needs a minimal Sphinx version, state it here.
|
||||
@@ -70,11 +72,9 @@ author = 'Craig Warren and Antonis Giannopoulos'
|
||||
# built documents.
|
||||
#
|
||||
# The short X.Y version.
|
||||
# Read version number from gprMax/gprMax.py
|
||||
#version = re.search('^__version__\s*=\s*\'(.*)\'', open('../../gprMax/gprMax.py').read(), re.M).group(1)
|
||||
version = '3.0.0b18'
|
||||
version = gprMax.__version__
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = version + '(Bowmore)'
|
||||
release = version
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
在新工单中引用
屏蔽一个用户