Skip to content

Commit 2ea04be

Browse files
committed
REF: Move template to its own file
Use Environment and PackageLoader to load it TODO: packaging, __init__.py? ENH: Add blocks to Styler template This will make subclassing the Styler and extending the templates easier. Jinja2 is optional, so Styler is maybe not there Nicer import failure Fixed rebase
1 parent 8b40453 commit 2ea04be

File tree

13 files changed

+442
-163
lines changed

13 files changed

+442
-163
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ doc/source/index.rst
103103
doc/build/html/index.html
104104
# Windows specific leftover:
105105
doc/tmp.sv
106+
doc/source/templates/

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,4 @@ global-exclude *.png
2525
# recursive-include LICENSES *
2626
include versioneer.py
2727
include pandas/_version.py
28+
include pandas/formats/templates/*.tpl

0 commit comments

Comments
 (0)