mcsinyx.github.io/source/conf.py

43 lines
1.5 KiB
Python
Raw Normal View History

2020-08-07 10:49:27 +02:00
# Configuration file for the Sphinx documentation builder.
#
2020-08-07 16:55:16 +02:00
# This file only contains a selection of the most common options.
# For a full list see the documentation:
2020-08-07 10:49:27 +02:00
# https://www.sphinx-doc.org/en/master/usage/configuration.html
2020-08-07 16:55:16 +02:00
# Project information
2020-08-08 10:56:49 +02:00
project = '/home/cnx'
2020-08-07 16:55:16 +02:00
copyright = '2018-2020, Nguyễn Gia Phong'
2020-08-07 10:49:27 +02:00
author = 'Nguyễn Gia Phong'
2020-08-07 16:55:16 +02:00
# Add any Sphinx extension module names here, as strings.
# They can be extensions coming with Sphinx (named 'sphinx.ext.*')
# or your custom ones.
2020-08-26 11:26:46 +02:00
extensions = ['sphinx.ext.extlinks', 'sphinx.ext.githubpages']
2020-08-30 18:03:34 +02:00
extlinks = {'pip': ('https://github.com/pypa/pip/pull/%s', 'GH-'),
'github': ('https://github.com/%s', '@')}
2020-08-07 10:49:27 +02:00
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = []
2020-08-07 16:55:16 +02:00
# Options for HTML output
2020-09-30 18:43:02 +02:00
html_theme = 'furo'
html_theme_options = {'css_variables': {
'color-brand-primary': '#436e58', 'color-brand-content': '#436e58'}}
2020-08-07 16:55:16 +02:00
2020-08-08 10:56:49 +02:00
html_title = 'Raphael McSinyx'
2020-08-07 16:55:16 +02:00
html_logo = 'CnX.png'
html_favicon = 'favicon.ico'
2020-08-08 10:56:49 +02:00
html_css_files = ['fab.css']
2020-08-07 16:55:16 +02:00
html_show_copyright = False
2020-08-07 10:49:27 +02:00
2020-08-07 16:55:16 +02:00
# 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".
2020-09-12 16:56:21 +02:00
html_static_path = ['static']