diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 811702d..8901566 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,8 +3,12 @@ version: 2 sphinx: configuration: docs/source/conf.py +build: + os: ubuntu-22.04 + tools: + python: "3.12" + python: - version: 3.11 install: - requirements: requirements.txt - requirements: docs/requirements.txt diff --git a/docs/source/api/Siterator.rst b/docs/source/api/Siterator.rst index 21c4d5c..df60c79 100644 --- a/docs/source/api/Siterator.rst +++ b/docs/source/api/Siterator.rst @@ -1,9 +1,10 @@ Siterator ========= -.. automodule:: Splitter +.. automodule:: stree .. autoclass:: Siterator :members: :undoc-members: :private-members: - :show-inheritance: \ No newline at end of file + :show-inheritance: + :noindex: \ No newline at end of file diff --git a/docs/source/api/Snode.rst b/docs/source/api/Snode.rst index 8746562..b1d0ccc 100644 --- a/docs/source/api/Snode.rst +++ b/docs/source/api/Snode.rst @@ -1,9 +1,9 @@ Snode ===== -.. automodule:: Splitter -.. autoclass:: Snode +.. autoclass:: stree.Splitter.Snode :members: :undoc-members: :private-members: - :show-inheritance: \ No newline at end of file + :show-inheritance: + :noindex: \ No newline at end of file diff --git a/docs/source/api/Splitter.rst b/docs/source/api/Splitter.rst index 4e73b95..e7e93e7 100644 --- a/docs/source/api/Splitter.rst +++ b/docs/source/api/Splitter.rst @@ -1,9 +1,10 @@ Splitter ======== -.. automodule:: Splitter +.. automodule:: stree.Splitter .. autoclass:: Splitter :members: :undoc-members: :private-members: - :show-inheritance: \ No newline at end of file + :show-inheritance: + :noindex: \ No newline at end of file diff --git a/docs/source/api/Stree.rst b/docs/source/api/Stree.rst index 1f0de94..e3609f4 100644 --- a/docs/source/api/Stree.rst +++ b/docs/source/api/Stree.rst @@ -6,4 +6,5 @@ Stree :members: :undoc-members: :private-members: - :show-inheritance: \ No newline at end of file + :show-inheritance: + :noindex: \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index dd859b3..1253aac 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -6,26 +6,21 @@ # -- 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 stree._version import __version__ +from pathlib import Path -sys.path.insert(0, os.path.abspath("../../stree/")) +sys.path.insert(0, str(Path(__file__).parent.parent.parent)) + +import stree # -- Project information ----------------------------------------------------- project = "STree" -copyright = "2020 - 2022, Ricardo Montañana Gómez" +copyright = "2020 - 2024, Ricardo Montañana Gómez" author = "Ricardo Montañana Gómez" # The full version, including alpha/beta/rc tags -version = __version__ -release = version - +version = release = stree.__version__ # -- General configuration --------------------------------------------------- diff --git a/docs/source/index.rst b/docs/source/index.rst index ccfdd26..55e9246 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -5,7 +5,6 @@ Welcome to STree's documentation! :caption: Contents: :titlesonly: - stree install hyperparameters diff --git a/stree/_version.py b/stree/_version.py index bf25615..3e8d9f9 100644 --- a/stree/_version.py +++ b/stree/_version.py @@ -1 +1 @@ -__version__ = "1.4.1" +__version__ = "1.4.0"