Helps to convert your templates from bootstap2 to 3.
-
Replaces all bootstarp 2 classes to corresponding 3 classes
-
Converts span* classes intelligently to col-mod-*
python bootstrap_2to3.py
This finds all .html files under the root folder and replaces bootstrap2 classes.
pip install bootstrap_2to3
from bootstrap_2to3 import convert
convert() # To convert all .html files under current directory
convert('/user/works/project') # To convert all .html files under given directory