Skip to content

Commit 37a12bf

Browse files
committed
Merge branch 'develop' into v24.6
2 parents d42cba5 + d40cc4f commit 37a12bf

File tree

8 files changed

+26
-15
lines changed

8 files changed

+26
-15
lines changed

.github/release_workflow.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ To create a new release, follow these steps:
1111
- Increment the following;
1212
- The version number in the `pyproject.toml` and `CITATION.cff` files following CalVer versioning.
1313
- The`CHANGELOG.md` version with the changes for the new version.
14+
- Add a new entry for the documentation site version switcher located at `docs/_static/switcher.json`
1415
- Open a PR to the `main` branch. Once the PR is merged, proceed to the next step.
1516

1617
2. **Tag the Release:**

CONTRIBUTING.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You now have everything you need to start making changes!
7070
### C. Merging your changes with PyBOP
7171

7272
10. [Test your code!](#testing)
73-
12. If you added a major new feature, perhaps it should be showcased in an [example notebook](#example-notebooks).
73+
12. If you added a major new feature, perhaps it should be showcased in an [example notebook](https://github.com/pybop-team/PyBOP/tree/develop/examples/notebooks).
7474
13. If you've added new functionality, please add additional tests to ensure ample code coverage in PyBOP.
7575
13. When you feel your code is finished, or at least warrants serious discussion, create a [pull request](https://help.github.com/articles/about-pull-requests/) (PR) on [PyBOP's GitHub page](https://github.com/pybop-team/PyBOP).
7676
14. Once a PR has been created, it will be reviewed by any member of the community. Changes might be suggested which you can make by simply adding new commits to the branch. When everything's finished, someone with the right GitHub permissions will merge your changes into PyBOP main repository.
@@ -314,8 +314,6 @@ Configuration files:
314314
pyproject.toml
315315
```
316316

317-
Note that this file must be kept in sync with the version number in [pybop/**init**.py](https://github.com/pybop-team/PyBOP/blob/develop/pybop/__init__.py).
318-
319317
### Continuous Integration using GitHub actions
320318

321319
Each change pushed to the PyBOP GitHub repository will trigger the test and benchmark suites to be run, using [GitHub actions](https://github.com/features/actions).

docs/_static/switcher.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,19 @@
44
"url": "https://pybop-docs.readthedocs.io/en/latest/"
55
},
66
{
7-
"name": "v23.12 (stable)",
8-
"version": "v23.12",
9-
"url": "https://pybop-docs.readthedocs.io/en/v23.12/",
7+
"name": "v24.6 (stable)",
8+
"version": "v24.6",
9+
"url": "https://pybop-docs.readthedocs.io/en/v24.6/",
1010
"preferred": true
11+
},
12+
{
13+
"name": "v24.3",
14+
"version": "v24.3",
15+
"url": "https://pybop-docs.readthedocs.io/en/v24.3/"
16+
},
17+
{
18+
"name": "v23.12",
19+
"version": "v23.12",
20+
"url": "https://pybop-docs.readthedocs.io/en/v23.12/"
1121
}
1222
]

docs/_templates/autoapi/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ This page contains auto-generated API reference documentation [#f1]_.
1515
{% endif %}
1616
{% endfor %}
1717

18+
pybop/index
19+
1820
.. [#f1] Created with `sphinx-autoapi <https://github.com/readthedocs/sphinx-autoapi>`_

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
# -- Options for autoapi -------------------------------------------------------
4040
autoapi_type = "python"
4141
autoapi_dirs = ["../pybop"]
42-
autoapi_keep_files = True
42+
autoapi_keep_files = False
4343
autoapi_root = "api"
4444
autoapi_member_order = "groupwise"
4545

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ html_theme.sidebar_secondary.remove: true
88

99
# PyBOP: Optimise and Parameterise Battery Models
1010

11-
Welcome to PyBOP, a Python package dedicated to the optimization and parameterization of battery models. PyBOP is designed to streamline your workflow, whether you are conducting academic research, working in industry, or simply interested in battery technology and modelling.
11+
Welcome to PyBOP, a Python package dedicated to the optimisation and parameterisation of battery models. PyBOP is designed to streamline your workflow, whether you are conducting academic research, working in industry, or simply interested in battery technology and modelling.
1212

1313
```{gallery-grid}
1414
:grid-columns: 1 2 2 2

docs/installation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Installation
44
*****************************
55

6-
PyBOP is a versatile Python package designed for optimization and parameterization of battery models. Follow the instructions below to install PyBOP and set up your environment to begin utilizing its capabilities.
6+
PyBOP is a versatile Python package designed for optimisation and parameterisation of battery models. Follow the instructions below to install PyBOP and set up your environment to begin utilising its capabilities.
77

88
Installing PyBOP with pip
99
-------------------------
@@ -55,7 +55,7 @@ To verify that PyBOP has been installed successfully, try running one of the pro
5555
For Developers
5656
--------------
5757

58-
If you are installing PyBOP for development purposes, such as contributing to the project, please ensure that you follow the guidelines outlined in the `Contributing Guide <../Contributing.html>`_. It includes additional steps that might be necessary for setting up a development environment, including the installation of dependencies and setup of pre-commit hooks.
58+
If you are installing PyBOP for development purposes, such as contributing to the project, please ensure that you follow the guidelines outlined in the `Contributing Guide <Contributing.html>`_. It includes additional steps that might be necessary for setting up a development environment, including the installation of dependencies and setup of pre-commit hooks.
5959

6060
Further Assistance
6161
------------------
@@ -68,4 +68,4 @@ Next Steps
6868
After installing PyBOP, you might want to:
6969

7070
* Explore the `Quick Start Guide <quick_start.html>`_ to begin using PyBOP.
71-
* Check out the `API Reference <../api/index.html>`_ for detailed information on PyBOP's programming interface.
71+
* Check out the `API Reference <api/index.html>`_ for detailed information on PyBOP's programming interface.

docs/quick_start.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Welcome to the Quick Start Guide for PyBOP. This guide will help you get up and
66
Getting Started with PyBOP
77
--------------------------
88

9-
PyBOP is equipped with a series of robust tools that can help you optimize various parameters within your battery models to better match empirical data or to explore the effects of different parameters on battery behavior.
9+
PyBOP is equipped with a series of robust tools that can help you optimise various parameters within your battery models to better match empirical data or to explore the effects of different parameters on battery behavior.
1010

1111
To begin using PyBOP:
1212

@@ -24,14 +24,14 @@ To begin using PyBOP:
2424
2525
import pybop
2626
27-
Now you're ready to utilize PyBOP's functionality in your projects!
27+
Now you're ready to utilise PyBOP's functionality in your projects!
2828

2929
Exploring Examples
3030
------------------
3131

3232
To help you get acquainted with PyBOP's capabilities, we provide a collection of examples that demonstrate common use cases and features of the package:
3333

34-
- **Jupyter Notebooks**: Interactive notebooks that include detailed explanations alongside the live code, visualizations, and results. These are an excellent resource for learning and can be easily modified and executed to suit your needs.
34+
- **Jupyter Notebooks**: Interactive notebooks that include detailed explanations alongside the live code, visualisations, and results. These are an excellent resource for learning and can be easily modified and executed to suit your needs.
3535

3636
- **Python Scripts**: For those who prefer working in a text editor, IDE, or for integrating into larger projects, we provide equivalent examples in plain Python script format.
3737

@@ -55,4 +55,4 @@ If you encounter any issues or have questions as you start using PyBOP, don't he
5555

5656
- **GitHub Issues**: Report bugs or request new features by opening an `Issue <https://github.com/pybop-team/PyBOP/issues>`_
5757
- **GitHub Discussions**: Post your questions or feedback on our `GitHub Discussions <https://github.com/pybop-team/PyBOP/discussions>`_
58-
- **Contributions**: Interested in contributing to PyBOP? Check out our `Contributing Guide <../Contributing.html>`_ for guidelines.
58+
- **Contributions**: Interested in contributing to PyBOP? Check out our `Contributing Guide <Contributing.html>`_ for guidelines.

0 commit comments

Comments
 (0)