<commit_before>import os
import sys
sys.path.insert(0, os.path.abspath('..'))

import netsgiro  # noqa


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

# needs_sphinx = '1.0'

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.viewcode',
]

templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'

project = 'netsgiro'
copyright = '2017, Otovo AS'
author = '<NAME>'

release = netsgiro.__version__
version = '.'.join(release.split('.')[:2])

language = None
exclude_patterns = ['_build']

pygments_style = 'sphinx'

todo_include_todos = False


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

html_theme = 'alabaster'
# html_theme_options = {}
html_static_path = ['_static']


# -- Options for HTMLHelp output ------------------------------------------

htmlhelp_basename = 'netsgiro'


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

latex_elements = {
    'papersize': 'a4paper',
    # 'pointsize': '10pt',
    # 'preamble': '',
    # 'figure_align': 'htbp',
}

latex_documents = [
    (
        master_doc,
        'netsgiro.tex',
        'netsgiro documentation',
        'Otovo AS',
        'manual',
    ),
]
<commit_msg>docs: Use the RTD Sphinx theme<commit_after>import os
import sys

import sphinx_rtd_theme

sys.path.insert(0, os.path.abspath('..'))

import netsgiro  # noqa


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

# needs_sphinx = '1.0'

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.viewcode',
]

templates_path = ['_templates']
source_suffix = '.rst'
master_doc = 'index'

project = 'netsgiro'
copyright = '2017, Otovo AS'
author = 'Otovo AS'

release = netsgiro.__version__
version = '.'.join(release.split('.')[:2])

language = None
exclude_patterns = ['_build']

pygments_style = 'sphinx'

todo_include_todos = False


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

html_theme = 'sphinx_rtd_theme'
html_theme_options = {}
html_theme_options['canonical_url'] = (
    'https://netsgiro.readthedocs.io/en/latest/')
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_static_path = ['_static']


# -- Options for HTMLHelp output ------------------------------------------

htmlhelp_basename = 'netsgiro'


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

latex_elements = {
    'papersize': 'a4paper',
    # 'pointsize': '10pt',
    # 'preamble': '',
    # 'figure_align': 'htbp',
}

latex_documents = [
    (
        master_doc,
        'netsgiro.tex',
        'netsgiro documentation',
        'Otovo AS',
        'manual',
    ),
]

{'fraction_non_alphanumeric': 0.2651995524058187, 'fraction_numerical': 0.008205893323386795, 'mean_word_length': 2.044267877412032, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5950946', 'n_tokens_mistral': 917, 'n_tokens_neox': 864, 'n_words': 166}