[Python-modules-commits] [flask-wtf] 01/08: Import flask-wtf_0.14.2.orig.tar.gz

Adrian Vondendriesch discostu-guest at moszumanska.debian.org
Fri Jun 2 08:30:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

discostu-guest pushed a commit to branch master
in repository flask-wtf.

commit 66954889d8306a36a3a8f44745c48dc0e365345c
Author: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
Date:   Thu Jun 1 13:24:51 2017 +0200

    Import flask-wtf_0.14.2.orig.tar.gz
---
 AUTHORS                                        |   6 +
 Flask_WTF.egg-info/PKG-INFO                    |  36 ++-
 Flask_WTF.egg-info/SOURCES.txt                 |  11 +-
 Flask_WTF.egg-info/requires.txt                |   1 -
 LICENSE                                        |   2 +-
 MANIFEST.in                                    |  12 +-
 PKG-INFO                                       |  36 ++-
 README.rst                                     |  20 +-
 docs/Makefile                                  | 170 +++++++++--
 docs/_templates/useful-links.html              |   6 +-
 docs/_themes/README                            |  31 --
 docs/_themes/README.rst                        |  71 +++++
 docs/_themes/flask/layout.html                 |  47 +--
 docs/_themes/flask/static/flasky.css_t         |  24 +-
 docs/_themes/flask/theme.conf                  |   2 +
 docs/_themes/flask_small/layout.html           |  38 +++
 docs/_themes/flask_small/static/flasky.css_t   | 287 +++++++++++++++++
 docs/_themes/{flask => flask_small}/theme.conf |   3 +
 docs/api.rst                                   |  50 +--
 docs/changelog.rst                             | 117 ++++++-
 docs/conf.py                                   | 322 ++++++++++++++------
 docs/config.rst                                |  80 +++--
 docs/csrf.rst                                  | 170 +++++------
 docs/form.rst                                  | 128 ++++----
 docs/index.rst                                 |  28 +-
 docs/install.rst                               |   2 +-
 docs/make.bat                                  | 394 +++++++++++++++++-------
 docs/quickstart.rst                            |   9 +-
 flask_wtf/__init__.py                          |   6 +-
 flask_wtf/_compat.py                           |  16 +-
 flask_wtf/csrf.py                              | 406 +++++++++++++++----------
 flask_wtf/file.py                              |  86 +++---
 flask_wtf/form.py                              | 259 ++++++++--------
 flask_wtf/html5.py                             |   9 +
 flask_wtf/i18n.py                              |   5 +-
 setup.cfg                                      |   9 +
 setup.py                                       |  58 +---
 test-requirements.txt                          |   5 +
 tests/base.py                                  |  54 +++-
 tests/templates/csrf_macro.html                |   2 +-
 tests/test_csrf.py                             | 156 ++++++----
 tests/test_deprecated.py                       |  45 +++
 tests/test_html5.py                            |  53 ----
 tests/test_i18n.py                             |   6 +-
 tests/test_recaptcha.py                        |  14 +-
 tests/test_uploads.py                          |  14 +-
 tests/test_validation.py                       |  75 ++---
 tox.ini                                        |   6 +
 48 files changed, 2212 insertions(+), 1175 deletions(-)

diff --git a/AUTHORS b/AUTHORS
new file mode 100644
index 0000000..e18e97b
--- /dev/null
+++ b/AUTHORS
@@ -0,0 +1,6 @@
+* Dan Jacob
+* Ron DuPlain
+* Daniel Lepage
+* Anthony Ford
+* Hsiaoming Yang
+* David Lord
diff --git a/Flask_WTF.egg-info/PKG-INFO b/Flask_WTF.egg-info/PKG-INFO
index 9b5b84a..7608b40 100644
--- a/Flask_WTF.egg-info/PKG-INFO
+++ b/Flask_WTF.egg-info/PKG-INFO
@@ -1,39 +1,47 @@
 Metadata-Version: 1.1
 Name: Flask-WTF
-Version: 0.12
-Summary: Simple integration of Flask and WTForms
-Home-page: http://github.com/lepture/flask-wtf
+Version: 0.14.2
+Summary: Simple integration of Flask and WTForms.
+Home-page: https://github.com/lepture/flask-wtf
 Author: Hsiaoming Yang
 Author-email: me at lepture.com
 License: BSD
