{% endmacro %}
{% macro breadcrumb(ent) %}
{% set parent = ent.parent %}
{% if parent %}
{{ breadcrumb(parent) }}
»
{% endif %}
{% set icon = ent.guess_icon() %}
{% if icon %}
{% endif %}
{% if not ent.is_root() %}
{{ ent.name }}
{% endif %}
{% endmacro %}
Flask-AutoIndex-0.6/flask_autoindex/templates/__autoindex__/autoindex.html 0000664 0001750 0001750 00000002010 12647111136 026556 0 ustar sub sub 0000000 0000000 {% from "__autoindex__/macros.html" import entry, thead, breadcrumb
with context %}
Index of {{ curdir.path }}
{% block meta %}
{% endblock %}
{% block header %}{% endblock %}
{% block table %}
{{ thead() }}
{% if not curdir.is_root() %}
{{ breadcrumb(curdir) }}
{% endif %}
{% for ent in entries %}
{{ entry(ent) }}
{% endfor %}
{% endblock %}
{% block footer %}
{% set env = request.environ %}
{{ env.SERVER_SOFTWARE }}
Server at {{ env.HTTP_HOST }}
Port {{ env.SERVER_PORT }}
{% endblock %}
Flask-AutoIndex-0.6/LICENSE 0000664 0001750 0001750 00000002664 12647111136 014742 0 ustar sub sub 0000000 0000000 Copyright (c) 2010-2013 by Heungsub Lee.
Some rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* The names of the contributors may not be used to endorse or
promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Flask-AutoIndex-0.6/setup.cfg 0000664 0001750 0001750 00000000204 12647111154 015542 0 ustar sub sub 0000000 0000000 [build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
Flask-AutoIndex-0.6/PKG-INFO 0000664 0001750 0001750 00000002410 12647111154 015017 0 ustar sub sub 0000000 0000000 Metadata-Version: 1.1
Name: Flask-AutoIndex
Version: 0.6
Summary: The mod_autoindex for Flask
Home-page: http://pythonhosted.org/Flask-AutoIndex
Author: Heungsub Lee
Author-email: sub@subl.ee
License: BSD
Description:
Flask-AutoIndex
---------------
Flask-AutoIndex generates an index page for your `Flask`_ application
automatically. The result just like `mod_autoindex`_, but the look is more
awesome! Look at this:
.. _Flask: http://flask.pocoo.org/
.. _mod_autoindex: http://httpd.apache.org/docs/current/mod/mod_autoindex.html
Links
`````
* `documentation `_
* `development version
`_
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Flask-AutoIndex-0.6/tests/ 0000775 0001750 0001750 00000000000 12647111154 015067 5 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/__init__.py 0000664 0001750 0001750 00000023464 12647111136 017211 0 ustar sub sub 0000000 0000000 from __future__ import absolute_import
from future.builtins import bytes
import mimetypes
import os
import sys
import unittest
from flask import *
from flask.ext.autoindex import *
__file__ = __file__.replace('.pyc', '.py')
browse_root = os.path.abspath(os.path.dirname(__file__))
if sys.version_info < (3,):
b = lambda s: s
else:
b = lambda s: bytes(s, 'ascii')
class RootDirectoryTestCase(unittest.TestCase):
def setUp(self):
self.rootdir = RootDirectory(browse_root)
def test_root_dir(self):
assert isinstance(self.rootdir, RootDirectory)
assert self.rootdir.path == '.'
assert os.path.samefile(self.rootdir.abspath, browse_root)
assert os.path.isdir(self.rootdir.abspath)
def test_init(self):
assert isinstance(Directory(browse_root), RootDirectory)
assert isinstance(Directory('.', self.rootdir), RootDirectory)
assert isinstance(Entry(browse_root), RootDirectory)
assert isinstance(Entry('.', self.rootdir), RootDirectory)
def test_same_object(self):
assert self.rootdir is RootDirectory(browse_root)
assert self.rootdir is Directory(browse_root)
assert self.rootdir is Directory('.', self.rootdir)
assert self.rootdir is Entry(browse_root)
assert self.rootdir is Entry('.', self.rootdir)
assert RootDirectory(browse_root) is Directory(browse_root)
assert RootDirectory(browse_root) is Entry('.', self.rootdir)
assert Entry(browse_root) is Directory('.', self.rootdir)
def test_get_child_file(self):
file = self.rootdir.get_child('__init__.py')
assert isinstance(file, File)
assert file.ext == 'py'
assert file.path == '__init__.py'
assert file.rootdir is self.rootdir
def test_get_child_dir(self):
dir = self.rootdir.get_child('static')
assert isinstance(dir, Directory)
assert dir.path == 'static'
assert dir.rootdir is self.rootdir
def test_contain(self):
assert 'static' in self.rootdir
assert '__init__.py' in self.rootdir
assert Entry('static', self.rootdir) in self.rootdir
assert Entry('__init__.py', self.rootdir) in self.rootdir
assert '^_^' not in self.rootdir
class DirectoryTestCase(unittest.TestCase):
def setUp(self):
self.rootdir = RootDirectory(browse_root)
self.static = Directory('static', self.rootdir)
def test_dir(self):
assert isinstance(self.static, Directory)
assert self.static.path == 'static'
assert os.path.samefile(self.static.abspath,
os.path.join(browse_root, 'static'))
assert os.path.isdir(self.static.abspath)
def test_init(self):
assert isinstance(Directory('static', self.rootdir), Directory)
assert isinstance(Entry('static', self.rootdir), Directory)
def test_same_object(self):
assert self.static is Directory('static', self.rootdir)
assert self.static is Entry('static', self.rootdir)
assert Directory('static', self.rootdir) is \
Entry('static', self.rootdir)
assert self.static.parent is self.rootdir
def test_get_child_file(self):
file = self.static.get_child('test.txt')
assert isinstance(file, File)
assert file.ext == 'txt'
assert file.path == 'static/test.txt'
assert file.rootdir is self.rootdir
def test_contain(self):
assert 'test.py' in self.static
assert Entry('static/test.py', self.rootdir) in self.static
assert '^_^' not in self.static
class FileTestCase(unittest.TestCase):
def setUp(self):
self.rootdir = RootDirectory(browse_root)
self.itself = File('__init__.py', self.rootdir)
def test_file(self):
assert isinstance(self.itself, File)
assert self.itself.path == '__init__.py'
assert os.path.samefile(self.itself.abspath,
os.path.join(browse_root, '__init__.py'))
assert os.path.isfile(self.itself.abspath)
def test_init(self):
assert isinstance(File('__init__.py', self.rootdir), File)
assert isinstance(Entry('__init__.py', self.rootdir), File)
assert isinstance(File('static/test.txt', self.rootdir), File)
assert isinstance(Entry('static/test.txt', self.rootdir), File)
def test_same_object(self):
assert self.itself is File('__init__.py', self.rootdir)
assert self.itself is Entry('__init__.py', self.rootdir)
assert File('__init__.py', self.rootdir) is \
Entry('__init__.py', self.rootdir)
def test_properties(self):
with open(__file__) as f:
source = ''.join(f.readlines())
assert self.itself.data.strip() == source.strip()
assert self.itself.size == len(source)
assert self.itself.ext == 'py'
assert self.itself.mimetype == mimetypes.guess_type(__file__)
class ApplicationTestCase(unittest.TestCase):
def setUp(self):
self.app = Flask(__name__)
self.app2 = Flask(__name__)
self.idx = AutoIndex(self.app, browse_root, add_url_rules=True)
self.idx2 = AutoIndex(self.app2, browse_root,
silk_options={'silk_path': '/myicons'})
@self.app2.route('/')
@self.app2.route('/')
def autoindex_test(path='.'):
return self.idx2.render_autoindex(path, browse_root)
def get(self, path):
return self.app.test_client().get(path)
def get2(self, path):
self.app2.config['TESTING'] = True
return self.app2.test_client().get(path)
def test_css(self):
for get in [self.get, self.get2]:
rv = get('/__autoindex__/autoindex.css')
assert 200 == rv.status_code
def test_icon(self):
rv = self.get('/__icons__/page_white.png')
rv2 = self.get2('/myicons/page_white.png')
assert 294 == len(rv.data)
assert rv.data == rv2.data
def test_autoindex(self):
assert b('__init__.py') in self.get('/').data
assert b('__init__.py') in self.get2('/').data
def test_own_static_file(self):
rv = self.get('/static/helloworld.txt')
assert b('Hello, world!') == rv.data.strip()
def test_own_page(self):
for get in [self.get, self.get2]:
rv = get('/test')
assert not b('foo bar foo bar') == rv.data.strip()
@self.app.route('/test')
def sublee():
return 'foo bar foo bar', 200
@self.app2.route('/test')
def sublee():
return 'foo bar foo bar', 200
for get in [self.get, self.get2]:
rv = get('/test')
assert b('foo bar foo bar') == rv.data.strip()
def test_builtin_icon_rule(self):
testset = {'7z': 'page_white_zip.png',
'avi': 'film.png',
'cer': 'key.png',
'html': 'page_white_code.png',
'iso': 'cd.png',
'rss': 'feed.png'}
with self.app.test_request_context():
for ext, icon in list(testset.items()):
file = self.idx.rootdir.get_child('static/test.' + ext)
assert file.guess_icon().endswith(icon)
def test_custom_icon_rule(self):
with self.app.test_request_context():
file = self.idx.rootdir.get_child('__init__.py')
original_icon_url = file.guess_icon()
self.idx.add_icon_rule('table.png', ext='py')
customized_icon_url = file.guess_icon()
assert original_icon_url.endswith('page_white_python.png')
assert customized_icon_url.endswith('table.png')
class SubdomainTestCase(unittest.TestCase):
def setUp(self):
from .blueprinttest import bp
app = Flask(__name__)
app.config['SERVER_NAME'] = 'example.org'
AutoIndex(bp, browse_root)
app.register_blueprint(bp, subdomain='test')
self.app = app
def get(self, path):
return self.app.test_client().get(path, 'http://test.example.org/')
def test_css(self):
rv = self.get('/static/autoindex.css')
assert 200 == rv.status_code, 'could not found preloaded css file.'
def test_icon(self):
rv = self.get('/__icons__/page_white.png')
assert 294 == len(rv.data), 'could not found preloaded icon file.'
def test_browse(self):
rv = self.get('/')
assert 'Index of /' in rv.data
assert '__init__.py' in rv.data
def test_own_static_file(self):
rv = self.get('/static/helloworld.txt')
assert 'Hello, world!' == rv.data.strip()
class WithoutSubdomainTestCase(unittest.TestCase):
def setUp(self):
from .blueprinttest import bp
app = Flask(__name__)
AutoIndex(bp, browse_root)
app.register_blueprint(bp)
self.app = app
def get(self, path):
return self.app.test_client().get(path)
def test_css(self):
rv = self.get('/static/autoindex.css')
assert 200 == rv.status_code, 'could not found preloaded css file.'
def test_icon(self):
rv = self.get('/__icons__/page_white.png')
assert 294 == len(rv.data), 'could not found preloaded icon file.'
def test_browse(self):
rv = self.get('/')
assert 'Index of /' in rv.data
assert '__init__.py' in rv.data
def suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(RootDirectoryTestCase))
suite.addTest(unittest.makeSuite(DirectoryTestCase))
suite.addTest(unittest.makeSuite(FileTestCase))
suite.addTest(unittest.makeSuite(ApplicationTestCase))
# These cases will be passed on Flask next generation.
# suite.addTest(unittest.makeSuite(SubdomainTestCase))
# suite.addTest(unittest.makeSuite(WithoutSubdomainTestCase))
return suite
if __name__ == '__main__':
unittest.main(defaultTest='suite')
Flask-AutoIndex-0.6/tests/blueprinttest/ 0000775 0001750 0001750 00000000000 12647111154 017773 5 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/blueprinttest/__init__.py 0000664 0001750 0001750 00000000075 12647111136 022106 0 ustar sub sub 0000000 0000000 from flask import Blueprint
bp = Blueprint('test', __name__)
Flask-AutoIndex-0.6/tests/static/ 0000775 0001750 0001750 00000000000 12647111154 016356 5 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.xls 0000664 0001750 0001750 00000000000 12647111136 020053 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.pptx 0000664 0001750 0001750 00000000000 12647111136 020240 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.xml 0000664 0001750 0001750 00000000000 12647111136 020045 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.smi 0000664 0001750 0001750 00000000000 12647111136 020035 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.wmv 0000664 0001750 0001750 00000000000 12647111136 020056 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.csv 0000664 0001750 0001750 00000000000 12647111136 020040 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.app 0000664 0001750 0001750 00000000000 12647111136 020025 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.sql 0000664 0001750 0001750 00000000000 12647111136 020044 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.tgz 0000664 0001750 0001750 00000000000 12647111136 020051 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.iso 0000664 0001750 0001750 00000000000 12647111136 020037 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.svg 0000664 0001750 0001750 00000000000 12647111136 020044 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.psd 0000664 0001750 0001750 00000000000 12647111136 020033 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mpg 0000664 0001750 0001750 00000000000 12647111136 020030 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.toast 0000664 0001750 0001750 00000000000 12647111136 020377 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.bup 0000664 0001750 0001750 00000000000 12647111136 020033 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.h 0000664 0001750 0001750 00000000000 12647111136 017474 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.bat 0000664 0001750 0001750 00000000000 12647111136 020013 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.txt 0000664 0001750 0001750 00000000000 12647111136 020064 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.ttf 0000664 0001750 0001750 00000000000 12647111136 020042 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.c 0000664 0001750 0001750 00000000000 12647111136 017467 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.docx 0000664 0001750 0001750 00000000000 12647111136 020202 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.js 0000664 0001750 0001750 00000000000 12647111136 017661 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cgi 0000664 0001750 0001750 00000000000 12647111136 020007 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.fla 0000664 0001750 0001750 00000000000 12647111136 020007 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.vcf 0000664 0001750 0001750 00000000000 12647111136 020023 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.pdf 0000664 0001750 0001750 00000000000 12647111136 020016 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.jpg 0000664 0001750 0001750 00000000000 12647111136 020025 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.tar.gz 0000664 0001750 0001750 00000000000 12647111136 020452 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.jsp 0000664 0001750 0001750 00000000000 12647111136 020041 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.avi 0000664 0001750 0001750 00000000000 12647111136 020024 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.swf 0000664 0001750 0001750 00000000000 12647111136 020044 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.ico 0000664 0001750 0001750 00000000000 12647111136 020017 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.gif 0000664 0001750 0001750 00000000000 12647111136 020012 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.rb 0000664 0001750 0001750 00000000000 12647111136 017650 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.ics 0000664 0001750 0001750 00000000000 12647111136 020023 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.pkg 0000664 0001750 0001750 00000000000 12647111136 020026 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.tif 0000664 0001750 0001750 00000000000 12647111136 020027 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.asp 0000664 0001750 0001750 00000000000 12647111136 020030 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.jpeg 0000664 0001750 0001750 00000000000 12647111136 020172 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mpa 0000664 0001750 0001750 00000000000 12647111136 020022 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.xhtml 0000664 0001750 0001750 00000000000 12647111136 020401 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.less 0000664 0001750 0001750 00000000000 12647111136 020213 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cpp 0000664 0001750 0001750 00000000000 12647111136 020027 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.dmg 0000664 0001750 0001750 00000000000 12647111136 020014 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mpeg 0000664 0001750 0001750 00000000000 12647111136 020175 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.vcd 0000664 0001750 0001750 00000000000 12647111136 020021 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.sh 0000664 0001750 0001750 00000000000 12647111136 017657 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.tar 0000664 0001750 0001750 00000000000 12647111136 020033 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.eps 0000664 0001750 0001750 00000000000 12647111136 020034 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mov 0000664 0001750 0001750 00000000000 12647111136 020046 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.flv 0000664 0001750 0001750 00000000000 12647111136 020034 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.alz 0000664 0001750 0001750 00000000000 12647111136 020033 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.com 0000664 0001750 0001750 00000000000 12647111136 020023 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.ppt 0000664 0001750 0001750 00000000000 12647111136 020050 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.markdown 0000664 0001750 0001750 00000000000 12647111136 021067 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.rss 0000664 0001750 0001750 00000000000 12647111136 020054 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.log 0000664 0001750 0001750 00000000000 12647111136 020026 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.wav 0000664 0001750 0001750 00000000000 12647111136 020042 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.xlsx 0000664 0001750 0001750 00000000000 12647111136 020243 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.exe 0000664 0001750 0001750 00000000000 12647111136 020026 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.rar 0000664 0001750 0001750 00000000000 12647111136 020031 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mid 0000664 0001750 0001750 00000000000 12647111136 020016 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cab 0000664 0001750 0001750 00000000000 12647111136 017772 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.png 0000664 0001750 0001750 00000000000 12647111136 020031 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.ini 0000664 0001750 0001750 00000000000 12647111136 020024 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.php 0000664 0001750 0001750 00000000000 12647111136 020034 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.rtf 0000664 0001750 0001750 00000000000 12647111136 020040 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cfg 0000664 0001750 0001750 00000000000 12647111136 020004 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mp3 0000664 0001750 0001750 00000000000 12647111136 017744 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.ai 0000664 0001750 0001750 00000000000 12647111136 017636 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.xsl 0000664 0001750 0001750 00000000000 12647111136 020053 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cpl 0000664 0001750 0001750 00000000000 12647111136 020023 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.bin 0000664 0001750 0001750 00000000000 12647111136 020015 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.py 0000664 0001750 0001750 00000000000 12647111136 017675 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.tmp 0000664 0001750 0001750 00000000000 12647111136 020045 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.md 0000664 0001750 0001750 00000000000 12647111136 017645 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.bmp 0000664 0001750 0001750 00000000000 12647111136 020023 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.bak 0000664 0001750 0001750 00000000000 12647111136 020002 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.zip 0000664 0001750 0001750 00000000000 12647111136 020047 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.sys 0000664 0001750 0001750 00000000000 12647111136 020063 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.css 0000664 0001750 0001750 00000000000 12647111136 020035 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cer 0000664 0001750 0001750 00000000000 12647111136 020016 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.dll 0000664 0001750 0001750 00000000000 12647111136 020020 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.vb 0000664 0001750 0001750 00000000000 12647111136 017654 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.jar 0000664 0001750 0001750 00000000000 12647111136 020021 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.torrent 0000664 0001750 0001750 00000000000 12647111136 020742 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.hwp 0000664 0001750 0001750 00000000000 12647111136 020043 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.applescript 0000664 0001750 0001750 00000000000 12647111136 021573 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.db 0000664 0001750 0001750 00000000000 12647111136 017632 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.conf 0000664 0001750 0001750 00000000000 12647111136 020172 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/helloworld.txt 0000664 0001750 0001750 00000000016 12647111136 021267 0 ustar sub sub 0000000 0000000 Hello, world!
Flask-AutoIndex-0.6/tests/static/test.htm 0000664 0001750 0001750 00000000000 12647111136 020035 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.doc 0000664 0001750 0001750 00000000000 12647111136 020012 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.java 0000664 0001750 0001750 00000000000 12647111136 020166 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.yml 0000664 0001750 0001750 00000000000 12647111136 020046 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.7z 0000664 0001750 0001750 00000000000 12647111136 017605 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.cur 0000664 0001750 0001750 00000000000 12647111136 020036 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.mp4 0000664 0001750 0001750 00000000000 12647111136 017745 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.json 0000664 0001750 0001750 00000000000 12647111136 020216 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/tests/static/test.html 0000664 0001750 0001750 00000000000 12647111136 020211 0 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/MANIFEST.in 0000664 0001750 0001750 00000000461 12647111136 015464 0 ustar sub sub 0000000 0000000 include LICENSE
recursive-include tests *
recursive-exclude tests *.pyc
recursive-include flask_autoindex/static *
recursive-include flask_autoindex/templates *
include docs/*.rst docs/conf.py
recursive-include docs/_static *
recursive-include docs/_themes *.py *.css *.css_t *.conf *.html LICENSE README
Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/ 0000775 0001750 0001750 00000000000 12647111154 020437 5 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/SOURCES.txt 0000664 0001750 0001750 00000005656 12647111154 022337 0 ustar sub sub 0000000 0000000 LICENSE
MANIFEST.in
README
setup.cfg
setup.py
Flask_AutoIndex.egg-info/PKG-INFO
Flask_AutoIndex.egg-info/SOURCES.txt
Flask_AutoIndex.egg-info/dependency_links.txt
Flask_AutoIndex.egg-info/entry_points.txt
Flask_AutoIndex.egg-info/not-zip-safe
Flask_AutoIndex.egg-info/requires.txt
Flask_AutoIndex.egg-info/top_level.txt
docs/conf.py
docs/index.rst
docs/_static/example.png
docs/_static/flask-autoindex.png
flask_autoindex/__init__.py
flask_autoindex/entry.py
flask_autoindex/icons.py
flask_autoindex/run.py
flask_autoindex/static/asc.gif
flask_autoindex/static/autoindex.css
flask_autoindex/static/desc.gif
flask_autoindex/templates/__autoindex__/autoindex.html
flask_autoindex/templates/__autoindex__/macros.html
tests/__init__.py
tests/blueprinttest/__init__.py
tests/static/helloworld.txt
tests/static/test.7z
tests/static/test.ai
tests/static/test.alz
tests/static/test.app
tests/static/test.applescript
tests/static/test.asp
tests/static/test.avi
tests/static/test.bak
tests/static/test.bat
tests/static/test.bin
tests/static/test.bmp
tests/static/test.bup
tests/static/test.c
tests/static/test.cab
tests/static/test.cer
tests/static/test.cfg
tests/static/test.cgi
tests/static/test.com
tests/static/test.conf
tests/static/test.cpl
tests/static/test.cpp
tests/static/test.css
tests/static/test.csv
tests/static/test.cur
tests/static/test.db
tests/static/test.dll
tests/static/test.dmg
tests/static/test.doc
tests/static/test.docx
tests/static/test.eps
tests/static/test.exe
tests/static/test.fla
tests/static/test.flv
tests/static/test.gif
tests/static/test.h
tests/static/test.htm
tests/static/test.html
tests/static/test.hwp
tests/static/test.ico
tests/static/test.ics
tests/static/test.ini
tests/static/test.iso
tests/static/test.jar
tests/static/test.java
tests/static/test.jpeg
tests/static/test.jpg
tests/static/test.js
tests/static/test.json
tests/static/test.jsp
tests/static/test.less
tests/static/test.log
tests/static/test.markdown
tests/static/test.md
tests/static/test.mid
tests/static/test.mov
tests/static/test.mp3
tests/static/test.mp4
tests/static/test.mpa
tests/static/test.mpeg
tests/static/test.mpg
tests/static/test.pdf
tests/static/test.php
tests/static/test.pkg
tests/static/test.png
tests/static/test.ppt
tests/static/test.pptx
tests/static/test.psd
tests/static/test.py
tests/static/test.rar
tests/static/test.rb
tests/static/test.rss
tests/static/test.rtf
tests/static/test.sh
tests/static/test.smi
tests/static/test.sql
tests/static/test.svg
tests/static/test.swf
tests/static/test.sys
tests/static/test.tar
tests/static/test.tar.gz
tests/static/test.tgz
tests/static/test.tif
tests/static/test.tmp
tests/static/test.toast
tests/static/test.torrent
tests/static/test.ttf
tests/static/test.txt
tests/static/test.vb
tests/static/test.vcd
tests/static/test.vcf
tests/static/test.wav
tests/static/test.wmv
tests/static/test.xhtml
tests/static/test.xls
tests/static/test.xlsx
tests/static/test.xml
tests/static/test.xsl
tests/static/test.yml
tests/static/test.zip Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/not-zip-safe 0000664 0001750 0001750 00000000001 12647111154 022665 0 ustar sub sub 0000000 0000000
Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/requires.txt 0000664 0001750 0001750 00000000052 12647111154 023034 0 ustar sub sub 0000000 0000000 Flask>=0.8
Flask-Silk>=0.2
future>=0.13.0
Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/dependency_links.txt 0000664 0001750 0001750 00000000001 12647111154 024505 0 ustar sub sub 0000000 0000000
Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/PKG-INFO 0000664 0001750 0001750 00000002410 12647111154 021531 0 ustar sub sub 0000000 0000000 Metadata-Version: 1.1
Name: Flask-AutoIndex
Version: 0.6
Summary: The mod_autoindex for Flask
Home-page: http://pythonhosted.org/Flask-AutoIndex
Author: Heungsub Lee
Author-email: sub@subl.ee
License: BSD
Description:
Flask-AutoIndex
---------------
Flask-AutoIndex generates an index page for your `Flask`_ application
automatically. The result just like `mod_autoindex`_, but the look is more
awesome! Look at this:
.. _Flask: http://flask.pocoo.org/
.. _mod_autoindex: http://httpd.apache.org/docs/current/mod/mod_autoindex.html
Links
`````
* `documentation `_
* `development version
`_
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/top_level.txt 0000664 0001750 0001750 00000000020 12647111154 023161 0 ustar sub sub 0000000 0000000 flask_autoindex
Flask-AutoIndex-0.6/Flask_AutoIndex.egg-info/entry_points.txt 0000664 0001750 0001750 00000000061 12647111154 023732 0 ustar sub sub 0000000 0000000 [console_scripts]
fai = flask_autoindex.run:run
Flask-AutoIndex-0.6/docs/ 0000775 0001750 0001750 00000000000 12647111154 014655 5 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/docs/index.rst 0000664 0001750 0001750 00000014032 12647111136 016516 0 ustar sub sub 0000000 0000000 Flask-AutoIndex
~~~~~~~~~~~~~~~
.. module:: flask_autoindex
Flask-AutoIndex generates an index page for your `Flask`_ application
automatically. The result just like `mod_autoindex`_, but the look is more
awesome! Look at this:
.. figure:: _static/example.png
:alt: The screenshot of index page generated by Flask-AutoIndex
This module contains pre-designed template and css file. It is default
style, but you can make your own style.
.. note::
Flask-AutoIndex uses `Flask-Silk`_ to serve icons. Per default, the icons
from Mark James's `Silk`_ icon set are used. These icons are licensed
under `Creative Commons Attribution 2.5 License `_ or
`3.0 License `_. Before using the icons, read the license.
.. _Flask: http://flask.pocoo.org/
.. _mod_autoindex: http://httpd.apache.org/docs/current/mod/mod_autoindex.html
.. _Flask-Silk: http://packages.python.org/Flask-Silk
.. _Silk: http://www.famfamfam.com/lab/icons/silk/
.. _CC-BY-2.5: http://creativecommons.org/licenses/by/2.5
.. _CC-BY-3.0: http://creativecommons.org/licenses/by/3.0
Installation
============
Install Flask-AutoIndex with ``easy_install`` or ``pip`` command::
$ easy_install Flask-AutoIndex
::
$ pip install Flask-AutoIndex
or check out development version::
$ git clone git://github.com/sublee/flask-autoindex.git
How to Use
==========
Flask-AutoIndex is easy and extensible. It supports flask application.
We will make the application in flask application. There is a basic usage::
import os.path
from flask import Flask
from flask.ext.autoindex import AutoIndex
app = Flask(__name__)
AutoIndex(app, browse_root=os.path.curdir)
if __name__ == '__main__':
app.run()
After running the application, ``http://localhost/`` serves a generated index
page which contains the file and directory list in current directory.
Or, use a shipped console script. Just type ``fai`` in command line.
(yes, ``fai`` is an acronym of Flask-AutoIndex)::
$ fai
* Running on http://127.0.0.1:5000/
Customizing
===========
Routing a specified URL
```````````````````````
Just like a normal flask application or module. Follow the below example::
@app.route('/helloworld')
def helloworld():
return 'Hello, world!', 200
``http://localhost/helloworld`` will serve ``Hello, world!`` not
``/helloworld`` directory.
Adding an icon rule
```````````````````
If you want to present ``*.feed`` files with ``rss.png`` icon and present
a directory named ``picture`` with ``folder_picture.png`` icon, follow the
below example::
idx.add_icon_rule('rss.png', ext='feed')
idx.add_icon_rule('folder_picture.png', dirname='pictures')
You can change the root directory's icon to your own icon::
idx.add_icon_rule('http://example.org/favicon.ico', cls=RootDirectory)
Also you can add the more complex rule with a function::
import re
def is_flaskext(ent):
return isinstance(ent, Directory) and re.match('[Ff]lask-', ent.name)
idx.add_icon_rule('http://example.org/flask-extenstion.png', is_flaskext)
Here is a nice example for changing directory's icon to its ``favicon.ico``
file if it exists::
def get_favicon(ent):
favicon = 'favicon.ico'
if type(ent) is Directory and favicon in ent:
return '/' + os.path.join(ent.path, favicon)
return False
idx.add_icon_rule(get_favicon)
.. seealso:: :meth:`AutoIndex.add_icon_rule`
Changing Silk's path
````````````````````
:class:`AutoIndex` has ``**silk_options`` keyword arguments for :class:`Silk`.
If you want to use the another path for serving silk icons, use ``silk_path``
keyword argument::
idx = AutoIndex(app, silk_path='/myicons')
Now you can get a silk icon from ``http://localhost/myicons/folder.png`` not
``http://localhost/__icons__/folder.png``.
.. seealso::
The documentation for `Flask-Silk`_
Redesigning the template
````````````````````````
:meth:`AutoIndex.render_autoindex` finds the template from the application's
template directory first. When you made the ``autoindex.html`` to the
application's template directory, :meth:`AutoIndex.render_autoindex` renders
your template::
- myapplication
- templates
- autoindex.html
- __init__.py
- views.py
Your templates could extend the default Flask-AutoIndex's template, it named
``__autoindex__/autoindex.html``. Here is a basic example:
.. sourcecode:: jinja
{% extends '__autoindex__/autoindex.html' %}
{% block meta %}
{{ super() }}
{% endblock %}
{% block header %}
My Application
{% endblock %}
{% block footer %}
{% endblock %}
To get extra fields through to your template, pass them in the
``template_context`` keyword argument::
AutoIndex(app, template_context = dict(SITENAME = 'My cool site'))
API
===
Configuration
`````````````
.. autoclass:: AutoIndex
:members:
Models
``````
.. autoclass:: Entry
:members:
.. autoclass:: File
:members:
.. autoclass:: Directory
:members:
.. autoclass:: RootDirectory
:members:
Template
````````
Blocks
------
`meta`
The innerHTML of ````.
`header`
The top of ````.
`table`
The table for the entry list.
`footer`
The bottom of ````.
Variables
---------
`curdir`
The current directory object.
`entries`
The child entry list of ``curdir``.
`sort_by`
The sorting key.
`order`
Ascending order(``1``) or Descending order(``-1``).
`endpoint`
The endpoint which renders a generated page.
Licensing and Author
====================
This project is licensed under BSD_. See LICENSE_ for the details.
I'm `Heungsub Lee`_. Any regarding questions or patches are welcomed.
.. _BSD: http://en.wikipedia.org/wiki/BSD_licenses
.. _LICENSE: https://github.com/sublee/flask-autoindex/blob/master/LICENSE
.. _Heungsub Lee: http://subl.ee/
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Flask-AutoIndex-0.6/docs/conf.py 0000664 0001750 0001750 00000016123 12647111136 016157 0 ustar sub sub 0000000 0000000 # -*- coding: utf-8 -*-
#
# Flask-AutoIndex documentation build configuration file, created by
# sphinx-quickstart on Tue Aug 31 00:34:54 2010.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All configuration values have a default; values that are commented out
# serve to show the default.
import sys, os
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.insert(0, os.path.abspath('..'))
sys.path.append(os.path.abspath('_themes'))
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
#needs_sphinx = '1.0'
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.autodoc']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
# The encoding of source files.
#source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'index'
# General information about the project.
project = u'Flask-AutoIndex'
copyright = u'2010-2013, Heungsub Lee'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.2.0'
# The full version, including alpha/beta/rc tags.
release = '0.2.0'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
# If true, '()' will be appended to :func: etc. cross-reference text.
#add_function_parentheses = True
# If true, the current module name will be prepended to all description
# unit titles (such as .. function::).
#add_module_names = True
# If true, sectionauthor and moduleauthor directives will be shown in the
# output. They are ignored by default.
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
#pygments_style = 'sphinx'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
# -- Options for HTML output ---------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'flask_small'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
'index_logo': 'flask-autoindex.png',
'github_fork': 'sublee/flask-autoindex'
}
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = ['_themes']
# The name for this set of Sphinx documents. If None, it defaults to
# " v documentation".
#html_title = None
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
# pixels large.
#html_favicon = 'favicon.ico'
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
#html_last_updated_fmt = '%b %d, %Y'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
#html_sidebars = {}
# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}
# If false, no module index is generated.
#html_domain_indices = True
# If false, no index is generated.
#html_use_index = True
# If true, the index is split into individual pages for each letter.
#html_split_index = False
# If true, links to the reST sources are added to the pages.
#html_show_sourcelink = True
# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
#html_show_sphinx = True
# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
#html_show_copyright = True
# If true, an OpenSearch description file will be output, and all pages will
# contain a tag referring to it. The value of this option must be the
# base URL from which the finished HTML is served.
#html_use_opensearch = ''
# This is the file name suffix for HTML files (e.g. ".xhtml").
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename = 'Flask-AutoIndexdoc'
# -- Options for LaTeX output --------------------------------------------------
# The paper size ('letter' or 'a4').
#latex_paper_size = 'letter'
# The font size ('10pt', '11pt' or '12pt').
#latex_font_size = '10pt'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'Flask-AutoIndex.tex', u'Flask-AutoIndex Documentation',
u'Heungsub Lee', 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
# the title page.
#latex_logo = None
# For "manual" documents, if this is true, then toplevel headings are parts,
# not chapters.
#latex_use_parts = False
# If true, show page references after internal links.
#latex_show_pagerefs = False
# If true, show URL addresses after external links.
#latex_show_urls = False
# Additional stuff for the LaTeX preamble.
#latex_preamble = ''
# Documents to append as an appendix to all manuals.
#latex_appendices = []
# If false, no module index is generated.
#latex_domain_indices = True
# -- Options for manual page output --------------------------------------------
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'flask-autoindex', u'Flask-AutoIndex Documentation',
[u'Heungsub Lee'], 1)
]
Flask-AutoIndex-0.6/docs/_static/ 0000775 0001750 0001750 00000000000 12647111154 016303 5 ustar sub sub 0000000 0000000 Flask-AutoIndex-0.6/docs/_static/example.png 0000664 0001750 0001750 00000060126 12647111136 020451 0 ustar sub sub 0000000 0000000 PNG
IHDR } jS' tEXtSoftware Adobe ImageReadyqe<