diff options
Diffstat (limited to 'common/conf.py')
-rw-r--r-- | common/conf.py | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/common/conf.py b/common/conf.py index 257bc4e..565e06d 100644 --- a/common/conf.py +++ b/common/conf.py @@ -1,4 +1,4 @@ -import version as rtems_version +import datetime extensions = [ "sphinx.ext.autodoc", @@ -12,6 +12,8 @@ extensions = [ "rtemsdomain", ] +bibtex_bibfiles = ['../common/refs.bib'] + extlinks = {'release_path': ('https://ftp.rtems.org/pub/rtems/releases', None) } # Add any paths that contain templates here, relative to this directory. @@ -28,21 +30,17 @@ master_doc = 'index' # General information about the project. project = u'RTEMS Documentation Project' -copyright = u'1988, 2020 RTEMS Project and contributors' +copyright = u'1988, ' + str(datetime.datetime.now().year) + ' 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 = rtems_version.version() +#version = rtems_version.version() # The full version, including alpha/beta/rc tags. -release = rtems_version.string() - -major = rtems_version.major() -minor = rtems_version.minor() -revision = rtems_version.revision() +#release = rtems_version.string() # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -75,6 +73,9 @@ exclude_patterns = [] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' +# http://www.sphinx-doc.org/en/master/usage/configuration.html#confval-numfig +numfig = True + # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] |