-Description: 
-        Flask-WTF
+Description: Flask-WTF
         =========
         
-        Simple integration of Flask and WTForms, including CSRF, file upload
-        and Recaptcha integration.
+        .. image:: https://travis-ci.org/lepture/flask-wtf.svg?branch=master
+           :target: https://travis-ci.org/lepture/flask-wtf
+           :alt: Travis CI Status
+        .. image:: https://coveralls.io/repos/lepture/flask-wtf/badge.svg?branch=master
+           :target: https://coveralls.io/r/lepture/flask-wtf
+           :alt: Coverage Status
+        
+        Simple integration of Flask and WTForms, including CSRF, file upload,
+        and reCAPTCHA.
         
         Links
         -----
         
-        * `documentation <https://flask-wtf.readthedocs.org>`_
-        * `development version
-          <http://github.com/lepture/flask-wtf>`_
-        
-        
+        * `Documentation <https://flask-wtf.readthedocs.io>`_
+        * `PyPI <https://pypi.python.org/pypi/Flask-WTF>`_
+        * `GitHub <https://github.com/lepture/flask-wtf>`_
         
 Platform: any
-Classifier: Development Status :: 4 - Beta
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Web Environment
+Classifier: Framework :: Flask
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: Implementation
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
diff --git a/Flask_WTF.egg-info/SOURCES.txt b/Flask_WTF.egg-info/SOURCES.txt
index e5ab369..8b9d8f6 100644
--- a/Flask_WTF.egg-info/SOURCES.txt
+++ b/Flask_WTF.egg-info/SOURCES.txt
@@ -1,7 +1,11 @@
+AUTHORS
 LICENSE
 MANIFEST.in
 README.rst
+setup.cfg
 setup.py
+test-requirements.txt
+tox.ini
 Flask_WTF.egg-info/PKG-INFO
 Flask_WTF.egg-info/SOURCES.txt
 Flask_WTF.egg-info/dependency_links.txt
@@ -26,12 +30,15 @@ docs/_static/flask-wtf.png
 docs/_templates/brand.html
 docs/_templates/useful-links.html
 docs/_themes/LICENSE
-docs/_themes/README
+docs/_themes/README.rst
 docs/_themes/flask_theme_support.py
 docs/_themes/flask/layout.html
 docs/_themes/flask/relations.html
 docs/_themes/flask/theme.conf
 docs/_themes/flask/static/flasky.css_t
+docs/_themes/flask_small/layout.html
+docs/_themes/flask_small/theme.conf
+docs/_themes/flask_small/static/flasky.css_t
 flask_wtf/__init__.py
 flask_wtf/_compat.py
 flask_wtf/csrf.py
@@ -48,7 +55,7 @@ tests/base.py
 tests/flask.png
 tests/flask.txt
 tests/test_csrf.py
-tests/test_html5.py
+tests/test_deprecated.py
 tests/test_i18n.py
 tests/test_recaptcha.py
 tests/test_uploads.py
diff --git a/Flask_WTF.egg-info/requires.txt b/Flask_WTF.egg-info/requires.txt
index 8b36b11..658cc2d 100644
--- a/Flask_WTF.egg-info/requires.txt
+++ b/Flask_WTF.egg-info/requires.txt
@@ -1,3 +1,2 @@
 Flask
-Werkzeug
 WTForms
diff --git a/LICENSE b/LICENSE
index 51d5aef..5cbad1a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,5 +1,5 @@
 Copyright (c) 2010 by Dan Jacob.
-Copyright (c) 2013 - 2015 by Hsiaoming Yang.
+Copyright (c) 2013 by Hsiaoming Yang.
 
 Some rights reserved.
 
diff --git a/MANIFEST.in b/MANIFEST.in
index 6881781..4b8b11d 100644
--- a/MANIFEST.in
+++ b/MANIFEST.in
@@ -1,9 +1,9 @@
-include LICENSE 
-recursive-include tests *
+include AUTHORS LICENSE test-requirements.txt tox.ini
+graft tests
 recursive-exclude tests *.pyc
