Skip to main content

Help migrate HTML files and templates form bootstrap 2 to 3.

Project description

Easier migration from Boostrap 2 to Boostrap 3

This is a simple Python script that replaces certain strings in the files contained within the working directory and its subdirectories. It does not fully automate migration, you’ll most likely need to perform manual fixes too.

Follow these steps to avoid frustration:

  • Put your HTML/template files under version control, if they aren’t yet.

  • Change to the directory with the files containing Boostrap 2 specific markup.

  • Run this script once and only once.

  • Review the changes with a diff tool suitable for the version control system you use.

  • Perform the rest of the necessary changes manually.

Contributing

  • Let me know about bugs by posting an issue.

  • Help reduce the manual work by improving the code.

  • Write tests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b2tob3-0.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page