Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cec85ef

Browse files
committed
Merge pull request ipython#3240 from minrk/submodules
remove js components from the repo
2 parents b69eb67 + 65ac40a commit cec85ef

667 files changed

Lines changed: 132 additions & 124952 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "components"]
2+
path = IPython/frontend/html/notebook/static/components
3+
url = git://github.com/ipython/ipython-components.git

IPython/frontend/html/notebook/fabfile.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,17 @@
55
import os
66

77
static_dir = 'static'
8-
components_dir = os.path.join(static_dir,'components')
8+
components_dir = os.path.join(static_dir, 'components')
99

1010

11-
def components():
12-
"""install components with bower"""
13-
with lcd(static_dir):
14-
local('bower install')
15-
1611
def css(minify=True):
1712
"""generate the css from less files"""
1813
if minify not in ['True', 'False', True, False]:
1914
abort('minify must be Boolean')
2015
minify = (minify in ['True',True])
2116

2217
min_flag= '-x' if minify is True else ''
18+
lessc = os.path.join('components', 'less.js', 'bin', 'lessc')
2319
with lcd(static_dir):
24-
local('lessc {min_flag} less/style.less css/style.min.css'.format(min_flag=min_flag))
20+
local('{lessc} {min_flag} less/style.less css/style.min.css'.format(**locals()))
2521

IPython/frontend/html/notebook/static/bower.json

Lines changed: 0 additions & 9 deletions
This file was deleted.
Submodule components added at f746739

IPython/frontend/html/notebook/static/components/bootstrap/.gitignore

Lines changed: 0 additions & 37 deletions
This file was deleted.

IPython/frontend/html/notebook/static/components/bootstrap/.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

IPython/frontend/html/notebook/static/components/bootstrap/CHANGELOG.md

Lines changed: 0 additions & 360 deletions
This file was deleted.

IPython/frontend/html/notebook/static/components/bootstrap/CONTRIBUTING.md

Lines changed: 0 additions & 75 deletions
This file was deleted.

IPython/frontend/html/notebook/static/components/bootstrap/LICENSE

Lines changed: 0 additions & 176 deletions
This file was deleted.

0 commit comments

Comments
 (0)