David Lord
f2a8087cf5
deprecate passing script_info to factory
2020-04-07 15:54:36 -07:00
David Lord
46f2aa7821
update docs requirements
...
remove duplicate docs
2020-04-07 14:39:18 -07:00
David Lord
23fb6f8065
update json docs
2020-04-07 13:37:14 -07:00
David Lord
187cfe90b8
remove simplejson
...
- remove encoding detection backport, json.loads supports it directly
- use str.translate instead of multiple str.replace
2020-04-07 09:55:39 -07:00
David Lord
1de5873d66
remove unused ref directives
...
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord
f5038c4c39
f-strings everywhere
2020-04-04 12:10:00 -07:00
David Lord
67bb43b738
apply pyupgrade
2020-04-04 12:10:00 -07:00
David Lord
c0c76bd651
remove Python 2 from docs
2020-04-04 12:05:44 -07:00
David Lord
793bff721a
Merge branch '1.1.x'
2020-04-03 10:25:51 -07:00
David Lord
6c1e73042f
Merge pull request #3529 from pgkrit/master
...
Move HTML escaping example back to Variable Rules.
2020-04-02 12:55:49 -07:00
David Lord
4e98cf6511
move html escaping to dedicated section
2020-04-02 12:49:00 -07:00
David Lord
b3b56f0c0c
update CLI docs IDE integration
2020-04-02 12:09:04 -07:00
David Lord
f6325085ae
Merge remote-tracking branch 'origin/1.1.x'
2020-04-02 11:56:30 -07:00
David Lord
5491a19ffc
Merge pull request #3530 from valleygtc/docs-fix
...
docs: testing.rst function def missing colon
2020-04-02 11:55:01 -07:00
mattc41190
275216f607
Grammar and clarity fix
2020-03-25 09:20:55 -05:00
mattc41190
88a07f1b75
itty bitty typo
2020-03-24 09:54:32 -05:00
Tobias Sette
4a5f5fc0a2
docs: update "Deploying on Google App Engine"
...
Use the documentation for Python 3 instead of Python 2, which is deprecated.
2020-03-16 19:18:53 -03:00
gutianci
1859a5fd2c
docs: testing.rst function def missing colon
2020-03-05 18:31:21 +08:00
Peter G Kritikos
58c9794260
Move HTML escaping example back to Variable Rules.
...
Demonstration of markupsafe's escape function was in the Minimal
Application example, but the minimal example does not accept user
input.
2020-03-04 18:50:36 -05:00
ongopongo
1952236085
Fix property name in description
...
Previously, the description referred to a property named `original_error`.
However, both the code sample that followed it _and_ the Werkzeug
documentation refer to it as `original_exception` instead.
In this commit, I change the description to use the same property name
as is used in the code sample and the Werkzeug documentation.
Here's a link to the Werkzeug documentation of that property:
- https://werkzeug.palletsprojects.com/en/1.0.x/exceptions/#werkzeug.exceptions.InternalServerError.original_exception
2020-02-28 12:09:51 -08:00
kylepollina
e5477a099a
Fix typo in docs ( #3517 )
2020-02-27 23:22:03 +01:00
David Lord
9e0fe3efb0
Merge remote-tracking branch 'origin/1.1.x'
2020-02-10 18:41:07 -08:00
yingshaoxo
089a379b97
pass static_url_path along with static_folder
2020-02-10 18:33:32 -08:00
David Lord
9e827f6cad
Merge remote-tracking branch 'origin/1.1.x'
2020-02-10 18:29:43 -08:00
David Lord
c96be4c2f0
Merge pull request #3480 from candleindark/patch-2
...
Incorrect grammar
2020-02-10 18:13:24 -08:00
Grey Li
8e62a33cff
add import for escape in quickstart
...
import escape from markupsafe instead of flask
2020-02-10 17:53:11 -08:00
Isaac To
2a70812332
Incorrect grammar
...
The original sentence has incorrect grammar
2020-02-10 17:47:42 -08:00
Gregory Pakosz
67702a616b
remove approved extensions in foreword
2020-02-10 17:00:53 -08:00
David Lord
5201bcf419
Merge branch '1.1.x'
2020-02-09 15:21:13 -08:00
Isaac To
bbba98ce40
A better expression for the intended meaning
2020-02-06 12:04:49 -08:00
Isaac To
347613241f
This is a typo.
2020-02-06 10:52:59 -08:00
Grey Li
459abe1cea
Use https for pallets URL
2019-11-19 09:32:35 -08:00
Grey Li
66a28f0f28
Replace old pocoo links everywhere
...
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
72fe9e541c
Merge pull request #3406 from erfanio/f-string-docs
...
Change docs to use f-strings
2019-11-18 19:09:30 -08:00
David Lord
c71de17d1d
rewrite the development server docs
2019-11-18 18:02:12 -08:00
David Lord
3996b7842e
Merge remote-tracking branch 'origin/1.1.x'
2019-11-18 17:54:20 -08:00
Thiago J. Barbalho
a327136305
Fix typo
2019-11-02 20:56:35 +00:00
Chris Lamb
d3a16a9895
Make the documentation build reproducibly
...
Whilst working on the Reproducible Builds effort [0] we noticed that
flask could not be built reproducibly.
This is because it includes an absolute build directory in the
documentation as the "json_module" attribute points to a Python class/
module which has a string representation including its path.
This commit skips this (inherited) member from the documentation.
(This was originally filed in Debian as #943674 [1].)
[0] https://reproducible-builds.org/
[1] https://bugs.debian.org/943674
2019-10-28 09:16:53 +00:00
erfanio
96524db988
Change docs to use f-strings
2019-10-26 17:19:00 +11:00
David Lord
a620f1c9c8
clean up config.from_file docs
2019-10-18 09:24:58 -07:00
pgjones
35627192e7
Support loading configuration from text files
...
TOML is a very popular format now, and is taking hold in the Python
ecosystem via pyproject.toml (among others). This allows toml config
files via,
app.config.from_file("config.toml", toml.loads)
it also allows for any other file format whereby there is a loader
that takes a string and returns a mapping.
2019-10-18 09:15:47 -07:00
Marat Sharafutdinov
355e0f73b1
Update reqcontext.rst
2019-10-14 23:48:48 +03:00
David Lord
b0af51baf4
Merge pull request #3391 from pallets/explain-escape
...
explain escape at top of quickstart
2019-10-12 19:03:34 -07:00
David Lord
e3be566d76
explain escape at top of quickstart
...
* introduce escape, and explain why it's omitted in examples
* clean up imports in examples
2019-10-12 18:53:47 -07:00
Kristin Faner
f07c5084ec
fix typo in request context docs
2019-10-08 09:06:01 -07:00
David Lord
a8da6b5fed
Merge branch '1.1.x'
2019-09-24 06:44:36 -07:00
David Lord
ea659d77e5
Merge branch '1.0.x' into 1.1.x
2019-09-24 06:44:18 -07:00
David Lord
6ee61a8b57
Merge branch '0.12.x' into 1.0.x
2019-09-24 06:43:25 -07:00
David Lord
aef114e372
update docs for new theme
2019-09-24 06:35:10 -07:00
bearnun
fc326d3599
mention default logging level
2019-09-23 12:17:46 -07:00