<commit_before># pyinfra
# File: docs/conf.py
# Desc: minimal Sphinx config

extensions = [
    # Official
    'sphinx.ext.autodoc',
    'sphinx.ext.napoleon'
]

source_suffix = '.rst'
master_doc = 'index'
project = 'pyinfra'
copyright = '2015, <NAME> (Fizzadar)'
author = 'Fizzadar'
version = 'develop'
pygments_style = 'sphinx'

# Theme style override
html_theme = 'sphinx_rtd_theme'
html_static_path = ['static']
html_style = 'style.css'<commit_msg>Attempt to get rtd to use custom styles.<commit_after># pyinfra
# File: docs/conf.py
# Desc: minimal Sphinx config

import os


extensions = [
    # Official
    'sphinx.ext.autodoc',
    'sphinx.ext.napoleon'
]

source_suffix = '.rst'
master_doc = 'index'
project = 'pyinfra'
copyright = '2015, <NAME> (Fizzadar)'
author = 'Fizzadar'
version = 'develop'
pygments_style = 'sphinx'

# Theme style override
html_theme = 'sphinx_rtd_theme'
html_static_path = ['static']
html_style = 'style.css'

# Readthedocs appears to ignore html_style
if os.environ.get('READTHEDOCS') == 'True':
    html_context = {
        'css_files': [
            'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
            'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
            '_static/style.css'
        ]
    }
{'fraction_non_alphanumeric': 0.13801261829652997, 'fraction_numerical': 0.006309148264984227, 'mean_word_length': 3.7706766917293235, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '3652857', 'n_tokens_mistral': 497, 'n_tokens_neox': 470, 'n_words': 95}