mirror of
https://git.rtems.org/rtems-docs/
synced 2025-10-19 11:10:21 +08:00
waf: Get the version numbers from the version file.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
import version as rtems_version
|
||||
|
||||
extensions = [
|
||||
"sphinx.ext.autodoc",
|
||||
"sphinx.ext.coverage",
|
||||
"sphinx.ext.doctest",
|
||||
"sphinx.ext.extlinks",
|
||||
"sphinx.ext.graphviz",
|
||||
"sphinx.ext.intersphinx",
|
||||
"sphinx.ext.mathjax",
|
||||
@@ -9,6 +12,8 @@ extensions = [
|
||||
"rtemsdomain",
|
||||
]
|
||||
|
||||
extlinks = {'release_path': ('https://ftp.rtems.org/pub/rtems/releases', None) }
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
#templates_path = ['build/_templates']
|
||||
|
||||
@@ -23,17 +28,21 @@ master_doc = 'index'
|
||||
|
||||
# General information about the project.
|
||||
project = u'RTEMS Documentation Project'
|
||||
copyright = u'1988, 2019 RTEMS Project and contributors'
|
||||
copyright = u'1988, 2020 RTEMS Project and contributors'
|
||||
|
||||
# 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.
|
||||
#
|
||||
# The short X.Y version.
|
||||
#version = '@VERSION@'
|
||||
version = rtems_version.version()
|
||||
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
#release = '@RELEASE@'
|
||||
release = rtems_version.string()
|
||||
|
||||
major = rtems_version.major()
|
||||
minor = rtems_version.minor()
|
||||
revision = rtems_version.revision()
|
||||
|
||||
# The language for content autogenerated by Sphinx. Refer to documentation
|
||||
# for a list of supported languages.
|
||||
|
Reference in New Issue
Block a user