Exemple #1
0
language = 'en'

# get version from package.xml of metapackage
this_dir = os.path.dirname(os.path.abspath(__file__))
package_xml = os.path.join(this_dir, '../jsk_recognition/package.xml')
xml_tree = xml.etree.ElementTree.parse(package_xml).getroot()
version = xml_tree.find('version').text
release = version

exclude_patterns = ['_build', 'venv', 'README.md']

this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, this_dir)
import add_img_tables_to_index
if not subprocess.check_output(['git', 'diff']):
    add_img_tables_to_index.main(exclude_patterns)

# The reST default role (used for this markup: `text`) to use for all
# documents.
#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False
Exemple #2
0
source_suffix = ['.rst', '.md']

master_doc = 'index'
project = u'jsk_visualization'
copyright = u'2015, JSK Lab'
author = u'Ryohei Ueda, Kei Okada, Youhei Kakiuchi'
version = '1.0'
release = '1.0'
language = 'en'

exclude_patterns = ['_build', 'venv']

this_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, this_dir)
import add_img_tables_to_index
add_img_tables_to_index.main(exclude_patterns)

# The reST default role (used for this markup: `text`) to use for all
# documents.
#default_role = None

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True

# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True

# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False