Files - GreenImp/bill-bootstrap GitHub Wiki

File structure

We've got a specific file structure for Bill. All of our source (development) files are kept separately from our distribution and testing files.

In the repository you will see three root directories, /demo/, /dist/ and /src/, these are our testing, distribution and source folders, respectively.

Source

The files under /src/ are the development 'source' files.

It contains all of the original un-compressed files, such as SASS (scss) and JS.

Any changes to code should be made here first, then ported over to the distribution directory, once you know that it's working.

Distribution

The /dist/ directory contains the actual distribution ready files. Once source files have been modified and changes accepted, they will be copied across to their relevant location in the /dist/ directory.

All SASS files will be pre-compiled into CSS before-hand and js should also be pre-compiled and minified (see pre-compiling section).

Testing

The /demo/ directory contains relevant test files.

The /test.html file contains examples of all of the base bill system and basic parts of the UI system, such as form styles, code/pre tags etc.

The /ui.html file contains test examples of all of the major UI systems, such as the Accordion.

There is also test-rtl.html and ui-rtl.html which are Right-To-Left equivalents of the other two files.