Skip to content

Commit

Permalink
updating sphinx config
Browse files Browse the repository at this point in the history
  • Loading branch information
asmodehn committed Apr 20, 2018
1 parent 96279e9 commit 83f5e15
Showing 1 changed file with 102 additions and 27 deletions.
129 changes: 102 additions & 27 deletions doc/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
#
# rostful documentation build configuration file
# rostful documentation build configuration file, created by
# sphinx-quickstart on Sat Jul 16 17:38:57 2016.
#
# This file is execfile()d with the current directory set to its
# containing dir.
Expand All @@ -11,18 +12,15 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys
import os

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))

## get catkin package information
import os
import catkin_pkg.package
catkin_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
catkin_package = catkin_pkg.package.parse_package(
os.path.join(catkin_dir, catkin_pkg.package.PACKAGE_MANIFEST_FILENAME))

# -- General configuration ---------------------------------------------------
# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
Expand Down Expand Up @@ -50,16 +48,16 @@

# General information about the project.
project = u'rostful'
#copyright = u'2014, AlexV'
copyright = u'2014-2016, AlexV'

# 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 = catkin_package.version
version = ''
# The full version, including alpha/beta/rc tags.
release = catkin_package.version
release = ''

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand All @@ -73,10 +71,10 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['weblinks.rst']
exclude_patterns = ['_build', 'weblinks.rst']

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

# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
Expand All @@ -95,12 +93,15 @@
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []

# If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False

# -- Options for HTML output -----------------------------------------------

# -- Options for HTML output ----------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'nature'
html_theme = 'default'

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down Expand Up @@ -129,7 +130,12 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
#html_static_path = ['_static']
html_static_path = ['_static']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.
#html_extra_path = []

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down Expand Up @@ -173,10 +179,10 @@
#html_file_suffix = None

# Output file base name for HTML help builder.
htmlhelp_basename = 'rostful_pydoc'
htmlhelp_basename = 'rostfuldoc'


# -- Options for LaTeX output ------------------------------------------------
# -- Options for LaTeX output ---------------------------------------------

latex_elements = {
# The paper size ('letterpaper' or 'a4paper').
Expand All @@ -189,9 +195,9 @@
#'preamble': '',
}

# Grouping the document tree into LaTeX files. List of tuples (source
# start file, target name, title, author, documentclass
# [howto/manual]).
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
# author, documentclass [howto, manual, or own class]).
latex_documents = [
('index', 'rostful.tex',
u'Rostful',
Expand Down Expand Up @@ -219,7 +225,7 @@
#latex_domain_indices = True


# -- Options for manual page output ------------------------------------------
# -- Options for manual page output ---------------------------------------

# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
Expand All @@ -233,15 +239,15 @@
#man_show_urls = False


# -- Options for Texinfo output ----------------------------------------------
# -- Options for Texinfo output -------------------------------------------

# Grouping the document tree into Texinfo files. List of tuples
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
('index', 'rostful',
u'rostful Documentation',
u'AlexV', 'rostful', 'rostful.',
u'AlexV', 'rostful', 'REST API for your multiprocess systems',
'Miscellaneous'),
]

Expand All @@ -254,6 +260,75 @@
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'

# If true, do not generate a @detailmenu in the "Top" node's menu.
#texinfo_no_detailmenu = False


# -- Options for Epub output ----------------------------------------------

# Bibliographic Dublin Core info.
epub_title = u'rostful'
epub_author = u'AlexV'
epub_publisher = u'AlexV'
epub_copyright = u'2016, AlexV'

# The basename for the epub file. It defaults to the project name.
#epub_basename = u'pyzmp'

# The HTML theme for the epub output. Since the default themes are not optimized
# for small screen space, using the same theme for HTML and epub output is
# usually not wise. This defaults to 'epub', a theme designed to save visual
# space.
#epub_theme = 'epub'

# The language of the text. It defaults to the language option
# or en if the language is not set.
#epub_language = ''

# The scheme of the identifier. Typical schemes are ISBN or URL.
#epub_scheme = ''

# The unique identifier of the text. This can be a ISBN number
# or the project homepage.
#epub_identifier = ''

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
# A unique identification for the text.
#epub_uid = ''

# A tuple containing the cover image and cover page html template filenames.
#epub_cover = ()

# A sequence of (type, uri, title) tuples for the guide element of content.opf.
#epub_guide = ()

# HTML files that should be inserted before the pages created by sphinx.
# The format is a list of tuples containing the path and title.
#epub_pre_files = []

# HTML files shat should be inserted after the pages created by sphinx.
# The format is a list of tuples containing the path and title.
#epub_post_files = []

# A list of files that should not be packed into the epub file.
epub_exclude_files = ['search.html']

# The depth of the table of contents in toc.ncx.
#epub_tocdepth = 3

# Allow duplicate toc entries.
#epub_tocdup = True

# Choose between 'default' and 'includehidden'.
#epub_tocscope = 'default'

# Fix unsupported image types using the PIL.
#epub_fix_images = False

# Scale large images.
#epub_max_image_width = 0

# How to display URL addresses: 'footnote', 'no', or 'inline'.
#epub_show_urls = 'inline'

# If false, no index is generated.
#epub_use_index = True

0 comments on commit 83f5e15

Please sign in to comment.