diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..cfc3410 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,17 @@ +version: 2 + +sphinx: + configuration: doc/source/conf.py + +formats: all + +build: + os: ubuntu-lts-latest + tools: + python: "3.12" + +python: + install: + - requirements: doc/source/requirements-rtd.txt + - method: pip + path: . diff --git a/.readthedocs.yml b/.readthedocs.yml deleted file mode 100644 index 596dce0..0000000 --- a/.readthedocs.yml +++ /dev/null @@ -1,18 +0,0 @@ -version: 2 - -sphinx: - configuration: doc/source/conf.py - -formats: all - -build: - image: latest - -conda: - environment: doc/source/environment.yml - -python: - version: "3" - install: - - method: pip - path: . diff --git a/doc/source/conf.py b/doc/source/conf.py index f34963f..12e026b 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -57,7 +57,11 @@ # 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'] +exclude_patterns = [ + '_build', + 'Thumbs.db', + '.DS_Store' +] # -- Options for HTML output ------------------------------------------------- diff --git a/doc/source/environment.yml b/doc/source/environment.yml deleted file mode 100644 index 6c25119..0000000 --- a/doc/source/environment.yml +++ /dev/null @@ -1,13 +0,0 @@ -name: lfpykit -channels: - - conda-forge - - defaults -dependencies: - - python=3 - - numpy - - meautility - - sphinx_rtd_theme - - numpydoc - - m2r2 - - pip - - pip: diff --git a/doc/source/requirements-rtd.txt b/doc/source/requirements-rtd.txt new file mode 100644 index 0000000..f005877 --- /dev/null +++ b/doc/source/requirements-rtd.txt @@ -0,0 +1,4 @@ +sphinx +sphinx_rtd_theme +numpydoc +m2r2 diff --git a/pyproject.toml b/pyproject.toml index 77af28f..c07896d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "LFPykit" -version = "0.6.0" +version = "0.6.1" description = "Electrostatic models for multicompartment neuron models" authors = ["LFPy-team "]