コード例 #1
0
ファイル: conf.py プロジェクト: ahnitz/trigfind
# a list of builtin themes.
html_theme = 'bootstrap'

# 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
# documentation.
html_theme_options = {
    'bootswatch_theme': 'flatly',
    'navbar_site_name': 'API',
    'navbar_links': [
        ('GitHub', '//github.com/ligovirgo/trigfind/', True),
    ],
}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()

# The name for this set of Sphinx documents.
# "<project> v<release> documentation" by default.
#html_title = u'trigfind v0.3'

# A shorter title for the navigation bar.  Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None

# The name of an image file (relative to this directory) to use as a favicon of
# the docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
コード例 #2
0
ファイル: conf.py プロジェクト: Cadair/iceberg_software
exclude_patterns = ['_build', 'themes', 'README.rst']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False


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

import sphinx_bootstrap_theme

html_theme = 'tuos'

html_theme_path = ['themes'] + sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {'navbar_sidebarrel':False,
                      'navbar_pagenav': False,
                      'source_link_position': False,
                      'bootswatch_theme': 'flatly',
                      'navbar_site_name': "Sheffield HPC Documentation",
                      'navbar_title': ' ',
                      'navbar_links': [("RCG Home", "http://www.shef.ac.uk/cics/research", True),
                                       ("Documentation Home", "index"),
                                       ("GitHub", "https://github.com/rcgsheffield/sheffield_hpc", True),
                                       ],
                      'globaltoc_depth': 1}

#html_sidebars = {'software/**': ['softwaretoc.html'],
#                 'gpu/**': ['softwaretoc.html'],
コード例 #3
0
ファイル: conf.py プロジェクト: Silmathoron/NNGT
# If true, keep warnings as "system message" paragraphs in the built documents.
#keep_warnings = False

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False


# -- 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 = 'sphinx_rtd_theme'

