Commit graph

3400 commits

Author SHA1 Message Date
Jarek Lipski
47dadcfe15
fix @click.command example by adding parens
Otherwise the example fails with the following error: 
"name = name or cmd.name AttributeError: 'function' object has no attribute 'name'". 

More details: https://stackoverflow.com/a/51923415/4619705
2018-09-19 18:55:12 +02:00
David Lord
19a0a7d771
Merge pull request #2912 from pallets/docs-theme
Update Sphinx conf for recent theme changes
2018-09-17 08:56:25 -07:00
David Lord
0f4c9f1d57
reformat sphinx config 2018-09-17 08:35:53 -07:00
David Lord
ba868d681a
update sphinx config 2018-09-17 08:35:28 -07:00
David Lord
d493e3e083
Merge pull request #2910 from garenchan/docs
fix issue: no theme named 'flask' found
2018-09-17 06:39:45 -07:00
chengkang
067c772588 remove DocVersion related 2018-09-17 21:05:53 +08:00
chengkang
3e86fd25e9 fix issue: no theme named 'flask' found 2018-09-17 16:18:52 +08:00
Grey Li
21b0aa6dd8 Add prefix for all commands in documentation (#2877)
* Add prefix for commands in docs

* Add prefix for commands in example's README
2018-09-09 17:41:56 +09:00
Alexis Benoist
b9b88b0cdf doc reqcontext fix teardown example (#2892)
* doc reqcontext fix teardown example

* remove comments
2018-08-25 00:12:15 +09:00
David Lord
7d9dcfa294
Merge pull request #2872 from cktan98/master
Fix grammatical error
2018-07-24 11:04:58 -07:00
cktan98
f45ceec31f Fix grammatical error 2018-07-25 01:57:30 +08:00
David Lord
345685c014
Merge pull request #2861 from jwflory/fix/uwsgi-docs
[docs] Fix broken Sphinx cross-references; use :doc: tags where necessary
2018-07-20 10:42:09 -07:00
David Lord
93e4b714a1
Merge pull request #2870 from jerr0328/docs-update-cli-scriptinfo
📚 Improve docs about ScriptInfo
2018-07-20 10:28:04 -07:00
Jeremy Mayeres
c7791bb526
📚 Improve docs about ScriptInfo
Improve documentation for the CLI using application factories and
how/when the ScriptInfo object is passed with Application Discovery
2018-07-20 19:20:04 +02:00
Justin W. Flory
e771016a5b
Fix broken cross-references; use :doc: tags where necessary 2018-07-11 10:12:18 -05:00
Justin W. Flory
72dfb67828
Make explicit call-out to contributing guidelines in README 2018-07-11 09:38:17 -05:00
David Lord
06b189b6be
Merge pull request #2850 from billfienberg/patch-1
Fix grammatical error: incorrect verb conjugation
2018-06-29 13:49:01 -07:00
Bill Fienberg
15b2301754
Fix grammatical error: incorrect verb conjugation
Before: >However, as a project *get* bigger

After: >However, as a project *gets* bigger
2018-06-29 14:35:44 -05:00
David Lord
0bb25eb367
Merge pull request #2848 from gcrsaldanha/use-itervalues
🎨 Use `itervalues` instead of `iteritems` when `key` is not necessary
2018-06-28 22:23:08 -07:00
Gabriel Saldanha
d5c465ddf4 🎨 Use itervalues instead of iteritems 2018-06-29 00:10:44 -03:00
David Lord
b6edad64aa
Merge pull request #2843 from gcrsaldanha/use-set-literal-in-docs
🎨 Use set literal instead of set method in file uploading example
2018-06-28 07:22:35 -07:00
David Lord
81c2a1e475
Merge pull request #2842 from gcrsaldanha/task/remove-deprecated-code
🔥 Remove code supposed to be removed at v1.0
2018-06-28 07:22:17 -07:00
David Lord
f4b0f64482
Merge pull request #2839 from jlara310/master
Typo in docs
2018-06-27 22:25:16 -07:00
Juan Lara
bb63298b71 Typo in docs
"keeps track on" -> "keeps track of"
2018-06-27 21:49:21 -07:00
Gabriel Saldanha
c5af1be70f 🎨 Use set literal instead of set method 2018-06-27 08:58:26 -03:00
Gabriel Saldanha
d362399e7e 🔥 Remove code supposed to be removed at v1.0 2018-06-27 08:23:44 -03:00
David Lord
827536e20a
Merge pull request #2837 from quamilek/update-docs
Update docs - add command for listing rules.
2018-06-20 06:50:59 -07:00
Kamil Wargula
c92c1e93c7
Update docs - add command for listing rules. 2018-06-20 14:39:08 +02:00
David Lord
7627d9ce13
Merge pull request #2834 from greyli/remove-unnecessary-period
Remove unnecessary period in documentation
2018-06-17 20:43:57 -07:00
Grey Li
27e67dafc0
Remove unnecessary period in documentation 2018-06-17 12:12:37 +08:00
David Lord
0559f7c86b
Merge pull request #2828 from greyli/patch-9
Update cli tips for .flaskenv
2018-06-15 12:50:15 -07:00
Grey Li
f036308442
Add cli tips for .flaskenv 2018-06-15 19:12:50 +08:00
ThiefMaster
161c43649d Merge branch '1.0-maintenance' 2018-06-14 13:31:40 +02:00
Adrian
1a9caedb49
Merge pull request #2765 from ThiefMaster/custom-cli-ignore-debug
Add option to not overwrite debug flag in cli
2018-06-14 13:31:00 +02:00
ThiefMaster
50227f0954 Add option to not overwrite debug flag in cli
This is mainly intended for custom CLIs that may load a config file
which already sets the debug flag and does not make use of the `FLASK_*`
env vars at all.
2018-06-14 13:25:05 +02:00
Hsiaoming Yang
b2ec6a33a2
Merge pull request #2827 from schafle/fix-2823
[Fixed 2823] Checking if .env is file before prompting to install dotenv
2018-06-14 10:12:20 +09:00
Suraj Chafle
076dddb2e1 Fixed 2823 2018-06-13 16:31:54 -07:00
Anthony Plunkett
673e5af658
Merge pull request #2826 from senarclens/master
add init-db call to flask tutorial's README.rst
2018-06-13 15:48:57 -04:00
Gerald Senarclens de Grancy
d0088e63d8 add init-db call to flask tutorial
otherwise the user is confronted with an unpleasant error
message when accessing the dev server the first time
2018-06-13 20:51:50 +02:00
Hsiaoming Yang
9c0e110e23
Merge pull request #2795 from dayiguizhen/master
Update CHANGES.rst
2018-06-03 18:39:17 +09:00
David Lord
b6a8f75c70
Merge pull request #2811 from greyli/test-routes-command-for-no-routes
Add test for routes command when no routes registered
2018-05-31 09:10:17 -07:00
Grey Li
4025e27b57 Add test for routes command when no routes registered 2018-05-31 11:43:51 +08:00
David Lord
b34c7174e7
update test envs
use pypy3
fix travis osx env
cache pip on appveyor
codecov on appveyor
2018-05-29 11:46:04 -07:00
Saul Urias
0b4296ff17 Fix typo in appcontext.rst 2018-05-29 19:11:30 +02:00
David Lord
8080ead523
Merge pull request #2807 from eso31/master
Test added for _AppCtxGlobals __repr__ method
2018-05-29 09:42:43 -07:00
Dilan Coss
8fa3ed13bf details fixed 2018-05-29 09:51:08 -06:00
Dilan Coss
8cdd01ea5d Test added for _AppCtxGlobals __repr__ method 2018-05-28 23:49:06 -06:00
David Lord
79fc8e5c31
Merge pull request #2806 from doobeh/uwsgi_doc_fix
Set uwsgi link to use :ref:
2018-05-28 12:25:06 -07:00
Anthony Plunkett
7cc71cccec Set uwsgi link to use :ref:
Fixes #2802
2018-05-28 15:10:55 -04:00
David Lord
99c56eaafa
Merge pull request #2804 from pallets/ascii-header
encode filenames as ascii instead of latin-1
2018-05-28 06:57:15 -07:00