Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
thieu1995 committed Jul 13, 2022
1 parent 8ae2be2 commit 24b627e
Show file tree
Hide file tree
Showing 20 changed files with 865 additions and 939 deletions.
27 changes: 21 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,22 @@
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sphinx_rtd_theme
import os
import sys

sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('../../'))
sys.path.insert(1, os.path.abspath('../../opfunu'))

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

project = 'opfunu'
copyright = '2020, Thieu Nguyen'
author = 'Thieu Nguyen'
copyright = '2020, Thieu'
author = 'Thieu'

# The full version, including alpha/beta/rc tags
release = '1.0.0'

# specify the master doc, otherwise the build at read the docs fails
master_doc = 'index'
Expand All @@ -30,16 +39,20 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.napoleon']

extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.intersphinx",
"sphinx.ext.viewcode",
]

# 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 = ['_build', 'Thumbs.db', '.DS_Store']
exclude_patterns = []


# -- Options for HTML output -------------------------------------------------
Expand All @@ -49,7 +62,9 @@
#
html_theme = 'sphinx_rtd_theme'

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]

# 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_static_path = ['_static']
15 changes: 7 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,23 @@ Opfunu's documentation!
=======================

.. toctree::
:maxdepth: 2
:maxdepth: 4
:caption: opfunu's documentation!

pages/introduction.rst
pages/notes.rst


.. toctree::
:maxdepth: 2
:maxdepth: 4
:caption: Models

pages/cec/cec_index.rst
pages/cec_basic/cec_basic.rst
pages/dimension_based/dimension_based.rst
pages/type_based/type_based.rst

pages/cec_based
pages/name_based
pages/utils

.. toctree::
:maxdepth: 2
:maxdepth: 4
:caption: Need Helps

pages/license.rst
Expand Down
211 changes: 0 additions & 211 deletions docs/pages/cec/cec2005.rst

This file was deleted.

75 changes: 0 additions & 75 deletions docs/pages/cec/cec2008.rst

This file was deleted.

Loading

0 comments on commit 24b627e

Please sign in to comment.