Skip to content

Commit

Permalink
Merge pull request #375 from openPMD/doc
Browse files Browse the repository at this point in the history
Add readthedoc configuration
  • Loading branch information
ax3l authored Jun 15, 2023
2 parents 00168f5 + 3ddadaa commit 68412de
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .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.11"

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

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
14 changes: 14 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sphinx
sphinx-design
sphinx_rtd_theme
jupyter
nbsphinx
wget
numba
numpy
matplotlib
pygments
scipy
h5py
tqdm
openpmd_viewer
4 changes: 1 addition & 3 deletions docs/source/api_reference/particle_tracking.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
Particle tracking: ``ParticleTracker``
-------------------------------------
--------------------------------------

.. autoclass:: openpmd_viewer.ParticleTracker

.. automethod::

0 comments on commit 68412de

Please sign in to comment.