Skip to content

Commit e6fcf14

Browse files
authored
Docs: Fix broken relative links by removing .html suffix (#2274)
A few links in the documentation of Mesa are broken, they redirect to incorrect links. Particularily, on the website of Introduction to Mesa Documentation, the links appear to redirect at the wrong web-page. This PR fixes that by removing the .html suffixes from the relative links.
1 parent 3d19edc commit e6fcf14

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Mesa Packages <packages>
9999
[github issue tracker]: https://github.com/projectmesa/mesa/issues
100100
[matrix chat room]: https://matrix.to/#/#project-mesa:matrix.org
101101
[mesa]: https://github.com/projectmesa/mesa/
102-
[mesa introductory tutorial]: tutorials/intro_tutorial.html
103-
[mesa visualization tutorial]: tutorials/visualization_tutorial.html
102+
[mesa introductory tutorial]: tutorials/intro_tutorial
103+
[mesa visualization tutorial]: tutorials/visualization_tutorial
104104
[pypi]: https://pypi.python.org/pypi/Mesa/
105105
[ticket]: https://github.com/projectmesa/mesa/issues

docs/overview.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Mesa is modular, meaning that its modeling, analysis and visualization component
1717
Most models consist of one class to represent the model itself; one class (or more) for agents; a scheduler to handle time (what order the agents act in), and possibly a space for the agents to inhabit and move through. These are implemented in Mesa's modeling modules:
1818

1919
- `mesa.Model`, `mesa.Agent`
20-
- [mesa.time](apis/time.html)
21-
- [mesa.space](apis/space.html)
20+
- [mesa.time](apis/time)
21+
- [mesa.space](apis/space)
2222

2323
The skeleton of a model might look like this:
2424

@@ -56,16 +56,16 @@ model = MyModel(5)
5656
model.step()
5757
```
5858

59-
You should see agents 0-4, activated in random order. See the [tutorial](tutorials/intro_tutorial.html) or API documentation for more detail on how to add model functionality.
59+
You should see agents 0-4, activated in random order. See the [tutorial](tutorials/intro_tutorial) or API documentation for more detail on how to add model functionality.
6060

6161
To bootstrap a new model install mesa and run `mesa startproject`
6262

6363
### Analysis modules
6464

6565
If you're using modeling for research, you'll want a way to collect the data each model run generates. You'll probably also want to run the model multiple times, to see how some output changes with different parameters. Data collection and batch running are implemented in the appropriately-named analysis modules:
6666

67-
- [mesa.datacollection](apis/datacollection.html)
68-
- [mesa.batchrunner](apis/batchrunner.html)
67+
- [mesa.datacollection](apis/datacollection)
68+
- [mesa.batchrunner](apis/batchrunner)
6969

7070
You'd add a data collector to the model like this:
7171

0 commit comments

Comments
 (0)