-
Notifications
You must be signed in to change notification settings - Fork 1
Add api docs #74
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
Merged
Merged
Add api docs #74
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
a08f3c6
add api docs
hannahbaumann 5c60e83
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] ffe13da
Small fixes
hannahbaumann c473cfd
Small fixes
hannahbaumann 2f4146e
Merge branch 'api_docs' of https://github.com/OpenFreeEnergy/openfe_a…
hannahbaumann 3b36a89
Update readthedocs
hannahbaumann af0cbaf
add docs badge to readme
hannahbaumann 05a98b6
Merge branch 'main' into api_docs
hannahbaumann ece3d15
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] fe75bdd
Remove unnecessary files
hannahbaumann 8850b1c
Update docs/conf.py
hannahbaumann 7b26597
Update docs/conf.py
hannahbaumann 2aee512
Address review comments
hannahbaumann af740ed
Merge branch 'api_docs' of https://github.com/OpenFreeEnergy/openfe_a…
hannahbaumann dea7d03
Fix capitalization
hannahbaumann 20f76c0
Merge branch 'main' into api_docs
hannahbaumann 687b401
Merge branch 'main' into api_docs
hannahbaumann 1c5b940
Remove file
hannahbaumann 17bdfe6
Merge branch 'main' into api_docs
hannahbaumann da804e5
Merge branch 'main' into api_docs
hannahbaumann 070cd36
api docs changes
hannahbaumann 74ea37b
Update docs/environment.yaml
hannahbaumann f927202
Update docs/conf.py
hannahbaumann c6ebd59
Update docs/conf.py
hannahbaumann 8cf0e52
Update docs/environment.yaml
hannahbaumann 07db1eb
Update docs/conf.py
hannahbaumann a58886b
Update docs/environment.yaml
hannahbaumann 6047ac4
Update docs/index.rst
hannahbaumann d098ec5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 27013e1
Fix doc strings
hannahbaumann c4bcc84
Merge branch 'api_docs' of https://github.com/OpenFreeEnergy/openfe_a…
hannahbaumann d5eb267
More docs fixes
hannahbaumann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # Minimal makefile for Sphinx documentation | ||
| # | ||
|
|
||
| # You can set these variables from the command line, and also | ||
| # from the environment for the first two. | ||
| SPHINXOPTS ?= -v -W --keep-going | ||
| SPHINXBUILD ?= sphinx-build | ||
| SOURCEDIR = . | ||
| BUILDDIR = _build | ||
|
|
||
| # Put it first so that "make" without argument is like "make help". | ||
| help: | ||
| @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
|
||
| .PHONY: help Makefile | ||
|
|
||
| # Catch-all target: route all unknown targets to Sphinx using the new | ||
| # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
| %: Makefile | ||
| @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| API Documentation | ||
| ================= | ||
|
|
||
| .. autosummary:: | ||
| :toctree: generated | ||
| :recursive: | ||
|
|
||
| openfe_analysis.reader | ||
| openfe_analysis.transformations | ||
| openfe_analysis.rmsd | ||
| openfe_analysis.utils |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| # 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 = "openfe analysis" | ||
| copyright = "2026, The OpenFE Development Team" | ||
| author = "The OpenFE Development Team" | ||
|
|
||
| # -- 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.autosummary", | ||
| "sphinx.ext.napoleon", | ||
| ] | ||
|
|
||
| autoclass_content = "both" | ||
|
|
||
| autodoc_default_options = { | ||
| "members": True, | ||
| "member-order": "bysource", | ||
| "undoc-members": True, | ||
| } | ||
| autosummary_generate = True | ||
|
|
||
| # Add any paths that contain templates here, relative to this directory. | ||
| 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. | ||
| # 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"] | ||
|
|
||
| autodoc_mock_imports = [ | ||
| "MDAnalysis", | ||
| ] | ||
|
|
||
|
|
||
| # -- 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 = "furo" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| name: openfe_analysis-docs | ||
| channels: | ||
| - https://conda.anaconda.org/jaimergp/label/unsupported-cudatoolkit-shim | ||
| - https://conda.anaconda.org/conda-forge | ||
| dependencies: | ||
| - openff-units | ||
| - python=3.12 | ||
| - sphinx | ||
| - furo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| .. template taken from SciPy who took it from Pandas (keep the chain going) | ||
|
|
||
| .. module:: openfe_analysis | ||
|
|
||
| ========================================== | ||
| Welcome to OpenFE Analysis' documentation! | ||
| ========================================== | ||
|
|
||
| The **OpenFE Analysis** toolkit provides a free and open-source framework for analyzing alchemical free energy calculations. | ||
|
|
||
|
|
||
| .. toctree:: | ||
| :maxdepth: 2 | ||
|
|
||
| api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.