Exemplo n.º 1
0
# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'diffpy.Structure'
copyright = u'%Y, Brookhaven National Laboratory'

# 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 setup import versiondata
fullversion = versiondata.get('DEFAULT', 'version')
# The short X.Y version.
version = '.'.join(fullversion.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = fullversion

# 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 = ''
today_seconds = versiondata.getint('DEFAULT', 'timestamp')
today = time.strftime('%B %d, %Y', time.localtime(today_seconds))
year = today.split()[-1]
Exemplo n.º 2
0
# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = u'SrMise'
copyright = u'%Y, Board of Trustees of Michigan State University'

# 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.
sys.path.insert(0, os.path.abspath('../../..'))
from setup import versiondata
fullversion = versiondata.get('DEFAULT', 'version')
# The short X.Y version.
version = '.'.join(fullversion.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = fullversion

# 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 = ''
today_seconds = versiondata.getint('DEFAULT', 'timestamp')
today = time.strftime('%B %d, %Y', time.localtime(today_seconds))
year = today.split()[-1]
Exemplo n.º 3
0
# source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = "index"

# General information about the project.
project = u"SrReal"
copyright = u"%Y, Brookhaven National Laboratory"

# 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.
sys.path.insert(0, os.path.abspath("../../.."))
from setup import versiondata

fullversion = versiondata.get("DEFAULT", "version")
# sys.path.remove(os.path.abspath('../../..'))
# The short X.Y version.
version = ".".join(fullversion.split(".")[:2])
# The full version, including alpha/beta/rc tags.
release = fullversion

# 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 = ''
today_seconds = versiondata.getint("DEFAULT", "timestamp")
today = time.strftime("%B %d, %Y", time.localtime(today_seconds))