Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
---
# .readthedocs.yml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF and ePub
formats: all

# Optionally set the version of Python and requirements required to build your docs
python:
install:
- requirements: requirements.txt
- requirements: docs/requirements.txt
- path: .
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ To learn about how to use the OpenAEV Python client and read some examples and c

### API reference

To learn about the methods available for executing queries and retrieving their answers, refer to [the client API Reference](https://openaev-client-for-python.readthedocs.io/en/latest/pyoaev/pyoaev.html).
To learn about the methods available for executing queries and retrieving their answers, refer to [the client API Reference](https://openaev-client-for-python.readthedocs.io/en/latest/autoapi/index.html).

## Tests

Expand Down
Empty file added docs/_static/.gitkeep
Empty file.
50 changes: 9 additions & 41 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,65 +1,33 @@
# 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

# -- 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

sys.path.insert(0, os.path.abspath(".."))


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

project = "OpenAEV client for Python"
copyright = "2024, Filigran"
author = "OpenAEV Project"

# The full version, including alpha/beta/rc tags
release = "1.10.1"

master_doc = "index"

autoapi_modules = {"pyoaev": {"prune": True}}

pygments_style = "sphinx"

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

# 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.inheritance_diagram",
"autoapi.sphinx",
"autoapi.extension",
"sphinx_autodoc_typehints",
]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
autoapi_dirs = ["../pyoaev"] # adjust this path to where your source package is
autoapi_options = [
"members",
"undoc-members",
"show-inheritance",
"show-module-summary",
]

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


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

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"

# 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"]
5 changes: 0 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,17 @@
OpenAEV client for Python
=========================

The pyoaev library is designed to help OpenAEV users and developers to interact
with the OpenAEV platform API.

The Python library requires Python >= 3.

.. toctree::
:maxdepth: 2
:caption: Contents:

client_usage/getting_started.rst
pyoaev/pyoaev


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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
7 changes: 4 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
autoapi==2.0.1
sphinx==8.2.3
sphinx==9.1.0
sphinx-autoapi==3.4.0
astroid==3.3.8
sphinx-autodoc-typehints==3.2.0
sphinx_rtd_theme==3.0.2
sphinx_rtd_theme==3.1.0
Loading