Skip to content
Myr

Beefed up latex output. Unfortunately parts look ugly.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Armin Ronacher · committed by Armin Ronacher · parent 854e0e2 · Browse files · 7 files+98 added−44 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+98 added−44 removed

  • other:+98 added−44 removed

7 files+98 added−44 removed

modified:docs/conf.py+1 added
188 unmodified lines
189 'papersize': 'a4paper',190 'pointsize': '12pt',191 'preamble': r'\usepackage{flaskstyle}'192}193latex_use_parts = True194195latex_additional_files = ['flaskstyle.sty', 'logo.pdf']196197
44 unmodified lines
deleted:docs/contents.rst.inc-42 removed
1User's Guide2------------34This part of the documentation is written text and should give you an idea5how to work with Flask. It's a series of step-by-step instructions for6web development.78.. toctree::9 :maxdepth: 21011 foreword12 installation13 quickstart14 tutorial/index15 testing16 errorhandling17 patterns/index18 deploying/index19 becomingbig2021API Reference22-------------2324If you are looking for information on a specific function, class or25method, this part of the documentation is for you:2627.. toctree::28 :maxdepth: 22930 api3132Additional Notes33----------------3435Design notes, legal information and changelog are here for the interested:3637.. toctree::38 :maxdepth: 23940 design41 license42 changelog
modified:docs/errorhandling.rst+2 added
161 unmodified lines
162Here is a list of useful formatting variables for the format string. Note163that this list is not complete, consult the official documentation of the164:mod:`logging` package for a full list.165166.. tabularcolumns:: |p{3cm}|p{12cm}|167168+------------------+----------------------------------------------------+169| Format | Description |170+==================+====================================================+171| ``%(levelname)s``| Text logging level for the message |
65 unmodified lines
modified:docs/flaskstyle.sty+9 added
68 unmodified lines
69\ChNameVar{\raggedleft\normalsize}70\ChNumVar{\raggedleft \bfseries\Large}71\ChTitleVar{\raggedleft \rm\Huge}7273% use inconsolata font74\usepackage{inconsolata}7576% fix single quotes, for inconsolata. (does not work)77%%\usepackage{textcomp}78%%\begingroup79%% \catcode`'=\active80%% \g@addto@macro\@noligs{\let'\textsinglequote}81%% \endgroup82%%\endinput
modified:docs/index.rst+44 added-1 removed
1:orphan:23Welcome to Flask4================56.. image:: _static/logo-full.png
19 unmodified lines
2627.. _Jinja2: http://jinja.pocoo.org/2/28.. _Werkzeug: http://werkzeug.pocoo.org/2928.. include:: contents.rst.inc30User's Guide31------------3233This part of the documentation is written text and should give you an idea34how to work with Flask. It's a series of step-by-step instructions for35web development.3637.. toctree::38 :maxdepth: 23940 foreword41 installation42 quickstart43 tutorial/index44 testing45 errorhandling46 patterns/index47 deploying/index48 becomingbig4950API Reference51-------------5253If you are looking for information on a specific function, class or54method, this part of the documentation is for you:5556.. toctree::57 :maxdepth: 25859 api6061Additional Notes62----------------6364Design notes, legal information and changelog are here for the interested:6566.. toctree::67 :maxdepth: 26869 design70 license71 changelog
modified:docs/latexindex.rst+35 added-1 removed
1:orphan:23Flask Documentation4===================54.. include:: contents.rst.inc6User's Guide7------------89.. toctree::10 :maxdepth: 31112 foreword13 installation14 quickstart15 tutorial/index16 testing17 errorhandling18 patterns/index19 deploying/index20 becomingbig2122API Reference23-------------2425.. toctree::26 :maxdepth: 32728 api2930Additional Notes31----------------3233.. toctree::34 :maxdepth: 33536 design37 license38 changelog
modified:flask.py+7 added
1095 unmodified lines
1096 response object that is an instance of :attr:`response_class`.10971098 The following types are allowed for `rv`:10991100 .. tabularcolumns:: |p{3.5cm}|p{9.5cm}|11011102 ======================= ===========================================1103 :attr:`response_class` the object is returned unchanged1104 :class:`str` a response object is created with the1105 string as body
117 unmodified lines
1223current_app = LocalProxy(lambda: _request_ctx_stack.top.app)1224request = LocalProxy(lambda: _request_ctx_stack.top.request)1225session = LocalProxy(lambda: _request_ctx_stack.top.session)1226g = LocalProxy(lambda: _request_ctx_stack.top.g)122712281229# script interface to run a development server1230if __name__ == '__main__':1231 sys.exit(main(sys.argv))