Commit graph

1441 commits

Author SHA1 Message Date
David Lord
9a960a4ff0 Merge pull request #3669 from ebonnecab/error-docs
Error Docs Revision/Consolidation
2020-07-28 14:17:36 -07:00
David Lord
6a152a111c rewrite debugging docs, move to separate page 2020-07-28 11:20:34 -07:00
David Lord
998ef2208c reduce section on http status codes
formatting in sentry section
2020-07-28 11:07:02 -07:00
David Lord
018e1060af adjust header levels and spacing
use code-block consistently
2020-07-28 10:46:22 -07:00
David Lord
7044235c78 rewrite external debuggers section 2020-07-28 07:59:19 -07:00
David Lord
28119de5ee normalize sentence spacing 2020-07-28 07:57:24 -07:00
David Lord
f8aec17365 Merge pull request #3704 from jackwardell/no-self-required
swapping self.assert_equal for assert
2020-07-28 07:10:13 -07:00
jackwardell
5653184b1f swapping self.assert_equal for assert
self.assert_equal is not in a class and is ambiguous. Beginners might copy and paste this example and not understand it.
2020-07-28 14:23:00 +01:00
Ebonne Cabarrus
13b0a37b5e more changes to consolidated error handling docs 2020-07-24 09:25:07 -07:00
jackwardell
79bd55cedf consolidate error handling docs
Remove apierrors.rst and errorpages.rst from patterns and integrate the
content into errorhandling.rst, along with other changes and extra
content.
2020-07-24 09:15:43 -07:00
Grey Li
ee1df9803e Update Discord invite links 2020-07-21 12:11:17 +08:00
David Lord
0c8c96122b fix typo 2020-07-08 08:26:21 -07:00
Armin Ronacher
40d6d107c5 Some small doc fixes 2020-07-08 15:53:43 +02:00
Grey Li
4ea0e07074 Improve wording of tip for Unique URLs chapter 2020-07-05 08:25:48 +08:00
Deep R. Ode
f133e8e284 Added very small clarification to quickstart.rst 2020-07-03 15:55:56 +05:30
Sergei
298cf90396 API docs - changed flask.request description
- the link should point to the flask's Request
 - longer description is unnecessary, as it's all explained above in flask.Request
2020-07-02 23:54:40 +03:00
Leonardo Giordani
7b33b4a095 Simplified version of file-based database 2020-06-23 15:14:03 +01:00
Leonardo Giordani
ad89e0e0b9 Fixed trailing whitespace 2020-06-23 15:06:37 +01:00
Leonardo Giordani
2de5465058 Changed example DATABASE_URI values 2020-06-23 14:56:51 +01:00
Leonardo Giordani
002a8bdea8 Removed misleading DEBUG variable from examples 2020-06-21 09:29:45 +01:00
iomintz
1350049c9d [docs] streaming contents: use app.response_class
Examples should use app.response_class to encourage code that doesn't need to be changed should the response class be customized later on.
2020-06-17 22:00:35 -05:00
David Lord
0cfdbe5648 Merge pull request #3603 from jeffwidman/patch-1
Fix docs link for Flask-Uploads
2020-06-07 17:03:35 -07:00
David Lord
20518fcaab Merge remote-tracking branch 'origin/1.1.x' 2020-06-07 16:50:17 -07:00
David Lord
765ede5baa expand section on copy/paste security 2020-06-07 16:45:31 -07:00
Kai Chen
e5ff2452fb add section on copy/paste security 2020-06-05 08:51:21 -07:00
David Lord
b1816e2747 use pip-compile to pin dev requirements 2020-05-23 14:03:11 -07:00
Jeff Widman
1d52c00957 Fix docs link for Flask-Uploads 2020-05-08 12:42:52 -07:00
David Lord
042754ba4a use ast to parse FLASK_APP
enables keyword arguments to factory functions
2020-04-07 17:54:51 -07:00
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