Skip to content

Commit 85fb434

Browse files
committed
Use installation page as index.md
1 parent 79216a3 commit 85fb434

File tree

3 files changed

+12
-16
lines changed

3 files changed

+12
-16
lines changed

Diff for: docs/mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
nav:
33
- Get Started:
4-
- Add ReactPy-Router to Your Project: learn/add-reactpy-router-to-your-project.md
4+
- Add ReactPy-Router to Your Project: index.md
55
- Your First Routed Application: learn/simple-application.md
66
- Advanced Topics:
77
- Routers, Routes, and Links: learn/routers-routes-and-links.md

Diff for: docs/src/index.md

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
<script>
2-
// We don't have a homepage, so redirect to the first page in the docs.
3-
window.location.href = document.querySelector(".md-tabs__item a").href;
4-
</script>
1+
## Install from PyPI
2+
3+
Run the following command to install [`reactpy-router`](https://pypi.org/project/reactpy-router/) in your Python environment.
4+
5+
```bash linenums="0"
6+
pip install reactpy-router
7+
```
8+
9+
## Done!
10+
11+
You're now ready to start building your own ReactPy applications with URL routing.

Diff for: docs/src/learn/add-reactpy-router-to-your-project.md

-11
This file was deleted.

0 commit comments

Comments
 (0)