From 644b025387a39627d5e1af9577d3398460072d8c Mon Sep 17 00:00:00 2001
From: Alejandro Moreo <alejandro.moreo@isti.cnr.it>
Date: Wed, 14 Feb 2024 14:21:29 +0100
Subject: [PATCH] merge v0.1.8

---
 docs/source/conf.py | 55 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 docs/source/conf.py

diff --git a/docs/source/conf.py b/docs/source/conf.py
new file mode 100644
index 0000000..734acf2
--- /dev/null
+++ b/docs/source/conf.py
@@ -0,0 +1,55 @@
+# Configuration file for the Sphinx documentation builder.
+#
+# For the full list of built-in configuration values, see the documentation:
+# https://www.sphinx-doc.org/en/master/usage/configuration.html
+
+# -- Project information -----------------------------------------------------
+# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
+
+import pathlib
+import sys
+from os.path import join
+quapy_path = join(pathlib.Path(__file__).parents[2].resolve().as_posix(), 'quapy')
+print(f'quapy path={quapy_path}')
+sys.path.insert(0, quapy_path)
+
+
+project = 'QuaPy: A Python-based open-source framework for quantification'
+copyright = '2024, Alejandro Moreo'
+author = 'Alejandro Moreo'
+
+
+
+import quapy
+
+release = quapy.__version__
+
+# -- General configuration ---------------------------------------------------
+# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
+
+extensions = [
+    'sphinx.ext.duration',
+    'sphinx.ext.doctest',
+    'sphinx.ext.autodoc',
+    'sphinx.ext.autosummary',
+    'sphinx.ext.viewcode',
+    'sphinx.ext.napoleon'
+]
+
+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']
+
+
+# -- Options for HTML output -------------------------------------------------
+# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
+
+html_theme = 'sphinx_rtd_theme'
+# html_theme = 'furo'
+# need to be installed: pip install furo (not working...)
+html_static_path = ['_static']
+
+