diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml new file mode 100644 index 00000000..4f075c62 --- /dev/null +++ b/docs/.readthedocs.yaml @@ -0,0 +1,22 @@ +# .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 + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: requirements.txt diff --git a/docs/source/stride/api/optimisation/pipelines.rst b/docs/source/stride/api/optimisation/pipelines.rst index 549d2d9d..06e08f79 100644 --- a/docs/source/stride/api/optimisation/pipelines.rst +++ b/docs/source/stride/api/optimisation/pipelines.rst @@ -28,11 +28,6 @@ Steps :undoc-members: :show-inheritance: -.. automodule:: stride.optimisation.pipelines.steps.filter_wavelets - :members: - :undoc-members: - :show-inheritance: - .. automodule:: stride.optimisation.pipelines.steps.norm_per_shot :members: :undoc-members: diff --git a/mosaic/profile/profile.py b/mosaic/profile/profile.py index 5cbd2bac..b8afbd27 100644 --- a/mosaic/profile/profile.py +++ b/mosaic/profile/profile.py @@ -15,7 +15,10 @@ import mosaic -import _profile +try: + import _profile +except ImportError: + pass __all__ = ['Profiler', 'GlobalProfiler', 'profiler',