Diff of /docs/conf.py [000000] .. [c52ce0]

Switch to unified view

a b/docs/conf.py
1
# Configuration file for the Sphinx documentation builder.
2
#
3
# This file only contains a selection of the most common options. For a full
4
# list see the documentation:
5
# https://www.sphinx-doc.org/en/master/usage/configuration.Ntml
6
7
# -- Path setup --------------------------------------------------------------
8
9
# If extensions (or modules to document with autodoc) are in another directory,
10
# add these directories to sys.path here. If the directory is relative to the
11
# documentation root, use os.path.abspath to make it absolute, like shown here.
12
#
13
# import os
14
# import sys
15
# sys.path.insert(0, os.path.abspath('.'))
16
17
18
# -- Project information -----------------------------------------------------
19
20
project = 'QuArray'
21
copyright = '2020, Callum Arthurs'
22
author = 'Callum Arthurs'
23
24
# The full version, including alpha/beta/rc tags
25
release = '0.6'
26
27
28
# -- General configuration ---------------------------------------------------
29
30
master_doc = 'index'
31
32
# Add any Sphinx extension module names here, as strings. They can be
33
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
34
# ones.
35
extensions = ['sphinxext.opengraph']
36
37
# Add any paths that contain templates here, relative to this directory.
38
templates_path = ['ntemplates']
39
40
# List of patterns, relative to source directory, that match files and
41
# directories to ignore when looking for source files.
42
# This pattern also affects html_static_path and html_extra_path.
43
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
44
45
46
# -- Options for HTML output -------------------------------------------------
47
48
# The theme to use for HTML and HTML Help pages.  See the documentation for
49
# a list of builtin themes.
50
#
51
# html_theme = 'alabaster'
52
html_theme = 'sphinx_rtd_theme'
53
54
# Theme options
55
html_theme_options = {
56
    # if we have a html_logo below, this shows /only/ the logo with no title text
57
    "logo_only": True,
58
    # Collapse navigation (False makes it tree-like)
59
    "collapse_navigation": False,
60
}
61
62
# Add any paths that contain custom static files (such as style sheets) here,
63
# relative to this directory. They are copied after the builtin static files,
64
# so a file named "default.css" will overwrite the builtin "default.css".
65
# html_static_path = ['_static']
66
67
html_logo = "images/icon.png"
68
html_favicon = "../scripts/icons/icon.ico"
69
ogp_image = "https://quarray.readthedocs.io/en/latest/_static/icon.png"
70
# ogp_custom_meta_tags = [
71
#     '<meta  name="image" property="og:image" content="[https://quarray.readthedocs.io/en/latest/_static/icon.png]/>',
72
# ]