Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 committed Oct 27, 2023
1 parent 6b4a1c8 commit c0ebe68
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 36 deletions.
47 changes: 25 additions & 22 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# -*- coding: utf-8 -*-
#
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# This file does only contain a selection of the most common options. For a
# full list see the documentation:
# http://www.sphinx-doc.org/en/master/config

# -- Path setup --------------------------------------------------------------

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#

import os
import sys
from os.path import dirname, abspath
Expand All @@ -19,21 +22,23 @@

version_path = os.path.join(suod_dir, 'suod', 'version.py')
exec(open(version_path).read())

# -- Project information -----------------------------------------------------

project = 'SUOD'
copyright = '2020, Yue Zhao'
project = 'suod'
copyright = '2021, Yue Zhao'
author = 'Yue Zhao'

# The short X.Y version
version = __version__
# The full version, including alpha/beta/rc tags
release = __version__


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

# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
Expand Down Expand Up @@ -63,13 +68,16 @@
# The master toctree document.
master_doc = 'index'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None

# 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.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']

# The name of the Pygments (syntax highlighting) style to use.
Expand All @@ -80,20 +88,15 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'furo'
# html_theme = 'default'

# 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".
html_static_path = ['_static']
html_theme = "furo"

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

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme = 'alabaster'
html_theme = 'default'
# html_theme_options = {}

# 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,
Expand All @@ -109,8 +112,8 @@
# 'searchbox.html']``.
#
# html_sidebars = {}
html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html',
'searchbox.html']}
# html_sidebars = {'**': ['globaltoc.html', 'relations.html', 'sourcelink.html',
# 'searchbox.html']}

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

Expand Down Expand Up @@ -170,4 +173,4 @@
# -- Options for intersphinx extension ---------------------------------------

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'https://docs.python.org/': None}
intersphinx_mapping = {'https://docs.python.org/': None}
12 changes: 4 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -199,16 +199,12 @@ If you use SUOD in a scientific publication, we would appreciate citations to th

----



.. rubric:: References

.. bibliography::
:cited:
:labelprefix: A
:keyprefix: a-



Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
14 changes: 8 additions & 6 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ combo
furo
joblib
matplotlib
numpy>=1.13
scipy>=0.19.1
scikit_learn>=0.19.1
nose
numpy>=1.19
numba>=0.51
pytest
scipy>=1.5.1
scikit_learn>=0.22.0
six
sphinx-rtd-theme
sphinxcontrib-bibtex
pandas
pyod
docutils
docutils

0 comments on commit c0ebe68

Please sign in to comment.