Skip to content

Commit 0c560d5

Browse files
Merge pull request #2656 from jeromtom/issue-#2655-Updating-depreciated-link
Updated broken links.
2 parents 12cbcff + 956e607 commit 0c560d5

28 files changed

+113
-69
lines changed

.all-contributorsrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"login": "dalonsoa",
129129
"name": "Diego",
130130
"avatar_url": "https://avatars1.githubusercontent.com/u/6095790?v=4",
131-
"profile": "https://www.imperial.ac.uk/admin-services/ict/self-service/research-support/rcs/research-software-engineering/",
131+
"profile": "https://github.com/dalonsoa",
132132
"contributions": [
133133
"bug",
134134
"review",

.github/ISSUE_TEMPLATE/new_parameter_set.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ body:
66
value: |
77
Third-party parameter sets can be added to PyBaMM by registering an entry
88
point with `pybamm-parameter-sets` as described in our
9-
[documentation](https://pybamm.readthedocs.io/en/latest/source/parameters/parameter_sets.html).
9+
[documentation](https://pybamm.readthedocs.io/en/latest/source/api/parameters/parameter_sets.html).
1010
- type: input
1111
id: parameter-set-url
1212
attributes:

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ We use [GIT](https://en.wikipedia.org/wiki/Git) and [GitHub](https://en.wikipedi
3737
1. Create an [issue](https://guides.github.com/features/issues/) where new proposals can be discussed before any coding is done.
3838
2. Create a [branch](https://help.github.com/articles/creating-and-deleting-branches-within-your-repository/) of this repo (ideally on your own [fork](https://help.github.com/articles/fork-a-repo/)), where all changes will be made
3939
3. Download the source code onto your local system, by [cloning](https://help.github.com/articles/cloning-a-repository/) the repository (or your fork of the repository).
40-
4. [Install](https://pybamm.readthedocs.io/en/latest/install/install-from-source.html) PyBaMM with the developer options.
40+
4. [Install](https://pybamm.readthedocs.io/en/latest/source/user_guide/installation/install-from-source.html) PyBaMM with the developer options.
4141
5. [Test](#testing) if your installation worked, using the test script: `$ python run-tests.py --unit`.
4242

4343
You now have everything you need to start making changes!

docs/index.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ PyBaMM documentation
1818

1919
**Version**: |version|
2020

21-
.. **Download documentation**:
22-
.. `PDF Version <https://numpy.org/doc/stable/numpy-user.pdf>`_ |
23-
.. `Historical versions of documentation <https://numpy.org/doc/>`_
24-
2521
**Useful links**:
26-
`Project Home Page <https://pybamm.org>`_ |
22+
`Project Home Page <https://www.pybamm.org>`_ |
2723
`Installation <source/user_guide/installation/index.html>`_ |
2824
`Source Repository <https://github.com/pybamm-team/pybamm>`_ |
2925
`Issue Tracker <https://github.com/pybamm-team/pybamm/issues>`_ |

docs/source/user_guide/installation/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Optional solvers
3737

3838
Following GNU/Linux and macOS solvers are optionally available:
3939

40-
* `scikits.odes <https://scikits-odes.readthedocs.io/en/latest/>`_ -based solver, see `Optional - scikits.odes solver <https://pybamm.readthedocs.io/en/latest/install/GNU-linux.html#optional-scikits-odes-solver>`_.
41-
* `jax <https://jax.readthedocs.io/en/latest/notebooks/quickstart.html>`_ -based solver, see `Optional - JaxSolver <https://pybamm.readthedocs.io/en/latest/install/GNU-linux.html#optional-jaxsolver>`_.
40+
* `scikits.odes <https://scikits-odes.readthedocs.io/en/latest/>`_ -based solver, see `Optional - scikits.odes solver <https://pybamm.readthedocs.io/en/latest/source/user_guide/installation/GNU-linux.html#optional-scikits-odes-solver>`_.
41+
* `jax <https://jax.readthedocs.io/en/latest/notebooks/quickstart.html>`_ -based solver, see `Optional - JaxSolver <https://pybamm.readthedocs.io/en/latest/source/user_guide/installation/GNU-linux.html#optional-jaxsolver>`_.
4242

4343
Full installation guide
4444
-----------------------

examples/notebooks/Getting Started/Tutorial 4 - Setting parameter values.ipynb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@
4242
]
4343
},
4444
{
45+
"attachments": {},
4546
"cell_type": "markdown",
4647
"metadata": {},
4748
"source": [
48-
"PyBaMM has a number of in-built parameter sets (check the list [here](https://pybamm.readthedocs.io/en/latest/source/parameters/parameter_sets.html)), which can be selected doing"
49+
"PyBaMM has a number of in-built parameter sets (check the list [here](https://pybamm.readthedocs.io/en/latest/source/api/parameters/parameter_sets.html)), which can be selected doing"
4950
]
5051
},
5152
{
@@ -554,7 +555,7 @@
554555
],
555556
"metadata": {
556557
"kernelspec": {
557-
"display_name": "Python 3.9.13 ('conda_jl')",
558+
"display_name": "Python 3",
558559
"language": "python",
559560
"name": "python3"
560561
},
@@ -585,7 +586,7 @@
585586
},
586587
"vscode": {
587588
"interpreter": {
588-
"hash": "612adcc456652826e82b485a1edaef831aa6d5abc680d008e93d513dd8724f14"
589+
"hash": "1a781583db2df3c2e87436f6d22cce842c2e50a5670da93a3bd820b97dc43011"
589590
}
590591
}
591592
},

examples/notebooks/Getting Started/Tutorial 7 - Model options.ipynb

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828
]
2929
},
3030
{
31+
"attachments": {},
3132
"cell_type": "markdown",
3233
"metadata": {},
3334
"source": [
34-
"In this tutorial, we add a thermal model to the SPMe. From the [documentation](https://pybamm.readthedocs.io/en/latest/source/models/base_models/base_battery_model.html), we see that we have a choice of either a 'x-full' thermal model or a number of different lumped thermal models. For a deeper look at the thermal models see the [thermal models notebook](../models/thermal-models.ipynb). We choose the full thermal model, which solves the spatially-dependent heat equation on our battery geometry, and couples the temperature with the electrochemistry. We set the model options by creating a Python dictionary:"
35+
"In this tutorial, we add a thermal model to the SPMe. From the [documentation](https://pybamm.readthedocs.io/en/latest/source/api/models/base_models/base_battery_model.html), we see that we have a choice of either a 'x-full' thermal model or a number of different lumped thermal models. For a deeper look at the thermal models see the [thermal models notebook](../models/thermal-models.ipynb). We choose the full thermal model, which solves the spatially-dependent heat equation on our battery geometry, and couples the temperature with the electrochemistry. We set the model options by creating a Python dictionary:"
3536
]
3637
},
3738
{
@@ -108,10 +109,11 @@
108109
]
109110
},
110111
{
112+
"attachments": {},
111113
"cell_type": "markdown",
112114
"metadata": {},
113115
"source": [
114-
"In this tutorial we have seen how to adjust the model options. To see all of the options currently available in PyBaMM, please take a look at the documentation [here](https://pybamm.readthedocs.io/en/latest/source/models/base_models/base_battery_model.html).\n",
116+
"In this tutorial we have seen how to adjust the model options. To see all of the options currently available in PyBaMM, please take a look at the documentation [here](https://pybamm.readthedocs.io/en/latest/source/api/models/base_models/base_battery_model.html).\n",
115117
"\n",
116118
"In the [next tutorial](./Tutorial%208%20-%20Solver%20options.ipynb) we show how to change the solver options."
117119
]
@@ -149,7 +151,7 @@
149151
],
150152
"metadata": {
151153
"kernelspec": {
152-
"display_name": "Python 3 (ipykernel)",
154+
"display_name": "Python 3",
153155
"language": "python",
154156
"name": "python3"
155157
},
@@ -163,7 +165,12 @@
163165
"name": "python",
164166
"nbconvert_exporter": "python",
165167
"pygments_lexer": "ipython3",
166-
"version": "3.9.0"
168+
"version": "3.11.1"
169+
},
170+
"vscode": {
171+
"interpreter": {
172+
"hash": "a06befff6f507b2769436dc41c340f64f62afa83086a8cd273928f468e329d0b"
173+
}
167174
}
168175
},
169176
"nbformat": 4,

examples/notebooks/Getting Started/Tutorial 8 - Solver options.ipynb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@
3232
]
3333
},
3434
{
35+
"attachments": {},
3536
"cell_type": "markdown",
3637
"metadata": {},
3738
"source": [
38-
"Here we will change the absolute and relative tolerances, as well as the \"mode\" of the `CasadiSolver`. For a list of all the solver options please consult the [documentation](https://pybamm.readthedocs.io/en/latest/source/solvers/index.html).\n",
39+
"Here we will change the absolute and relative tolerances, as well as the \"mode\" of the `CasadiSolver`. For a list of all the solver options please consult the [documentation](https://pybamm.readthedocs.io/en/latest/source/api/solvers/index.html).\n",
3940
"\n",
4041
"The `CasadiSolver` can operate in a number of modes, including \"safe\" (default) and \"fast\". Safe mode performs step-and-check integration and supports event handling (e.g. you can integrate until you hit a certain voltage), and is the recommended for simulations of a full charge or discharge. Fast mode performs direct integration, ignoring events, and is recommended when simulating a drive cycle or other simulation where no events should be triggered.\n",
4142
"\n",

examples/notebooks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ Once you are comfortable with the expression tree structure, a good starting poi
6363

6464
#### Lead-acid models
6565

66-
- [Full porous-electrode](https://pybamm.readthedocs.io/en/latest/source/models/lead_acid/full.html)
67-
- [Leading-Order Quasi-Static](https://pybamm.readthedocs.io/en/latest/source/models/lead_acid/loqs.html)
66+
- [Full porous-electrode](https://pybamm.readthedocs.io/en/latest/source/api/models/lead_acid/full.html)
67+
- [Leading-Order Quasi-Static](https://pybamm.readthedocs.io/en/latest/source/api/models/lead_acid/loqs.html)
6868

6969
### Spatial Methods
7070

examples/notebooks/callbacks.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,16 @@
1919
]
2020
},
2121
{
22+
"attachments": {},
2223
"cell_type": "markdown",
2324
"id": "cb2ae3b6",
2425
"metadata": {},
2526
"source": [
2627
"Callbacks provide hooks for users to interact with the different parts of the PyBaMM pipeline, for example to log, save, or visualize outputs of intermediate functions. \n",
2728
"\n",
28-
"A list of available callbacks can be found in the [API docs](https://pybamm.readthedocs.io/en/latest/source/callbacks.html). Any number of callbacks can be provided as a list, and they will each be called in turn in the order provided.\n",
29+
"A list of available callbacks can be found in the [API docs](https://pybamm.readthedocs.io/en/latest/source/api/callbacks.html). Any number of callbacks can be provided as a list, and they will each be called in turn in the order provided.\n",
2930
"\n",
30-
"The base class [`pybamm.callbacks.Callback`](https://pybamm.readthedocs.io/en/latest/source/citations.html#pybamm.callbacks.Callback) documents the available callback methods, at which point in the pipeline they are called, and what arguments are passed to them."
31+
"The base class [`pybamm.callbacks.Callback`](https://pybamm.readthedocs.io/en/latest/source/api/callbacks.html#pybamm.callbacks.Callback) documents the available callback methods, at which point in the pipeline they are called, and what arguments are passed to them."
3132
]
3233
},
3334
{

0 commit comments

Comments
 (0)