Suby Raman
70b7606cb8
add sanic_compress extension
2017-02-18 19:53:32 -05:00
Lix Xu
f553ca95a5
add user_agent to request
2017-02-17 15:12:07 +08:00
Typhon
7d9acc3c36
Adding sanic_crud to extensions
2017-02-16 09:49:48 -08:00
Suby Raman
6ea5a4719a
add url_for doc in blueprint
2017-02-16 11:48:31 -05:00
Suby Raman
f8c50b7f1e
fix blueprints documentation
2017-02-16 11:46:19 -05:00
Eli Uriegas
feb1f1d71a
Merge pull request #444 from lixxu/master
...
simple motor wrapper
2017-02-16 09:46:09 -06:00
Lix Xu
550afc27dc
simple motor wrapper
2017-02-16 22:36:16 +08:00
Eli Uriegas
874698b93f
Merge pull request #431 from subyraman/test-client-v2
...
Add Flask-like `test_client` to replace `sanic_endpoint_test`
2017-02-15 15:44:30 -06:00
Lix Xu
6b391b701b
simple pagination support
2017-02-15 13:27:58 +08:00
Suby Raman
7726ffa3f7
remove documentation about passing in the loop
2017-02-14 15:44:43 -05:00
Suby Raman
d5633b3705
fix deprecation message
2017-02-14 15:16:58 -05:00
Suby Raman
3b68dc72e7
rework testing
2017-02-14 14:51:20 -05:00
Eli Uriegas
286dc3c32b
Merge pull request #399 from lixxu/master
...
improve url_for to support multi values and special options
2017-02-14 10:27:54 -06:00
growingdever
d57d90fe6b
- make blueprint add_route method support view instance
...
- update documentation that doesn't specify url_prefix parameter
2017-02-14 14:23:22 +09:00
lixxu
4839ede64f
update test for url_for and update routing.md doc
2017-02-14 10:26:30 +08:00
Eli Uriegas
1660041470
Merge pull request #408 from agoose77/master
...
Use app decorator instead of run arguments for before_start
2017-02-13 12:54:46 -06:00
Raphael Deem
7944cff7a5
add extension to docs
2017-02-11 15:31:58 -08:00
Angus Hollands
b5e50ecb75
Use app decorator instead of run arguments for before_start
...
Mirror listener of blueprints
2017-02-11 14:30:17 +00:00
Suby Raman
5c63ce666c
punctuation
2017-02-02 14:21:59 -05:00
Suby Raman
f9056099f9
all works
2017-02-02 12:52:48 -05:00
Eli Uriegas
c91d264ff1
Merge pull request #380 from channelcat/openapi-extension
...
Added sanic-openapi to extensions
2017-01-31 07:39:38 -06:00
Channel Cat
34966fb182
Added sanic-openapi to extensions
2017-01-31 01:24:41 -08:00
Raphael Deem
1501c56bbc
update route method docs
2017-01-30 16:42:43 -08:00
Jordan Pittier
82680bf43f
Fix docs/config.md: the MYAPP_SETTINGS is not exported
...
If we don"t `export` the variable, it's not available in subcommand:
MYAPP_SETTINGS=/path/to/config_file; python3 -c "import os; os.environ['MYAPP_SETTINGS']"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3.5/os.py", line 725, in __getitem__
raise KeyError(key) from None
KeyError: 'MYAPP_SETTINGS'
The ';' is the culprit here.
2017-01-30 10:39:02 +01:00
Channel Cat
52e485cce9
Fix readthedocs includes
2017-01-29 16:46:16 -08:00
Channel Cat
2a9496fcda
Fix readthedocs build
2017-01-29 16:25:22 -08:00
Eli Uriegas
8db0ece459
Merge branch 'master' into read-the-docs
2017-01-29 15:31:22 -06:00
Eli Uriegas
f56c5e3a45
Merge pull request #199 from Tim-Erwin/improved_config
...
added methods to load config from a file
2017-01-29 15:27:34 -06:00
Channel Cat
0eaccea38f
updated project name in docs build
2017-01-29 12:49:59 -08:00
Channel Cat
de32c389d0
Added basic readthedocs support
2017-01-29 12:47:00 -08:00
Cadel Watson
011be51232
Add documentation for the CompositionView class
2017-01-27 09:52:41 +11:00
Channel Cat
b0f71c5304
Fixed default path in documentation
2017-01-25 21:48:39 -08:00
Raphael Deem
a162f2ce34
Merge branch 'master' into cookie-usability
2017-01-25 21:24:30 -08:00
Andrew Bentley
ecd7e5bdd3
Update blueprints docs with correct listener example
2017-01-25 23:01:57 +11:00
Channel Cat
d0a121ad06
Added del cookie and default path
2017-01-25 01:53:39 -08:00
Tim Mundt
5bba3388a0
Merge branch 'master' into improved_config
2017-01-25 09:36:21 +01:00
Lix Xu
a9ee01c7ec
add sanic-jinja2 extension
2017-01-24 15:34:32 +08:00
Eli Uriegas
596bb54ee3
Oops on 2 of the non-relative links
2017-01-19 21:26:37 -06:00
Eli Uriegas
7554e87374
Fixes doc link extensions from .html to .md
...
Whoops! Totally missed that all the links pointed to `.html` files
instead of `.md` files
2017-01-19 21:24:08 -06:00
Cadel Watson
6176964bdf
Clarify, reformat, and add to documentation guides ( #318 )
...
* Reorder and clarify the 'Request Data' guide, adding a section on RequestParameters
* Clarify routing guide, adding introduction and HTTP types sections
* Clarify the use-cases of middleware
* Clean up formatting in the exceptions guide and add some common exceptions.
* Fix formatting of blueprints and add use-case example.
* Clarify the class-based views guide
* Clarify and fix formatting of cookies guide
* Clarify static files guide
* Clarify the custom protocols guide.
* Add more information to the deploying guide
* Fix broken list in the community extensions list.
* Add introduction and improve warning to contributing guide
* Expand getting started guide
* Reorder guides and add links between them
* Standardise heading capitalisation
2017-01-19 21:18:52 -06:00
Cadel Watson
30862c0a3e
Update documentation generation instructions.
2017-01-20 09:32:08 +11:00
Cadel Watson
ebce7b01c7
Add new guides to documentation index
2017-01-19 08:54:20 +11:00
Cadel Watson
9d4b104d2d
Merge branch 'master' into sphinx-docs
2017-01-19 08:48:54 +11:00
Ubuntu
2cf4baddfb
Moved Remote-Addr header to request.ip so it can be pulled on-demand
2017-01-16 23:27:50 +00:00
Tim Mundt
0b9094d348
Merge branch 'master' into improved_config
2017-01-13 12:34:56 +01:00
Raphael Deem
a86cc32dff
Update extensions.md
...
Since there have been a few extensions discussed in open issues, it makes sense to start keeping track of them.
2017-01-12 19:30:22 -08:00
Raphael Deem
974c857a97
add a list of extensions
2017-01-12 19:25:08 -08:00
Cadel Watson
385328ffd5
Generate API documentation in the _api folder
2017-01-10 09:41:00 +11:00
Cadel Watson
34d1e5e67e
Convert README to RestructuredText and include it in the documentation index.
2017-01-10 09:28:33 +11:00
Anton Zhyrney
47a4f34cdf
tests&small update
2017-01-07 07:13:49 +02:00