-recursive-exclude tests *.pyc
-recursive-include docs *
+recursive-exclude tests *.pyo
+graft docs
+prune docs/_build
+exclude docs/_themes/.git*
 recursive-exclude docs *.pyc
 recursive-exclude docs *.pyo
-prune docs/_build
-prune docs/_themes/.git
diff --git a/PKG-INFO b/PKG-INFO
index 9b5b84a..7608b40 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,39 +1,47 @@
 Metadata-Version: 1.1
 Name: Flask-WTF
-Version: 0.12
-Summary: Simple integration of Flask and WTForms
-Home-page: http://github.com/lepture/flask-wtf
+Version: 0.14.2
+Summary: Simple integration of Flask and WTForms.
+Home-page: https://github.com/lepture/flask-wtf
 Author: Hsiaoming Yang
 Author-email: me at lepture.com
 License: BSD
-Description: 
-        Flask-WTF
+Description: Flask-WTF
         =========
         
-        Simple integration of Flask and WTForms, including CSRF, file upload
-        and Recaptcha integration.
+        .. image:: https://travis-ci.org/lepture/flask-wtf.svg?branch=master
+           :target: https://travis-ci.org/lepture/flask-wtf
+           :alt: Travis CI Status
+        .. image:: https://coveralls.io/repos/lepture/flask-wtf/badge.svg?branch=master
+           :target: https://coveralls.io/r/lepture/flask-wtf
+           :alt: Coverage Status
+        
+        Simple integration of Flask and WTForms, including CSRF, file upload,
+        and reCAPTCHA.
         
         Links
         -----
         
-        * `documentation <https://flask-wtf.readthedocs.org>`_
-        * `development version
-          <http://github.com/lepture/flask-wtf>`_
-        
-        
+        * `Documentation <https://flask-wtf.readthedocs.io>`_
+        * `PyPI <https://pypi.python.org/pypi/Flask-WTF>`_
+        * `GitHub <https://github.com/lepture/flask-wtf>`_
         
 Platform: any
-Classifier: Development Status :: 4 - Beta
+Classifier: Development Status :: 5 - Production/Stable
 Classifier: Environment :: Web Environment
+Classifier: Framework :: Flask
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
-Classifier: Programming Language :: Python :: Implementation
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
diff --git a/README.rst b/README.rst
index 5cf0b31..dec4232 100644
--- a/README.rst
+++ b/README.rst
@@ -1,15 +1,6 @@
 Flask-WTF
 =========
 
-.. image:: https://img.shields.io/badge/flask-registered-green.svg?style=flat
-   :target: https://github.com/pocoo/metaflask
-   :alt: Meta Flask
-.. image:: https://pypip.in/wheel/flask-wtf/badge.svg?style=flat
-   :target: https://pypi.python.org/pypi/Flask-WTF/
-   :alt: Wheel Status
-.. image:: https://pypip.in/version/flask-wtf/badge.svg?style=flat
-   :target: https://pypi.python.org/pypi/Flask-WTF/
-   :alt: Latest Version
 .. image:: https://travis-ci.org/lepture/flask-wtf.svg?branch=master
    :target: https://travis-ci.org/lepture/flask-wtf
    :alt: Travis CI Status
@@ -17,9 +8,12 @@ Flask-WTF
    :target: https://coveralls.io/r/lepture/flask-wtf
    :alt: Coverage Status
 
-Simple integration of Flask and WTForms, including CSRF, file upload
-and Recaptcha integration.
+Simple integration of Flask and WTForms, including CSRF, file upload,
+and reCAPTCHA.
 
-For more information please refer to the online docs:
+Links
+-----
 
-https://flask-wtf.readthedocs.org
+* `Documentation <https://flask-wtf.readthedocs.io>`_
+* `PyPI <https://pypi.python.org/pypi/Flask-WTF>`_
+* `GitHub <https://github.com/lepture/flask-wtf>`_
diff --git a/docs/Makefile b/docs/Makefile
index 34526d7..3eb41ed 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -11,79 +11,215 @@ BUILDDIR      = _build
 PAPEROPT_a4     = -D latex_paper_size=a4
 PAPEROPT_letter = -D latex_paper_size=letter
 ALLSPHINXOPTS   = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
