示例#1
0
# Add any paths that contain templates here, relative to this directory.
templates_path = []

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
source_suffix = ['.rst', '.md']

# The encoding of source files.
#source_encoding = 'utf-8-sig'

# The master toctree document.
master_doc = 'index'

# General information about the project.
project = Gaffer.About().name()
copyright = Gaffer.About().copyright().replace("Copyright (c) ", "")
author = u'John Haddon'

# 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 = Gaffer.About().versionString()
# The full version, including alpha/beta/rc tags.
release = Gaffer.About().versionString()

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
示例#2
0
# BuildTarget: index.md

import Gaffer
import GafferUI

GafferUI.DocumentationAlgo.exportLicenseReference("./", Gaffer.About())