-
Notifications
You must be signed in to change notification settings - Fork 0
Add .readthedocs.yml to the template #37
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| # .readthedocs.yml | ||
| # Read the Docs configuration file for Sphinx projects | ||
| # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
|
||
| # Required | ||
| version: 2 | ||
|
|
||
| # Set the OS, Python version and other tools you might need | ||
| build: | ||
| os: ubuntu-24.04 | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure which version we want to use as the default. The old cookiecutter template had |
||
| tools: | ||
| python: {{ latest_python_version }} | ||
| {% if 'libsndfile1' in apt_packages -%} | ||
| apt_packages: | ||
| - libsndfile1 | ||
| {%- endif %} | ||
|
|
||
| # Build documentation in the "docs/" directory with Sphinx | ||
| sphinx: | ||
| configuration: docs/conf.py | ||
|
|
||
| # Optionally build your docs in additional formats such as PDF and ePub | ||
| formats: | ||
|
|
||
| # 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: | ||
| - method: pip | ||
| path: ".[docs]" | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,7 @@ def copier_project_defaults(): | |
| "license": "MIT", | ||
| "copyright_statement": "2025, The pyfar developers", | ||
| "project_short_description": "my_project_short_description", | ||
| "python_versions": "['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have also added this line to the standard test configuration, since we will be updating the |
||
| } | ||
|
|
||
| @pytest.fixture(scope="session") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently, because of the
when: Falseattribute, this parameter is not included in the questionnaires and always takes the default value. Please let me know if you think this parameter should be displayed to the user when creating/updating a project.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe you can discuss this point in the weekly, both options would work for me.
advatange of always using the latest version is that we dont need to worry about it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, thank you, I could bring it up in the meeting today :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have decided to leave the parameter unchanged so that the latest python version is always used as the parameter value