Commit Graph

158 Commits

Author SHA1 Message Date
David Lord 04994df59f
remove deprecated code 2023-08-16 15:00:49 -07:00
David Lord 9cb1a7a52d
blinker is required, signals are always available 2023-04-13 07:39:24 -07:00
David Lord 9c02f07f9b
deprecate markupsafe exports 2023-02-23 08:55:01 -08:00
David Lord 6650764e97
remove previously deprecated code 2023-02-23 08:35:16 -08:00
rayanth 95b666871c
Update api.rst
Corrected typo in "tojson" example, `const names = {{ names|tojson }};` was `const names = {{ names|tosjon }};`
2022-12-13 13:27:38 -08:00
Mat Steininger 5dfd2126a6 Fixed inconsistent double spacing in docs/api.rst 2022-10-30 22:45:33 +08:00
David Lord bfdd37110c
deprecate config attributes 2022-08-01 16:58:55 -07:00
David Lord 69f9845ef2
add json provider interface 2022-07-13 07:42:52 -07:00
David Lord e0dad45481
update docs about contexts 2022-07-08 11:13:09 -07:00
pgjones 46433e9807
add generate_template and generate_template_string functions 2022-06-18 12:20:53 -07:00
David Lord b6a8ccd2cf
Merge branch '2.0.x' 2022-02-14 12:06:57 -08:00
David Lord 761d7e1652
rewrite testing docs 2022-02-13 14:06:51 -08:00
David Lord b7501776a1
remove deprecated safe_join 2021-11-12 09:52:16 -08:00
Frank Yu 922e91b278
Omit the type attribute of script tag 2021-07-07 15:16:29 +08:00
David Lord b473e7c97c
use Jinja's tojson filter 2021-02-01 22:48:09 -08:00
Tony De La Nuez 451c1f87f3
got_request_exception only sends unhandled exceptions
Co-authored-by: David Lord <davidism@gmail.com>
2021-02-01 20:28:10 -08:00
David Lord fdba0d2526
remove JSONMixin 2021-01-29 10:52:48 -08:00
Sergei 7d7e8eef23
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
David Lord 7e3b8abf99
update docs requirements
remove duplicate docs
2020-04-07 14:39:18 -07:00
David Lord 756902cca1
update json docs 2020-04-07 13:37:14 -07:00
David Lord c43edfc7c0
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 171aabc87d
remove unused ref directives
replace page refs with doc directives
2020-04-04 12:57:14 -07:00
David Lord 2ae740dd49
f-strings everywhere 2020-04-04 12:10:00 -07:00
Chris Lamb 3ddf7fd2c2 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
David Lord 1351d0a565
Merge branch '1.0.x' 2019-06-23 16:57:52 -07:00
David Lord cb6272ccc8
fix docks linkcheck 2019-06-23 15:37:51 -07:00
David Lord 2236ba980c
Merge branch '1.0.x' 2019-05-16 12:18:36 -07:00
Grey Li 4df7b220fa Fix typo in URL defaults example 2019-04-12 09:45:58 +08:00
David Lord 3b45b82ec2
Merge branch '1.0-maintenance' 2019-01-06 10:36:54 -08:00
Mark Amery 24325ecb69
Clarify and add detail to tojson docs
Fix some confusing and obsolete prose.
2019-01-06 09:44:09 -08:00
Aditya f05625eb82 Use https for external links wherever possible 2018-10-27 17:58:45 +05:30
Juan Lara bb63298b71 Typo in docs
"keeps track on" -> "keeps track of"
2018-06-27 21:49:21 -07:00
David Lord 5d00869aa5
expand explantion about default redirects 2018-04-27 09:57:30 -07:00
Hampus Dunström a2536e1bdb Added short note about Werkzeug redirect behaviour 2018-04-27 11:40:12 +02:00
David Lord 49a38ed999
use theme provided by pallets-sphinx-themes 2018-04-18 12:05:31 -07:00
David Lord 1ed756a523
add Response.max_cookie_size config 2018-04-10 11:17:18 -07:00
David Lord 2411707492
rework context docs 2018-04-09 00:02:38 -07:00
David Lord 4462cc57c8
rewrite extension docs
remove old extension patterns
remove flask.ext from api docs
2018-02-28 07:52:03 -08:00
David Lord cf5525f98a
add test_cli_runner for testing app.cli commands 2018-02-19 15:34:46 -08:00
David Lord 491d331e6e
load env vars using python-dotenv 2017-07-16 13:37:51 -07:00
David Lord 465922e5f1
clean up secret key docs
consistent key across docs and examples
consistent key across tests, set in conftest
2017-06-28 07:58:06 -07:00
Tony Narlock 91fd33dbd9 Add docutils label for class-based views 2017-06-12 16:15:52 -05:00
David Lord dbc70c9274
Merge remote-tracking branch 'remotes/origin/master' into json-mixin 2017-06-04 09:42:39 -07:00
David Lord 9bee2500dd
finish documentation
[ci skip]
2017-06-02 08:09:37 -07:00
David Lord bbd15d53ad
docs style cleanup
[ci skip]
2017-06-02 07:03:22 -07:00
Jeff Widman fe7910ccd5 Update docs that request is an object, not a class (#2154)
Cleanup sphinx formatting to show that `request` is an object, not a class. The actual class name is `Request`.

Based on discussion [here](https://github.com/pallets/flask/pull/2151#issuecomment-272699147).
2017-01-17 20:20:07 +01:00
Markus Unterwaditzer 49386ee69e Inherit Werkzeug docs (#2135)
Fix #2132
2016-12-31 16:31:44 +01:00
Markus Unterwaditzer dcfdfc6476 Use abort docs from Werkzeug
Fix #1960
2016-09-18 15:47:52 +02:00
Adam Byrtek 5ebdd5dd74 Documentation updates 2016-08-19 21:21:43 +02:00
Armin Ronacher f9ea3fe026 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00