File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Handling of External Javascript and CSS Components
2+ ==================================================
3+
4+ This directory (``ietf/static/ ``) exists for the sole purpose of providing a visible
5+ location for ``ietf/static/bower.json ``, a bower _ file which lists the external
6+ web assets used by the datatracker.
7+
8+ In order to update the version of a component listed in ``ietf/static/bower.json ``,
9+ or add a new one, you should edit ``bower.json ``, and then run the management command::
10+
11+ $ ietf/manage.py bower_install
12+
13+ That command will fetch the required version of each external component listed in ``bower.json ``
14+ (actually, it will do this for *all * ``bower.json `` files found in the ``static/ `` directories
15+ of all ``INSTALLED_APPS `` and the directories in ``settings.STATICFILES_DIRS ``), saving them
16+ temporarily under ``.tmp/bower_components/ ``; it will then extract the relevant ``js `` and
17+ ``css `` files and place them in an appropriately named directory under ``static/lib/ ``. The
18+ latter location is controlled by ``COMPONENT_ROOT `` in ``settings.py ``.
19+
20+ (Not surprisingly, you need to have bower _ installed in order to use this management command.)
21+
22+ .. _bower : http://bower.io/
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " datatracker" ,
3+ "version" : " 6.0.0" ,
4+ "ignore" : [],
5+ "main" : [],
6+ "dependencies" : {
7+ "bootstrap" : " 3.3.4" ,
8+ "bootstrap-datepicker" : " 1.3.1" ,
9+ "font-awesome" : " 4.3.0" ,
10+ "jquery" : " 1.11.2" ,
11+ "jquery.cookie" : " 1.4.1" ,
12+ "qunit" : " 1.12.0" ,
13+ "select2" : " 3.5.2" ,
14+ "select2-bootstrap-css" : " 1.4.6"
15+ },
16+ "devDependencies" : {}
17+ }
You can’t perform that action at this time.
0 commit comments