コード例 #1
0
ファイル: conf.py プロジェクト: wendy-king/x7_compute_venv
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'engine'
copyright = u'2010, United States Government as represented by the Administrator of the National Aeronautics and Space Administration.'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from engine import version as engine_version
#import engine.version
# The full version, including alpha/beta/rc tags.
release = engine_version.version_string()
# The short X.Y version.
version = engine_version.canonical_version_string()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
#unused_docs = []
コード例 #2
0
ファイル: manager.py プロジェクト: wendy-king/x7_compute_venv
 def service_version(self, context):
     return version.version_string()
コード例 #3
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'engine'
copyright = u'2010, United States Government as represented by the Administrator of the National Aeronautics and Space Administration.'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from engine import version as engine_version
#import engine.version
# The full version, including alpha/beta/rc tags.
release = engine_version.version_string()
# The short X.Y version.
version = engine_version.canonical_version_string()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'

# List of documents that shouldn't be included in the build.
#unused_docs = []
コード例 #4
0
 def service_version(self, context):
     return version.version_string()