Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ python:
- method: pip
path: .
extra_requirements:
- docs
- docs
5 changes: 5 additions & 0 deletions docs/_templates/module.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{{ fullname }}
{{ underline }}

.. automodule:: {{ fullname }}
:members:
17 changes: 0 additions & 17 deletions docs/api.rst

This file was deleted.

6 changes: 4 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,19 +45,21 @@

extensions = ['myst_parser', 'sphinx.ext.napoleon', 'sphinx_markdown_tables', 'sphinx.ext.autosectionlabel',
'sphinx.ext.linkcode', 'sphinx.ext.intersphinx', 'sphinx.ext.autodoc', 'sphinx.ext.autosummary']
extensions.append('autoapi.extension')
autoapi_dirs = ['', '../flip']

napoleon_google_docstring = True
myst_enable_extensions = ["dollarmath"]
myst_dmath_double_inline = True

autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
autosummary_generate = True

# 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 = []
exclude_patterns = ['_build', '_templates']

source_suffix = {
'.rst': 'restructuredtext',
Expand Down
4 changes: 3 additions & 1 deletion flip/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"""Init file of the flip package."""
import os
from . import covariance
from . import fitter
from . import gridding
from . import likelihood
from . import model_evaluation
from . import utils

__version__ = "1.0.0"
__version__ = "1.0.0"
__flip_dir_path__ = os.path.dirname(__file__)
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ docs =
sphinx-design
sphinx-inline-tabs
sphinx-tabs
sphinx-autoapi