Thiago J. Barbalho
4f6b310513
Fix typo
2019-11-02 20:56:35 +00: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
aac0f585b9
clean up config.from_file docs
2019-10-18 09:24:58 -07:00
pgjones
829aa65e64
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
468705df17
Update reqcontext.rst
2019-10-14 23:48:48 +03:00
David Lord
4bceeccfff
Merge pull request #3391 from pallets/explain-escape
...
explain escape at top of quickstart
2019-10-12 19:03:34 -07:00
David Lord
413778afc1
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
David Lord
a3f07829ca
Merge branch '1.1.x'
2019-09-24 06:44:36 -07:00
David Lord
7fdd0df6ec
Merge branch '1.0.x' into 1.1.x
2019-09-24 06:44:18 -07:00
David Lord
563ef469f7
Merge branch '0.12.x' into 1.0.x
2019-09-24 06:43:25 -07:00
David Lord
4ed20657c6
update docs for new theme
2019-09-24 06:35:10 -07:00
bearnun
2ceae5f8a5
mention default logging level
2019-09-23 12:17:46 -07:00
David Lord
6429bf19a0
Merge branch '1.1.x'
2019-09-23 12:11:18 -07:00
David Lord
5f5e8e5339
Merge branch '1.0.x' into 1.1.x
2019-09-23 12:10:55 -07:00
David Lord
6cde195c88
reword extension python version item
2019-09-23 11:59:59 -07:00
David Lord
40eadfc52a
Merge branch '1.1.x'
2019-09-23 08:38:29 -07:00
David Lord
746d9181d7
Merge branch '1.0.x' into 1.1.x
2019-09-23 08:38:11 -07:00
David Lord
e01b68e7ee
update patterns, snippets, extensions docs
2019-09-23 08:19:40 -07:00
Nathan McKinley-Pace
2ec150af02
Update testing.rst
...
It now describes how to install flaskr using pip so that all tests pass.
2019-09-02 11:31:34 -04:00
Constantin
b839beb23d
fix typo: base on -> based on
2019-08-25 20:33:41 +02:00
Eido95
b33e89935a
docs: Change max content length value to megabyte
...
16 * 1024 * 1024 = 16 MiB (Mebibyte)
16 * 1000 * 1000 = 16 MB (Megabyte)
The example is in megabytes, not in mebibytes.
2019-08-13 11:02:56 +03:00
David Lord
b3b38285a4
fix stylecheck
2019-08-01 13:35:38 -07:00
David Lord
02cfee8461
Merge branch '1.0.x' into 1.1.x
2019-08-01 13:08:12 -07:00
Csirmaz Bendegúz
28ffe15349
Fix typo in urlprocessors.rst
2019-08-01 12:58:07 -07:00
Grey Li
2a8ebc4411
Fix github link generator for docs
2019-08-01 22:49:31 +08:00
David Lord
c42803f168
Merge branch '1.0.x' into 1.1.x
2019-07-22 13:31:05 -07:00
Grey Li
90004a83be
Update outdated extension doc
...
Remove links and descriptions relate to abandoned "Flask Extension
Registry" in documentation
2019-07-22 13:23:57 -07:00
Stéphane Wirtel
98a26cfb42
Documentation: Use Python 3.5+
2019-07-10 19:03:10 +02:00
David Lord
df470aecb9
use app.name as app.logger name
2019-07-01 14:56:18 -07:00
David Lord
b05a685a03
Merge branch '1.0.x'
2019-07-01 10:54:31 -07:00
Anthony Sottile
a5ecdfa7a5
Fixes for PEP451 import loaders and pytest 5.x
...
- pytest 5.x drops python2 compatibility and therefore only implements PEP 451
- pytest 5.x made the repr of `ExcInfo` less confusing (fixed tests depending
on the old format)
2019-07-01 10:43:06 -07: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
28b35c55a1
update docs config
2019-06-23 12:27:25 -07:00
David Lord
7d77958000
use sphinx-issues, rewrap changelog
2019-06-23 12:25:38 -07:00
David Lord
e666f7a69c
standardize license and copyright
2019-06-22 13:09:09 -07:00
David Lord
146df0f9e8
use dashes for command names
2019-06-21 08:47:27 -07:00
David Lord
54519ef028
document behavior of very generic error handlers
2019-06-21 08:22:35 -07:00
David Lord
4b519f0e33
reword api error section
2019-06-12 11:02:53 -07:00
Logan Wright
7bc965fada
adds api error handling documentation
2019-06-12 10:54:12 -07:00
David Lord
09392e0348
Merge remote-tracking branch 'origin/1.0.x'
2019-06-01 06:53:29 -07:00
Jon S. Stumpf
b46f5942a5
address flake8 issues
2019-06-01 06:31:35 -07:00
Jon S. Stumpf
549fed29ea
add pre-commit config for flake8
2019-06-01 09:13:46 -04:00
David Lord
b61cbf8ab4
Merge pull request #3244 from paulgb/master
...
Clarify documentation about how url_for uses configuration values (#2759 )
2019-06-01 08:59:01 -04:00
Paul Butler
a3272941ce
Clarify documentation about how url_for uses configuration values ( #2759 )
2019-05-31 15:33:06 -04:00
Diego Alberto Torres Quintanilla
45b2e7702d
Guard against missing request context in logging docs.
2019-05-31 14:54:03 -04:00
David Lord
6e995f2379
Merge pull request #3240 from ultimecia7/docfix
...
Fix testing documentation to demonstrate using test client with teardown
2019-05-31 14:06:54 -04:00
ultimecia7
d981cc678a
Fix testing documentation to demonstrate using test client with teardown
2019-05-31 13:18:54 -04:00
Anthony Plunkett
ec1ccd7530
Add Blueprint level cli command registration
...
Implements #1357 .
Adds ability to register click cli commands onto blueprint.
2019-05-24 14:43:29 -07:00
David Lord
1ecc341fe5
add quickstart about JSON responses
2019-05-24 10:28:12 -07:00