flask/docs
Kyle Lawlor 17d4cb3828 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
..
_static Added a favicon for the docs 2014-01-06 17:58:54 +02:00
_templates Change to Pallets project 2016-04-03 23:11:38 +02:00
_themes@3d964b6604 Fixed submodules. Once again -.- 2010-07-28 01:32:39 +02:00
deploying Remove dotCloud host instructions 2016-04-06 23:30:41 -07:00
patterns Update docs to the new CLI patterns 2016-05-26 20:45:50 +02:00
tutorial Address #1902: Converts example/flaskr to have a setup.py (#1945) 2016-07-05 17:30:59 -07:00
.gitignore Started working on documentation. 2010-04-06 16:02:14 +02:00
advanced_foreword.rst Stop recommending Python 2.6 2014-07-07 21:17:20 +09:00
api.rst 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
appcontext.rst minor revision of documentation. 2016-04-01 23:12:25 +02:00
becomingbig.rst Update becomingbig.rst 2014-07-14 15:08:31 +08:00
blueprints.rst docs: :file:app.py, :file:yourapp/templates 2014-11-05 06:45:22 +03:00
changelog.rst Added changelog, restructured docs a bit. 2010-04-20 20:21:01 +02:00
cli.rst Added plugin support to the cli 2016-05-26 21:29:01 +02:00
conf.py fix some warnings while building docs 2016-04-11 16:13:59 -07:00
config.rst s/1.0/0.11/ in versionadded/versionchanged markers 2016-05-23 14:43:23 +02:00
contents.rst.inc Updated docs for click support 2014-04-28 13:27:13 +02:00
design.rst Fixed documentation in 'Design Decisions in Flask' 2013-05-03 17:42:15 +05:30
errorhandling.rst Incorporated ThiefMaster's suggestions for docs 2016-05-27 00:17:58 +02:00
extensiondev.rst 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
extensions.rst fix some warnings while building docs 2016-04-11 16:13:59 -07:00
flaskdocext.py Tweaked autodoc to skip :internal: methods. 2011-08-07 14:15:33 +02:00
flaskext.py Heavily improved documentation 2010-04-11 02:20:10 +02:00
flaskstyle.sty Fixed line numbers for flask pdf 2011-02-06 11:56:55 +01:00
foreword.rst Grammatical fixes in Foreword and Tutorial 2014-12-16 11:30:00 -08:00
htmlfaq.rst minor revision of documentation. 2016-04-01 23:12:25 +02:00
index.rst Fix Pocoo documentation links 2014-04-26 01:20:12 +02:00
installation.rst Change to Pallets project 2016-04-03 23:11:38 +02:00
latexindex.rst Added interactive Python docs, fixed part style. 2010-05-24 18:37:48 +02:00
license.rst Unify the uses of "sourcecode" vs "source code". 2014-10-27 11:54:28 +01:00
logo.pdf Updated logo in the PDF docs 2010-05-12 02:06:40 +02:00
make.bat Started working on documentation. 2010-04-06 16:02:14 +02:00
Makefile Started working on documentation. 2010-04-06 16:02:14 +02:00
python3.rst Fix small typo in python3 docs 2016-06-21 17:27:03 +02:00
quickstart.rst quickstart: Remove reference to python hello.py 2016-05-29 15:46:48 +02:00
reqcontext.rst Fix typo 2016-02-03 21:08:22 +08:00
security.rst Change to Pallets project 2016-04-03 23:11:38 +02:00
server.rst 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
shell.rst 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
signals.rst minor revision of documentation. 2016-04-01 23:12:25 +02:00
styleguide.rst docs: `True, False and None` 2014-11-05 06:04:58 +03:00
templating.rst Fix typo in templating.rst 2015-11-04 12:00:44 +01:00
testing.rst Change to Pallets project 2016-04-03 23:11:38 +02:00
unicode.rst Small punctuation change in unicode doc 2014-03-19 10:23:17 -07:00
upgrading.rst 1.0 -> 0.11 in the docs 2016-05-26 20:52:17 +02:00
views.rst docs: `with, for, self` 2014-11-05 07:39:54 +03:00