Commit graph

1271 commits

Author SHA1 Message Date
David Lord
0b7a74dda3
split code and output 2018-09-21 06:05:52 -07:00
Tom Busby
eae6440605
Make script output into comments to not break syntax highlighting
http://flask.pocoo.org/docs/1.0/quickstart/#url-building

In the URL Building section of the quickstart, the script output is shown right after the code.

This breaks syntax highlighting for the whole code-block. To fix this, I have made the output into comments.
2018-09-19 23:42:35 +02:00
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
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
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
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
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
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
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
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
Kamil Wargula
c92c1e93c7
Update docs - add command for listing rules. 2018-06-20 14:39:08 +02:00
Grey Li
27e67dafc0
Remove unnecessary period in documentation 2018-06-17 12:12:37 +08:00
ThiefMaster
161c43649d Merge branch '1.0-maintenance' 2018-06-14 13:31:40 +02:00
Saul Urias
0b4296ff17 Fix typo in appcontext.rst 2018-05-29 19:11:30 +02: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
Tiago Coutinho
c853d11fc5
Update gevent wsgi
gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. 
gevent.pywsgi should be used instead
2018-05-21 08:10:16 +02:00
Grey Li
07b9ff6e77
Make super() compatible for Python2 2018-05-16 19:13:19 +08:00
David Lord
a35a97e49d
Merge branch '0.12-maintenance' into 1.0-maintenance 2018-05-08 20:31:10 -07:00
Daniel Opitz
1c2a2cd001
Fixed LaTeX errors on documentation PDF generation 2018-05-08 20:30:36 -07:00
David Lord
335dcf8ec4
clarify the section navigation in installation 2018-05-08 20:10:27 -07:00
Mitchel Humpherys
725f391399
docs: installation: Add link to Quickstart after install
Once Flask is installed many users will want to proceed to the next section
in the docs (Quickstart).  Add a link to the end of the Install section for
this.
2018-05-08 19:59:25 -07:00
Daniel Opitz
676efcc21a Fixed LaTeX errors on documentation PDF generation 2018-05-03 02:01:49 +02:00
Aaron Hall, MBA
5a75da5471
add missing port to localhost URL 2018-04-30 19:03:05 -07:00
Aaron Hall, MBA
a6750079f8
add missing port to localhost URL 2018-04-30 21:28:53 -04:00
David Lord
6b2127b1e0
Merge pull request #2745 from dmarasquin/patch-1
Update quickstart.rst
2018-04-29 14:57:24 -07:00
Daiana Marasquin
104808b480
fix syntax error and typo in quickstart.rst 2018-04-29 14:51:13 -07:00
David Lord
5965cb7e1c
rename to FLASK_SKIP_DOTENV, add docs, test 2018-04-29 14:20:17 -07:00
Yao Long
9b6878af5a
document error on fileupload
after file uploaded, it should redirect for uploaded_file page instead
of upload page
2018-04-27 11:04:35 -07:00
Vik
9394c389bf
Update config.rst
Fix Debug Default: By default Debug is only True when ENV is 'development'
2018-04-27 10:17:43 -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
3f81582d5d
fix docs index sidebar 2018-04-26 15:15:55 -07:00
David Lord
8ceff653c5
fix docs index sidebar 2018-04-26 15:15:31 -07:00
David Lord
987b0098d8
fix docs logo 2018-04-26 13:06:15 -07:00
David Lord
216151c8a3
Merge branch '0.12-maintenance' 2018-04-26 12:18:06 -07:00
David Lord
22992a0d53
add donate link 2018-04-26 07:46:50 -07:00
David Lord
2ede0b8ba9
add donate link 2018-04-26 07:44:59 -07:00
David Lord
4137aecca9
add donate link 2018-04-26 06:05:13 -07:00
David Lord
44dc32243e
add donate link 2018-04-26 06:03:33 -07:00
Grey Li
7df3524bb9
Fix typo in docs 2018-04-24 08:09:08 +08:00
David Lord
93698b509b
document cli option env vars
closes #2713
2018-04-20 13:25:04 -07:00
David Lord
84efe4de77
enable intersphinx 2018-04-18 13:10:56 -07:00