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.html |
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
|
|
|
|
16
|
|
|
sys.path.insert(0, os.path.abspath('..')) |
17
|
|
|
|
18
|
|
|
# -- Project information ----------------------------------------------------- |
19
|
|
|
project = 'Phishing Blocker Project - Analytics' |
20
|
|
|
copyright = '2020, Star Inc.' |
21
|
|
|
author = 'Star Inc.' |
22
|
|
|
|
23
|
|
|
# The full version, including alpha/beta/rc tags |
24
|
|
|
release = 'v1' |
25
|
|
|
|
26
|
|
|
# -- General configuration --------------------------------------------------- |
27
|
|
|
master_doc = 'index' |
28
|
|
|
|
29
|
|
|
# Add any Sphinx extension module names here, as strings. They can be |
30
|
|
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
31
|
|
|
# ones. |
32
|
|
|
extensions = ['sphinx.ext.autodoc'] |
33
|
|
|
|
34
|
|
|
# Add any paths that contain templates here, relative to this directory. |
35
|
|
|
templates_path = ['_templates'] |
36
|
|
|
|
37
|
|
|
# List of patterns, relative to source directory, that match files and |
38
|
|
|
# directories to ignore when looking for source files. |
39
|
|
|
# This pattern also affects html_static_path and html_extra_path. |
40
|
|
|
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
41
|
|
|
|
42
|
|
|
# -- Options for HTML output ------------------------------------------------- |
43
|
|
|
|
44
|
|
|
# The theme to use for HTML and HTML Help pages. See the documentation for |
45
|
|
|
# a list of builtin themes. |
46
|
|
|
# |
47
|
|
|
html_theme = 'alabaster' |
48
|
|
|
|
49
|
|
|
# Add any paths that contain custom static files (such as style sheets) here, |
50
|
|
|
# relative to this directory. They are copied after the builtin static files, |
51
|
|
|
# so a file named "default.css" will overwrite the builtin "default.css". |
52
|
|
|
html_static_path = ['_static'] |
53
|
|
|
|