Skip to content

Commit

Permalink
Change hljs theme & update build.cmd (dotnet#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinezh authored Aug 3, 2016
1 parent 00ecb07 commit cd44def
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 1,793 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ project.lock.json
###############
# template #
###############
src/docfx/Template/*.zip
src/docfx/Template/*.zip
src/docfx.website.themes/default/styles/docfx.vendor.css
src/docfx.website.themes/default/styles/docfx.vendor.js
src/docfx.website.themes/default/fonts/
11 changes: 10 additions & 1 deletion UpdateTemplate.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,25 @@ SET TemplateHome=%~dp0src\docfx.website.themes\
SET DefaultTemplate=%TemplateHome%default

CALL npm install -g gulp
CALL npm install -g bower

:: Check if gulp install successfully
:: Check if gulp exists globally
WHERE gulp >NUL
IF NOT '%ERRORLEVEL%'=='0' (
ECHO ERROR: UpdateTemplate.cmd requires gulp installed globally.
GOTO :Exit
)

:: Check if bower exists globally
WHERE bower >NUL
IF NOT '%ERRORLEVEL%'=='0' (
ECHO ERROR: UpdateTemplate.cmd requires bower installed globally.
GOTO :Exit
)

CD %DefaultTemplate%
CALL npm install
CALL bower install
CALL gulp

CD %TemplateHome%
Expand Down
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 3 additions & 1 deletion src/docfx.website.themes/default/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ var concat = require('gulp-concat');
var copy = require('gulp-copy');

var vendor = {
css: ['bower_components/bootstrap/dist/css/bootstrap.css', 'bower_components/highlightjs/styles/solarized_dark.css'],
css: ['bower_components/bootstrap/dist/css/bootstrap.css',
'bower_components/highlightjs/styles/github-gist.css'
],
js: ['bower_components/jquery/dist/jquery.min.js',
'bower_components/bootstrap/dist/js/bootstrap.min.js',
'bower_components/highlightjs/highlight.pack.min.js',
Expand Down
1,464 changes: 0 additions & 1,464 deletions src/docfx.website.themes/default/styles/docfx.vendor.css

This file was deleted.

38 changes: 0 additions & 38 deletions src/docfx.website.themes/default/styles/docfx.vendor.js

This file was deleted.

0 comments on commit cd44def

Please sign in to comment.