html_theme = 'nngt_theme'
html_theme_path = ["."] + sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {
    # A list of tuples containing pages or urls to link to.
    # Valid tuples should be in the following forms:
    #    (name, page)                 # a link to a page
    #    (name, "/aa/bb", 1)          # a link to an arbitrary relative url
    #    (name, "http://example.com", True) # arbitrary absolute url
    # Note the "1" or "True" value above as the third argument to indicate
    # an arbitrary url.
    'navbar_links': [
        ("Modules", "py-modindex"),
        ("Index", "genindex"),
        ("GitHub", "https://github.com/Silmathoron/NNGT", True),
    ],
コード例 #4
0
ファイル: conf.py プロジェクト: RaphaelRochet/puddletag
# output. They are ignored by default.
#show_authors = False

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []


# -- 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 = 'bootstrap'
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() + ['_templates']

#agogo/theme.conf
#basic/theme.conf
#default/theme.conf
#epub/theme.conf
#haiku/theme.conf
#nature/theme.conf
#scrolls/theme.conf
#sphinxdoc/theme.conf
#traditional/theme.conf


# 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
# documentation.
コード例 #5
0
ファイル: conf.py プロジェクト: evhub/coconut
# -----------------------------------------------------------------------------------------------------------------------
# DEFINITIONS:
# -----------------------------------------------------------------------------------------------------------------------

from coconut.constants import (  # NOQA
    project,
    copyright,
    author,
    highlight_language,
)

version = VERSION
release = version_str_tag

html_theme = "bootstrap"
html_theme_path = get_html_theme_path()

master_doc = "index"
exclude_patterns = ["README.*"]

source_suffix = [".rst", ".md"]
source_parsers = {
    ".md": CommonMarkParser,
}

default_role = "code"

# -----------------------------------------------------------------------------------------------------------------------
# SETUP:
# -----------------------------------------------------------------------------------------------------------------------
コード例 #6
0
ファイル: conf.py プロジェクト: SBottani/NNGT
#modindex_common_prefix = []

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

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

# -- 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 = 'sphinx_rtd_theme'

html_theme = 'nngt_theme'
html_theme_path = ["."] + sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {
    # A list of tuples containing pages or urls to link to.
    # Valid tuples should be in the following forms:
    #    (name, page)                 # a link to a page
    #    (name, "/aa/bb", 1)          # a link to an arbitrary relative url
    #    (name, "http://example.com", True) # arbitrary absolute url
    # Note the "1" or "True" value above as the third argument to indicate
    # an arbitrary url.
    'navbar_links': [
        ("Modules", "py-modindex"),
        ("Index", "genindex"),
        ("GitHub", "https://github.com/Silmathoron/NNGT", True),
    ],
コード例 #7
0
ファイル: conf.py プロジェクト: sejarah-nusantara/repository
# -- 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 = 'bootstrap'
html_theme = 'sphinxdoc'
html_theme = 'agogo'

# 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
# documentation.

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = sphinx_bootstrap_theme.get_html_theme_path()

# The name for this set of Sphinx documents.  If None, it defaults to
# "<project> v<release> documentation".
#html_title = None

# A shorter title for the navigation bar.  Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None

# The name of an image file (within the static path) to use as favicon of the
# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
コード例 #8
0
    # Bootswatch (http://bootswatch.com/) theme.
    #
    # Options are nothing with "" (default) or the name of a valid theme
    # such as "amelia" or "cosmo" or "united".
    'bootswatch_theme': "custom",

    # Choose Bootstrap version.
    # Values: "3" (default) or "2" (in quotes)
    #         version "2" is not supported by "custom" theme
    'bootstrap_version': "3",
}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
html_theme_path = bssp.get_html_theme_path()

# The name for this set of Sphinx documents.  If None, it defaults to
# "<project> v<release> documentation".
#html_title = None

# A shorter title for the navigation bar.  Default is the same as html_title.
#html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
html_logo = "lpn.svg"

# The name of an image file (within the static path) to use as favicon of the
# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
コード例 #9
0
ファイル: conf.py プロジェクト: rblack42/exploring-flask
master_doc = 'index'

project = u'exploring-flask'
author = u'Roie R. Black'
copyright = u'2014, Roie R. Black'
version = '0.1.0'
release = '0.1.0'

today_fmt = '%B %d, %Y'
exclude_patterns = ['docs/_build', '_venv']
pygments_style = 'sphinx'


# -- Options for HTML output ----------------------------------------------
html_theme = 'bootstrap'
html_theme_path = bst.get_html_theme_path()
html_title = None
html_logo = ''
html_favicon = None
html_static_path = ['_static']
html_last_updated_fmt = '%b %d, %Y'
html_show_sourcelink = True
html_show_sphinx = True
html_show_copyright = True

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

latex_elements = {
'papersize': 'letterpaper',
'pointsize': '10pt',
#'preamble': '',
コード例 #10
0
# directories to ignore when looking for source files.
exclude_patterns = ['_build', 'themes', 'README.rst']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False

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

import sphinx_bootstrap_theme

html_theme = 'tuos'

html_theme_path = ['themes'] + sphinx_bootstrap_theme.get_html_theme_path()

html_theme_options = {
    'navbar_sidebarrel':
    False,
    'navbar_pagenav':
    False,
    'source_link_position':
    False,
    'bootswatch_theme':
    'flatly',
    'navbar_site_name':
    "Sheffield HPC Documentation",
    'navbar_title':
    ' ',
    'navbar_links': [
コード例 #11
0
# -*- coding: utf-8 -*-
import sys
import os
import sphinx_bootstrap_theme
from pyquickhelper.helpgen.default_conf import set_sphinx_variables, get_default_stylesheet
import actuariat_python

sys.path.insert(0, os.path.abspath(os.path.join(os.path.split(__file__)[0])))

set_sphinx_variables(__file__, "Python pour un Actuaire", "Xavier Dupré",
                     2019, "bootstrap", sphinx_bootstrap_theme.get_html_theme_path(),
                     locals(), add_extensions=None, book=True, nblayout='table',
                     extlinks=dict(
                         issue=('https://github.com/sdpython/actuariat_python/issues/%s', 'issue')),
                     doc_version=actuariat_python.__version__)

html_logo = "phdoc_static/project_ico_small.png"
language = "fr"
html_split_index = True

if html_theme == "bootstrap":
    html_theme_options = {
        'navbar_title': "BASE",
        'navbar_site_name': "Site",
        'navbar_links': [
            ("XD", "http://www.xavierdupre.fr", True),
            ("ENSAE",
             "http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx3/index.html", True),
            ("module", "py-modindex"),
            ("index", "genindex"),
        ],
コード例 #12
0
ファイル: conf.py プロジェクト: timgates42/coconut
with univ_open("index.rst", "w") as index_file:
    index_file.write(readme.replace(without_toc, with_toc))

# -----------------------------------------------------------------------------------------------------------------------
# DEFINITIONS:
# -----------------------------------------------------------------------------------------------------------------------

from coconut.constants import (  # NOQA
    project, copyright, author, highlight_language,
)

version = VERSION
release = version_str_tag

html_theme = "bootstrap"
html_theme_path = get_html_theme_path()

master_doc = "index"
exclude_patterns = ["README.*"]

source_suffix = [".rst", ".md"]
source_parsers = {
    ".md": CommonMarkParser,
}

default_role = "code"

# -----------------------------------------------------------------------------------------------------------------------
# SETUP:
# -----------------------------------------------------------------------------------------------------------------------