Merge pull request #319 from seemethere/fix_docs_links
Fixes doc link extensions from .html to .md
This commit is contained in:
commit
5ea653244e
|
@ -159,6 +159,6 @@ app.blueprint(blueprint_v2)
|
||||||
app.run(host='0.0.0.0', port=8000, debug=True)
|
app.run(host='0.0.0.0', port=8000, debug=True)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Exceptions](exceptions.html)
|
**Previous:** [Exceptions](exceptions.md)
|
||||||
|
|
||||||
**Next:** [Class-based views](class_based_views.html)
|
**Next:** [Class-based views](class_based_views.md)
|
||||||
|
|
|
@ -77,6 +77,6 @@ class ViewWithDecorator(HTTPMethodView):
|
||||||
app.add_route(ViewWithDecorator.as_view(), '/url')
|
app.add_route(ViewWithDecorator.as_view(), '/url')
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Blueprints](blueprints.html)
|
**Previous:** [Blueprints](blueprints.md)
|
||||||
|
|
||||||
**Next:** [Cookies](cookies.html)
|
**Next:** [Cookies](cookies.md)
|
||||||
|
|
|
@ -32,4 +32,4 @@ Sanic without significant gains in usability, security, or features may not be
|
||||||
merged. Please don't let this intimidate you! If you have any concerns about an
|
merged. Please don't let this intimidate you! If you have any concerns about an
|
||||||
idea, open an issue for discussion and help.
|
idea, open an issue for discussion and help.
|
||||||
|
|
||||||
**Previous:** [Sanic extensions](extensions.html)
|
**Previous:** [Sanic extensions](extensions.md)
|
||||||
|
|
|
@ -47,6 +47,6 @@ parameters available:
|
||||||
- `httponly` (boolean): Specifies whether the cookie cannot be read by
|
- `httponly` (boolean): Specifies whether the cookie cannot be read by
|
||||||
Javascript.
|
Javascript.
|
||||||
|
|
||||||
**Previous:** [Class-based views](class_based_views.html)
|
**Previous:** [Class-based views](class_based_views.md)
|
||||||
|
|
||||||
**Next:** [Custom protocols](custom_protocol.html)
|
**Next:** [Custom protocols](custom_protocol.md)
|
||||||
|
|
|
@ -71,6 +71,6 @@ async def response(request):
|
||||||
app.run(host='0.0.0.0', port=8000, protocol=CustomHttpProtocol)
|
app.run(host='0.0.0.0', port=8000, protocol=CustomHttpProtocol)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Cookies](cookies.html)
|
**Previous:** [Cookies](cookies.md)
|
||||||
|
|
||||||
**Next:** [Testing](testing.html)
|
**Next:** [Testing](testing.md)
|
||||||
|
|
|
@ -54,6 +54,6 @@ if __name__ == '__main__':
|
||||||
app.run(host='0.0.0.0', port=1337, workers=4)
|
app.run(host='0.0.0.0', port=1337, workers=4)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Request Data](request_data.html)
|
**Previous:** [Request Data](request_data.md)
|
||||||
|
|
||||||
**Next:** [Static Files](static_files.html)
|
**Next:** [Static Files](static_files.md)
|
||||||
|
|
|
@ -44,6 +44,6 @@ Some of the most useful exceptions are presented below:
|
||||||
|
|
||||||
See the `sanic.exceptions` module for the full list of exceptions to throw.
|
See the `sanic.exceptions` module for the full list of exceptions to throw.
|
||||||
|
|
||||||
**Previous:** [Middleware](middleware.html)
|
**Previous:** [Middleware](middleware.md)
|
||||||
|
|
||||||
**Next:** [Blueprints](blueprints.html)
|
**Next:** [Blueprints](blueprints.md)
|
||||||
|
|
|
@ -6,6 +6,6 @@ A list of Sanic extensions created by the community.
|
||||||
Allows using redis, memcache or an in memory store.
|
Allows using redis, memcache or an in memory store.
|
||||||
- [CORS](https://github.com/ashleysommer/sanic-cors): A port of flask-cors.
|
- [CORS](https://github.com/ashleysommer/sanic-cors): A port of flask-cors.
|
||||||
|
|
||||||
**Previous:** [Testing](testing.html)
|
**Previous:** [Testing](testing.md)
|
||||||
|
|
||||||
**Next:** [Contributing](contributing.html)
|
**Next:** [Contributing](contributing.md)
|
||||||
|
|
|
@ -26,4 +26,4 @@ syntax, so earlier versions of python won't work.
|
||||||
|
|
||||||
You now have a working Sanic server!
|
You now have a working Sanic server!
|
||||||
|
|
||||||
**Next:** [Routing](routing.html)
|
**Next:** [Routing](routing.md)
|
||||||
|
|
|
@ -65,6 +65,6 @@ async def halt_response(request, response):
|
||||||
return text('I halted the response')
|
return text('I halted the response')
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Static Files](static_files.html)
|
**Previous:** [Static Files](static_files.md)
|
||||||
|
|
||||||
**Next:** [Exceptions](exceptions.html)
|
**Next:** [Exceptions](exceptions.md)
|
||||||
|
|
|
@ -90,6 +90,6 @@ args.get('titles') # => 'Post 1'
|
||||||
args.getlist('titles') # => ['Post 1', 'Post 2']
|
args.getlist('titles') # => ['Post 1', 'Post 2']
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Routing](routing.html)
|
**Previous:** [Routing](routing.md)
|
||||||
|
|
||||||
**Next:** [Deploying](deploying.html)
|
**Next:** [Deploying](deploying.md)
|
||||||
|
|
|
@ -106,6 +106,6 @@ app.add_route(handler2, '/folder/<name>')
|
||||||
app.add_route(person_handler2, '/person/<name:[A-z]>', methods=['GET'])
|
app.add_route(person_handler2, '/person/<name:[A-z]>', methods=['GET'])
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Getting Started](getting_started.html)
|
**Previous:** [Getting Started](getting_started.md)
|
||||||
|
|
||||||
**Next:** [Request Data](request_data.html)
|
**Next:** [Request Data](request_data.md)
|
||||||
|
|
|
@ -18,6 +18,6 @@ app.static('/the_best.png', '/home/ubuntu/test.png')
|
||||||
app.run(host="0.0.0.0", port=8000)
|
app.run(host="0.0.0.0", port=8000)
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Deploying](deploying.html)
|
**Previous:** [Deploying](deploying.md)
|
||||||
|
|
||||||
**Next:** [Middleware](middleware.html)
|
**Next:** [Middleware](middleware.md)
|
||||||
|
|
|
@ -50,6 +50,6 @@ def test_endpoint_challenge():
|
||||||
assert response.text == request_data['challenge']
|
assert response.text == request_data['challenge']
|
||||||
```
|
```
|
||||||
|
|
||||||
**Previous:** [Custom protocols](custom_protocol.html)
|
**Previous:** [Custom protocols](custom_protocol.md)
|
||||||
|
|
||||||
**Next:** [Sanic extensions](extensions.html)
|
**Next:** [Sanic extensions](extensions.md)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user