Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated docs #31

Merged
merged 3 commits into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


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

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## v0.4.1

- Updated docs
- Compatibility with param 2.0. Updated minimum version to 1.12
- Made deserialization error messages more informative
- Switched to GitHub workflows
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Sphinx>=4.4
sphinx-autodoc-typehints
myst-parser
param
sphinx_rtd_theme>=0.5
sphinx-rtd-theme>=0.5
8 changes: 8 additions & 0 deletions docs/source/api/pydrobert/param.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pydrobert.param
===============

.. toctree::
:glob:
:maxdepth: 1

param/*
7 changes: 7 additions & 0 deletions docs/source/api/pydrobert/param/abc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
abc
===

.. toctree::

.. automodule:: pydrobert.param.abc
:members:
7 changes: 7 additions & 0 deletions docs/source/api/pydrobert/param/argparse.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
argparse
========

.. toctree::

.. automodule:: pydrobert.param.argparse
:members:
7 changes: 7 additions & 0 deletions docs/source/api/pydrobert/param/config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
config
======

.. toctree::

.. automodule:: pydrobert.param.config
:members:
7 changes: 7 additions & 0 deletions docs/source/api/pydrobert/param/optuna.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
optuna
======

.. toctree::

.. automodule:: pydrobert.param.optuna
:members:
7 changes: 7 additions & 0 deletions docs/source/api/pydrobert/param/serialization.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
serialization
=============

.. toctree::

.. automodule:: pydrobert.param.serialization
:members:
18 changes: 13 additions & 5 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,25 @@
:parser: myst_parser.sphinx_

.. toctree::
:glob:
:caption: Tutorials

tutorials/*

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

serialization
hyperopt
api/pydrobert/param

.. toctree::
:caption: Other

cli
modules

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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
* :ref:`search`
17 changes: 0 additions & 17 deletions docs/source/modules.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/source/pydrobert.param.abc.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/source/pydrobert.param.argparse.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/source/pydrobert.param.config.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/source/pydrobert.param.optuna.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/source/pydrobert.param.serialization.rst

This file was deleted.

File renamed without changes.
File renamed without changes.
7 changes: 7 additions & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# development environment

name: pydrobert-param

channels:
Expand All @@ -13,3 +15,8 @@ dependencies:
- pandas
- optuna
- param
- sphinx
- myst-parser
- sphinx-autodoc-typehints
- sphinx_rtd_theme