Grey Li
2b0a29b708
Merge remote-tracking branch 'origin/1.1.x'
2020-12-30 21:00:49 +08:00
jordivandooren
1426d8e30d
fix explanation of wheel name ( #3848 )
...
* fix explanation of wheel name
* Improve the description of wheel filename format
Co-authored-by: Grey Li <withlihui@gmail.com>
2020-12-30 18:57:37 +08:00
Viet Hung Nguyen
d37a8a0851
mkstemp returns a file descriptor ( #3809 )
2020-10-31 20:09:57 -07:00
Grey Li
6219702269
Add command switch tabs for Bash, CMD and Powershell with sphinx-tabs ( #3714 )
...
* Enable Sphinx extension sphinx-tabs
* Add command tabs for all export commands
* Add command tabs for all venv commands
Fix trim spaces
2020-10-15 14:08:37 -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
c0c76bd651
remove Python 2 from docs
2020-04-04 12:05:44 -07:00
Grey Li
66a28f0f28
Replace old pocoo links everywhere
...
pocco.org -> palletsprojects.com
2019-11-19 09:32:35 -08:00
David Lord
1ee9405ff3
Merge branch '1.0.x'
2019-07-01 10:54:31 -07:00
Anthony Sottile
f65c6d3860
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
ff0c92a1c7
Merge branch '1.0.x'
2019-06-23 16:57:52 -07:00
David Lord
363741ec69
fix docks linkcheck
2019-06-23 15:37:51 -07:00
jaydarius
b028b995ce
use or to complete the either statement
2019-05-08 10:59:55 -04:00
David Lord
39a8efe484
Merge branch '1.0-maintenance'
2019-01-06 15:46:33 -08:00
David Lord
564faabda1
clarify where to call flask run from in tutorial
2019-01-06 15:10:38 -08:00
David Lord
fc7a1c4344
Merge branch '1.0-maintenance'
2019-01-06 10:36:54 -08:00
Jesse Seldess
0c011a4c15
Fix typos found while completing the Flask tutorial
2019-01-06 08:01:45 -08:00
Grey Li
95008cf43d
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
cktan98
88d0d793c7
Fix grammatical error
2018-07-25 01:57:30 +08:00
Bill Fienberg
aa7e42eb03
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
Aaron Hall, MBA
e2018cb2d9
add missing port to localhost URL
2018-04-30 19:03:05 -07:00
Aaron Hall, MBA
62fa658442
add missing port to localhost URL
2018-04-30 21:28:53 -04:00
David Lord
e29bd92c52
rewrite tutorial docs and example
2018-04-09 00:53:25 -07:00
David Lord
b2de7b49a7
clean up FLASK_ENV docs [ci skip]
2018-01-10 15:46:11 -08:00
Armin Ronacher
a1afc8f1a7
Add Support for FLASK_ENV ( #2570 )
...
This introduces environments to Flask
2018-01-06 17:07:56 +01:00
Brennan Vincello
e47687e3cc
Add version warning
2017-08-10 21:51:02 -07:00
David Lord
d590d6024d
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
Dave
f5fd819008
Fix typo
2017-05-25 10:04:10 +05:30
Dave Morse
52cf33d08c
Minor edits to tutorial for clarity. ( #2330 )
2017-05-24 17:00:20 -07:00
Elton Law
822697fe1f
Close <li> tag in tutorial ( #2199 )
...
Change was merged in the example code but wasn't changed in the docs. c54d67adee
2017-03-05 13:07:49 +01:00
Timothy John Perisho Eccleston
aadce6bc34
Fix typo in docs/tutorial/templates.rst ( #2186 )
2017-02-18 07:41:58 +01:00
Jeff Widman
2ad2aadb88
Migrate various docs links to https ( #2180 )
...
Also fixed a few outdated links
2017-02-11 10:43:11 +01:00
vojtekb
83d2ba9cf8
py.test => pytest ( #2173 )
...
py.test => pytest
2017-02-09 18:34:16 +01:00
Markus Unterwaditzer
b506b7bfbf
Merge branch '0.11-maintenance'
2016-10-30 14:35:15 +01:00
Kyle Lawlor
02cab299c3
Fixes import statement in flaskr ( #2068 )
...
- `from flaskr.flaskr import app` in flaskr/__init__.py
causes an import error with Python 2
- The relative import now used works for py2 and py3
2016-10-30 14:34:49 +01:00
Markus Unterwaditzer
525e266822
Merge branch '0.11-maintenance'
2016-09-08 15:21:05 +02:00
Kyle Lawlor
6ed4a18712
Clean up tutorial docs for installable app pattern with flaskr ( #2002 )
...
* Clean up tutorial docs for installable app pattern
- reading sequentially through the tutorial works.
- fixes references to `export FLASK_APP=flaskr.flaskr`
* Fixes titles for each section of flaskr tutorial
* Revert grammar
* Emphasize the Packaging Guide
- adds more general packaging resource
- removes the emphasis put on setuptools
* rephrase and remove note admonitions
- expanded on few points
- removed note blocks, they are unneccessary
* Remove note about reinstalling to update cli
- I had mistakenly thought it was necessary to
re-install the app to update the cli.
- the `--editable` flag detects the change and
the cli updates without issue.
2016-09-08 15:19:48 +02:00
Josh Soref
0f2c793e14
Spelling ( #1998 )
...
* spelling: cacheability
* spelling: conceptually
* spelling: javascript
* spelling: reset
* spelling: raised
* comma: instead..., they...
2016-08-30 00:26:20 +02:00
SaturnR
ee84b877cb
Update for python3 ( #1973 )
...
just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
2016-08-20 17:43:10 +02:00
Kyle Lawlor
d83d72b480
Address #1902 : Converts example/flaskr to have a setup.py ( #1945 )
...
* Converts example/flaskr to have a setup.py
Makes the flaskr app easier to run, ex. workflow:
- pip install --editable .
- export FLASK_APP=flaskr.flaskr
- flask initdb
- flask run
Testing is also easier now:
- python setup.py test
* Fixed an import error in flaskr/tests
- the statement `import flaskr` caused errors in python3
- `from . import flaskr` fixes the issue in 2.7.11 and 3.5.1
* Better project structure and updates the docs
- Re-factors *flaskr*'s project structure a bit
- Updates docs to make sense with the new structure
- Adds a new step about installing Flask apps with setuptools
- Switches first-person style writing to second-person (reads better IMO)
- Adds segments in *testing.rst* for running tests with setuptools
* Remove __init__.py from tests
- py.test recommends not using __init__.py
* Fix testing import errors
2016-07-05 17:30:59 -07:00
Armin Ronacher
4cb36cbafc
Update docs to the new CLI patterns
2016-05-26 20:45:50 +02:00
Winston Kouch
f3cf80f9b8
Add note to not use plain text passwords to views.rst
2016-04-05 18:53:08 +02:00
José Carlos García
fcb3c0a4fe
Change to Pallets project
...
* Update CHANGES
* Update CONTRIBUTING.rst
* Update setup.py
* Update tox.ini
* Update extensions.rst
* Update security.rst
* Update installation.rst
* Update testing.rst
* Update upgrading.rst
* Update sidebarintro.html
* Update jquery.rst
* Update dbcon.rst
* Update index.rst
2016-04-03 23:11:38 +02:00
bagratte
de4e0a553c
minor revision of documentation.
2016-04-01 23:12:25 +02:00
Austen D'Souza
700aae260d
Fixed typo
...
I think it's supposed to be an upper-case 'F'. Cheers :)
2016-03-23 02:02:04 +05:30
Alex Chan
f4a53e97ea
Fix a few spelling mistakes in the docs
2015-04-03 20:43:40 +01:00
Kevin Yap
8b1337d85a
Grammatical fixes in Foreword and Tutorial
2014-12-16 11:30:00 -08:00
defuz
f865a7ffd6
docs: `.html, .py`
2014-11-05 07:52:04 +03:00
defuz
62019cf705
docs: `with, for, self`
2014-11-05 07:39:54 +03:00
defuz
ec806c1bbe
docs: :command:pip, :option:--debug
2014-11-05 07:03:55 +03:00