+# the i18n builder cannot share the environment and doctrees with the others
+I18NSPHINXOPTS  = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
 
-.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest
-
+.PHONY: help
 help:
 	@echo "Please use \`make <target>' where <target> is one of"
-	@echo "  html      to make standalone HTML files"
-	@echo "  dirhtml   to make HTML files named index.html in directories"
-	@echo "  pickle    to make pickle files"
-	@echo "  json      to make JSON files"
-	@echo "  htmlhelp  to make HTML files and a HTML help project"
-	@echo "  qthelp    to make HTML files and a qthelp project"
-	@echo "  latex     to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
-	@echo "  changes   to make an overview of all changed/added/deprecated items"
-	@echo "  linkcheck to check all external links for integrity"
-	@echo "  doctest   to run all doctests embedded in the documentation (if enabled)"
+	@echo "  html       to make standalone HTML files"
+	@echo "  dirhtml    to make HTML files named index.html in directories"
+	@echo "  singlehtml to make a single large HTML file"
+	@echo "  pickle     to make pickle files"
+	@echo "  json       to make JSON files"
+	@echo "  htmlhelp   to make HTML files and a HTML help project"
+	@echo "  qthelp     to make HTML files and a qthelp project"
+	@echo "  applehelp  to make an Apple Help Book"
+	@echo "  devhelp    to make HTML files and a Devhelp project"
+	@echo "  epub       to make an epub"
+	@echo "  epub3      to make an epub3"
+	@echo "  latex      to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
+	@echo "  latexpdf   to make LaTeX files and run them through pdflatex"
+	@echo "  latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
+	@echo "  text       to make text files"
+	@echo "  man        to make manual pages"
+	@echo "  texinfo    to make Texinfo files"
+	@echo "  info       to make Texinfo files and run them through makeinfo"
+	@echo "  gettext    to make PO message catalogs"
+	@echo "  changes    to make an overview of all changed/added/deprecated items"
+	@echo "  xml        to make Docutils-native XML files"
+	@echo "  pseudoxml  to make pseudoxml-XML files for display purposes"
+	@echo "  linkcheck  to check all external links for integrity"
+	@echo "  doctest    to run all doctests embedded in the documentation (if enabled)"
+	@echo "  coverage   to run coverage check of the documentation (if enabled)"
+	@echo "  dummy      to check syntax errors of document sources"
 
+.PHONY: clean
 clean:
