Skip to content

Commit 5e5fc5e

Browse files
authored
Fix urls in docs (miguelgrinberg#253)
* Fix 404 external links in intro.rst * Fix broken links in extensions.rst `examples/cors/cors.py` does not exist `uvicorn.org` - failed to resolve
1 parent 8895af3 commit 5e5fc5e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/extensions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Cross-Origin Resource Sharing (CORS)
286286
- | None
287287

288288
* - Examples
289-
- | `cors.py <https://github.com/miguelgrinberg/microdot/blob/main/examples/cors/cors.py>`_
289+
- | `app.py <https://github.com/miguelgrinberg/microdot/blob/main/examples/cors/app.py>`_
290290

291291
The CORS extension provides support for `Cross-Origin Resource Sharing
292292
(CORS) <https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS>`_. CORS is a
@@ -363,7 +363,7 @@ Using an ASGI Web Server
363363
- | `asgi.py <https://github.com/miguelgrinberg/microdot/tree/main/src/microdot/asgi.py>`_
364364

365365
* - Required external dependencies
366-
- | An ASGI web server, such as `Uvicorn <https://uvicorn.org/>`_.
366+
- | An ASGI web server, such as `Uvicorn <https://www.uvicorn.org/>`_.
367367

368368
* - Examples
369369
- | `hello_asgi.py <https://github.com/miguelgrinberg/microdot/blob/main/examples/hello/hello_asgi.py>`_

docs/intro.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Running with CPython
118118
:align: left
119119

120120
* - Required Microdot source files
121-
- | `microdot.py <https://github.com/miguelgrinberg/microdot/tree/main/src/microdot.py>`_
121+
- | `microdot.py <https://github.com/miguelgrinberg/microdot/blob/main/src/microdot/microdot.py>`_
122122

123123
* - Required external dependencies
124124
- | None
@@ -144,7 +144,7 @@ Running with MicroPython
144144
:align: left
145145

146146
* - Required Microdot source files
147-
- | `microdot.py <https://github.com/miguelgrinberg/microdot/tree/main/src/microdot.py>`_
147+
- | `microdot.py <https://github.com/miguelgrinberg/microdot/blob/main/src/microdot/microdot.py>`_
148148

149149
* - Required external dependencies
150150
- | None

0 commit comments

Comments
 (0)