-	-rm -rf $(BUILDDIR)/*
+	rm -rf $(BUILDDIR)/*
 
+.PHONY: html
 html:
 	$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
 
+.PHONY: dirhtml
 dirhtml:
 	$(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
 	@echo
 	@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
 
+.PHONY: singlehtml
+singlehtml:
+	$(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
+	@echo
+	@echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
+
+.PHONY: pickle
 pickle:
 	$(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
 	@echo
 	@echo "Build finished; now you can process the pickle files."
 
+.PHONY: json
 json:
 	$(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
 	@echo
 	@echo "Build finished; now you can process the JSON files."
 
+.PHONY: htmlhelp
 htmlhelp:
 	$(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
 	@echo
 	@echo "Build finished; now you can run HTML Help Workshop with the" \
 	      ".hhp project file in $(BUILDDIR)/htmlhelp."
 
+.PHONY: qthelp
 qthelp:
 	$(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
 	@echo
 	@echo "Build finished; now you can run "qcollectiongenerator" with the" \
 	      ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
-	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/flask-mail.qhcp"
+	@echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Flask-WTF.qhcp"
+	@echo "To view the help file:"
+	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Flask-WTF.qhc"
+
+.PHONY: applehelp
+applehelp:
+	$(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
+	@echo
+	@echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
+	@echo "N.B. You won't be able to view it unless you put it in" \
+	      "~/Library/Documentation/Help or install it in your application" \
+	      "bundle."
+
+.PHONY: devhelp
+devhelp:
+	$(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
+	@echo
+	@echo "Build finished."
 	@echo "To view the help file:"
-	@echo "# assistant -collectionFile $(BUILDDIR)/qthelp/flask-mail.qhc"
+	@echo "# mkdir -p $$HOME/.local/share/devhelp/Flask-WTF"
+	@echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Flask-WTF"
+	@echo "# devhelp"
 
+.PHONY: epub
+epub:
+	$(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
+	@echo
+	@echo "Build finished. The epub file is in $(BUILDDIR)/epub."
+
+.PHONY: epub3
+epub3:
+	$(SPHINXBUILD) -b epub3 $(ALLSPHINXOPTS) $(BUILDDIR)/epub3
+	@echo
+	@echo "Build finished. The epub3 file is in $(BUILDDIR)/epub3."
+
+.PHONY: latex
 latex:
 	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
 	@echo
 	@echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
-	@echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
-	      "run these through (pdf)latex."
+	@echo "Run \`make' in that directory to run these through (pdf)latex" \
+	      "(use \`make latexpdf' here to do that automatically)."
+
+.PHONY: latexpdf
+latexpdf:
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+	@echo "Running LaTeX files through pdflatex..."
+	$(MAKE) -C $(BUILDDIR)/latex all-pdf
+	@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
+
+.PHONY: latexpdfja
+latexpdfja:
+	$(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
+	@echo "Running LaTeX files through platex and dvipdfmx..."
+	$(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
+	@echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
 
+.PHONY: text
+text:
+	$(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
+	@echo
+	@echo "Build finished. The text files are in $(BUILDDIR)/text."
+
+.PHONY: man
+man:
+	$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
+	@echo
+	@echo "Build finished. The manual pages are in $(BUILDDIR)/man."
+
+.PHONY: texinfo
+texinfo:
+	$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+	@echo
+	@echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
+	@echo "Run \`make' in that directory to run these through makeinfo" \
+	      "(use \`make info' here to do that automatically)."
+
+.PHONY: info
+info:
+	$(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
+	@echo "Running Texinfo files through makeinfo..."
+	make -C $(BUILDDIR)/texinfo info
+	@echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
+
+.PHONY: gettext
+gettext:
+	$(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
+	@echo
+	@echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
+
+.PHONY: changes
 changes:
 	$(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
 	@echo
 	@echo "The overview file is in $(BUILDDIR)/changes."
 
+.PHONY: linkcheck
 linkcheck:
 	$(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
 	@echo
 	@echo "Link check complete; look for any errors in the above output " \
 	      "or in $(BUILDDIR)/linkcheck/output.txt."
 
+.PHONY: doctest
 doctest:
 	$(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
 	@echo "Testing of doctests in the sources finished, look at the " \
 	      "results in $(BUILDDIR)/doctest/output.txt."
+
+.PHONY: coverage
+coverage:
+	$(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
+	@echo "Testing of coverage in the sources finished, look at the " \
+	      "results in $(BUILDDIR)/coverage/python.txt."
+
+.PHONY: xml
+xml:
+	$(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
+	@echo
+	@echo "Build finished. The XML files are in $(BUILDDIR)/xml."
+
+.PHONY: pseudoxml
+pseudoxml:
+	$(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
+	@echo
+	@echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
+
+.PHONY: dummy
+dummy:
+	$(SPHINXBUILD) -b dummy $(ALLSPHINXOPTS) $(BUILDDIR)/dummy
+	@echo
+	@echo "Build finished. Dummy builder generates no files."
diff --git a/docs/_templates/useful-links.html b/docs/_templates/useful-links.html
index c39d27f..075300e 100644
--- a/docs/_templates/useful-links.html
+++ b/docs/_templates/useful-links.html
@@ -1,6 +1,6 @@
 <h3>Useful Links</h3>
 <ul>
-  <li><a href="https://github.com/lepture/flask-wtf">Flask-WTF at GitHub</a></li>
-  <li><a href="http://pypi.python.org/pypi/Flask-WTF">Flask-WTF at PyPI</a></li>
-  <li><a href="https://github.com/lepture/flask-wtf/issues">Issue Tracker</a></li>
+    <li><a href="http://pypi.python.org/pypi/Flask-WTF">PyPI</a></li>
+    <li><a href="https://github.com/lepture/flask-wtf">GitHub</a></li>
+    <li><a href="https://github.com/lepture/flask-wtf/issues">Issue Tracker</a></li>
 </ul>
diff --git a/docs/_themes/README b/docs/_themes/README
deleted file mode 100644
index b3292bd..0000000
--- a/docs/_themes/README
+++ /dev/null
@@ -1,31 +0,0 @@
-Flask Sphinx Styles
-===================
-
-This repository contains sphinx styles for Flask and Flask related
-projects.  To use this style in your Sphinx documentation, follow
-this guide:
-
-1. put this folder as _themes into your docs folder.  Alternatively
-   you can also use git submodules to check out the contents there.
-2. add this to your conf.py:
-
-   sys.path.append(os.path.abspath('_themes'))
-   html_theme_path = ['_themes']
-   html_theme = 'flask'
-
-The following themes exist:
-
-- 'flask' - the standard flask documentation theme for large
-  projects
-- 'flask_small' - small one-page theme.  Intended to be used by
-  very small addon libraries for flask.
-
-The following options exist for the flask_small theme:
-
-   [options]
-   index_logo = ''              filename of a picture in _static
-                                to be used as replacement for the
-                                h1 in the index.rst file.
-   index_logo_height = 120px    height of the index logo
-   github_fork = ''             repository name on github for the
-                                "fork me" badge
diff --git a/docs/_themes/README.rst b/docs/_themes/README.rst
new file mode 100644
index 0000000..427d62c
--- /dev/null
+++ b/docs/_themes/README.rst
@@ -0,0 +1,71 @@
+Flask Sphinx Themes
+===================
+
+This repository contains Sphinx themes for Flask and Flask related
+projects.  To use this theme in your Sphinx documentation:
+
+1. Put this folder as ``_themes`` in the docs folder.  Alternatively
+   you can use git submodules to check out the contents there.
+
+2. Add this to ``conf.py``:
+
+   .. code-block:: python
+
+       sys.path.append(os.path.join(os.path.dirname(__file__), '_themes'))
+       html_theme_path = ['_themes']
+       html_theme = 'flask'
+
+Themes
+------
+
+The following themes exist for ``html_theme``.
+
+======================= ===============================================
+flask                   The standard Flask documentation theme for
+                        large projects
+
+flask_small             Small single page theme.  Intended to be used
+                        by very small addon libraries for Flask.
+======================= ===============================================
+
+Options
+-------
+
+The following options can be set with ``html_theme_options``.
+
+======================= ===============================================
+index_logo              Filename of a picture in ``_static`` to be used
+                        as replacement for the ``h1`` in the
+                        ``index.rst`` file.
+                        *Default unset.*
+
+index_logo_height       Height of the index logo.
+                        *Default 120px*.
+
+touch_icon              Filename of a picture in ``_static`` to be use
+                        as the app icon on Apple devices.
+                        *Default unset.*
+
+github_fork             Repository name on GitHub for the "Fork Me"
+                        badge.
+                        *Default unset.*
+
+github_ribbon_color     Color for the "Fork Me" badge.
+                        *Default darkblue_121621.*
+======================= ===============================================
+
+Sidebar Templates
+-----------------
+
+The following sidebar templates can be included in ``html_sidebars``.
+
+======================= ===============================================
+relations.html          Show parent, previous, and next links.
+======================= ===============================================
+
+Pygments Style
+--------------
+
+The theme automatically sets ``pygments_style`` to the provided style.
+Make sure you remove any override from ``conf.py`` or set it to
+``flask_theme_support.FlaskyStyle``.
diff --git a/docs/_themes/flask/layout.html b/docs/_themes/flask/layout.html
index 22700aa..8398eba 100644
--- a/docs/_themes/flask/layout.html
+++ b/docs/_themes/flask/layout.html
@@ -1,24 +1,29 @@
-{%- extends "basic/layout.html" %}
-{%- block extrahead %}
-  {{ super() }}
-  {% if theme_touch_icon %}
-  <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />
-  {% endif %}
-  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
+{% extends 'basic/layout.html' %}
+
+{% block extrahead %}
+    {{ super() }}
+    {% if theme_touch_icon %}
+        <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}">
+    {% endif %}
+    <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
 {% endblock %}
-{%- block relbar2 %}{% endblock %}
+
+{% block relbar2 %}
+    {% if theme_github_fork %}
+        <a href="http://github.com/{{ theme_github_fork }}">
+            <img style="position: fixed; top: 0; right: 0; border: 0;"
+                 src="http://s3.amazonaws.com/github/ribbons/forkme_right_{{ theme_github_ribbon_color }}.png"
+                 alt="Fork me on GitHub">
+        </a>
+    {% endif %}
+{% endblock %}
+
 {% block header %}
-  {{ super() }}
-  {% if pagename == 'index' %}
-  <div class=indexwrapper>
-  {% endif %}
+    {{ super() }}
+    {% if pagename == 'index' %}<div class=indexwrapper>{% endif %}
+{% endblock %}
+
+{% block footer %}
+    {{ super() }}
+    {% if pagename == 'index' %}</div>{% endif %}
 {% endblock %}
-{%- block footer %}
-  <div class="footer">
-    © Copyright {{ copyright }}.
-  </div>
-  {%- block innerfooter %}{%- endblock %}
-  {% if pagename == 'index' %}
-  </div>
-  {% endif %}
-{%- endblock %}
diff --git a/docs/_themes/flask/static/flasky.css_t b/docs/_themes/flask/static/flasky.css_t
index 6d239e3..5906e75 100644
--- a/docs/_themes/flask/static/flasky.css_t
+++ b/docs/_themes/flask/static/flasky.css_t
@@ -331,17 +331,9 @@ dl dd {
     margin-left: 30px;
 }
 
-/* block level */
 blockquote {
-    border-left: 0.4em solid #ddd;
-    margin: 15px 0;
-    padding: 0 15px;
-    color: #777;
-}
-blockquote blockquote {
-    padding: 0 0 0 1em;
-    margin-left: 2em;
-    border-left: 0.4em solid #ddd;
+    margin: 0 0 0 30px;
+    padding: 0;
 }
 
 ul, ol {
@@ -431,10 +423,6 @@ a:hover tt {
         margin-left: 0;
     }
 
-    ul ul {
-        margin-left: 16px;
-    }
-
     .document {
         width: auto;
     }
@@ -484,7 +472,7 @@ a:hover tt {
     }
 
     div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
-    div.sphinxsidebar ul, div.sphinxsidebar h3 a {
+    div.sphinxsidebar h3 a {
         color: white;
     }
 
@@ -526,10 +514,6 @@ a:hover tt {
         padding: 0;
     }
 
-    br {
-        display: none;
-    }
-
     .rtd_doc_footer {
         display: none;
     }
@@ -590,4 +574,4 @@ a:hover tt {
 
 .revsys-inline {
     display: none!important;
-}
+}
\ No newline at end of file
diff --git a/docs/_themes/flask/theme.conf b/docs/_themes/flask/theme.conf
index d356c17..ba22bcc 100644
--- a/docs/_themes/flask/theme.conf
+++ b/docs/_themes/flask/theme.conf
@@ -7,3 +7,5 @@ pygments_style = flask_theme_support.FlaskyStyle
 index_logo =
 index_logo_height = 120px
 touch_icon =
+github_fork =
+github_ribbon_color = darkblue_121621
diff --git a/docs/_themes/flask_small/layout.html b/docs/_themes/flask_small/layout.html
new file mode 100644
index 0000000..67478c3
--- /dev/null
+++ b/docs/_themes/flask_small/layout.html
@@ -0,0 +1,38 @@
+{% extends 'basic/layout.html' %}
+
+{% block extrahead %}
+    {{ super() }}
+    {% if theme_touch_icon %}
+        <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}">
+    {% endif %}
+    <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
+{% endblock %}
+
+{% block header %}
+    {{ super() }}
+    {% if pagename == 'index' %}
+    <div class=indexwrapper>
+    {% endif %}
+{% endblock %}
+
+{% block footer %}
+    {% if pagename == 'index' %}</div>{% endif %}
+{% endblock %}
+
+{# do not display relbars or sidebars #}
+
+{% block relbar1 %}{% endblock %}
+
+{% block relbar2 %}
+    {% if theme_github_fork %}
+        <a href="http://github.com/{{ theme_github_fork }}">
+            <img style="position: fixed; top: 0; right: 0; border: 0;"
+                 src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"
+                 alt="Fork me on GitHub">
+        </a>
+    {% endif %}
+{% endblock %}
+
+{% block sidebar1 %}{% endblock %}
+
+{% block sidebar2 %}{% endblock %}
diff --git a/docs/_themes/flask_small/static/flasky.css_t b/docs/_themes/flask_small/static/flasky.css_t
new file mode 100644
index 0000000..fe2141c
--- /dev/null
+++ b/docs/_themes/flask_small/static/flasky.css_t
@@ -0,0 +1,287 @@
+/*
+ * flasky.css_t
+ * ~~~~~~~~~~~~
+ *
+ * Sphinx stylesheet -- flasky theme based on nature theme.
+ *
+ * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
+ * :license: BSD, see LICENSE for details.
+ *
+ */
+ 
+ at import url("basic.css");
+ 
+/* -- page layout ----------------------------------------------------------- */
+ 
+body {
+    font-family: 'Georgia', serif;
+    font-size: 17px;
+    color: #000;
+    background: white;
+    margin: 0;
+    padding: 0;
+}
+
+div.documentwrapper {
+    float: left;
+    width: 100%;
+}
+
+div.bodywrapper {
+    margin: 40px auto 0 auto;
+    width: 700px;
+}
+
+hr {
+    border: 1px solid #B1B4B6;
+}
+ 
+div.body {
+    background-color: #ffffff;
+    color: #3E4349;
+    padding: 0 30px 30px 30px;
+}
+
+img.floatingflask {
+    padding: 0 0 10px 10px;
+    float: right;
+}
+ 
+div.footer {
+    text-align: right;
+    color: #888;
+    padding: 10px;
+    font-size: 14px;
+    width: 650px;
+    margin: 0 auto 40px auto;
+}
+ 
+div.footer a {
+    color: #888;
+    text-decoration: underline;
+}
+ 
+div.related {
+    line-height: 32px;
+    color: #888;
+}
+
+div.related ul {
+    padding: 0 0 0 10px;
+}
+ 
+div.related a {
+    color: #444;
+}
+ 
+/* -- body styles ----------------------------------------------------------- */
+ 
+a {
+    color: #004B6B;
+    text-decoration: underline;
+}
+ 
+a:hover {
+    color: #6D4100;
+    text-decoration: underline;
+}
+
+div.body {
+    padding-bottom: 40px; /* saved for footer */
+}
+ 
+div.body h1,
+div.body h2,
+div.body h3,
+div.body h4,
+div.body h5,
+div.body h6 {
+    font-family: 'Garamond', 'Georgia', serif;
+    font-weight: normal;
+    margin: 30px 0px 10px 0px;
+    padding: 0;
+}
+
+{% if theme_index_logo %}
+div.indexwrapper h1 {
+    text-indent: -999999px;
+    background: url({{ theme_index_logo }}) no-repeat center center;
+    height: {{ theme_index_logo_height }};
+}
+{% endif %}
+ 
+div.body h2 { font-size: 180%; }
+div.body h3 { font-size: 150%; }
+div.body h4 { font-size: 130%; }
+div.body h5 { font-size: 100%; }
+div.body h6 { font-size: 100%; }
+ 
+a.headerlink {
+    color: white;
+    padding: 0 4px;
+    text-decoration: none;
+}
+ 
+a.headerlink:hover {
+    color: #444;
+    background: #eaeaea;
+}
+ 
+div.body p, div.body dd, div.body li {
+    line-height: 1.4em;
+}
+
+div.admonition {
+    background: #fafafa;
+    margin: 20px -30px;
+    padding: 10px 30px;
+    border-top: 1px solid #ccc;
+    border-bottom: 1px solid #ccc;
+}
... 3747 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-wtf.git



More information about the Python-modules-commits mailing list