1
Fork 0

Use prebuilt pygments

This commit is contained in:
Jake Howard 2017-01-15 16:20:51 +00:00
parent a3af5bde2a
commit 650b7cd994
Signed by: jake
GPG Key ID: 57AFB45680EDD477
5 changed files with 2 additions and 4 deletions

1
.gitignore vendored
View File

@ -61,5 +61,4 @@ target/
output/
theme/static/build/
theme/static/src/scss/pygment.css
deploy/

View File

@ -17,6 +17,7 @@
"bootstrap-sass": "=3.3.7",
"font-awesome": "=4.7.0",
"jquery": "=3.1.1",
"pygments-css": "=1.0.0",
"tstatic": "RealOrangeOne/tstatic",
"underscore": "=1.8.3",
"wow.js": "=1.2.2"

View File

@ -22,7 +22,6 @@ def static_build(*args, **kwargs):
logger.info('JS built!')
run_command('Building Pygments Style', ['pygmentize', '-S', 'github', '-f', 'html', '-a', '.highlight', '>', 'theme/static/src/scss/pygment.css'], True)
run_command('Building Styles', [node_bin('node-sass'), 'theme/static/src/scss/index.scss', 'theme/static/build/css/index.css', '--source-map-embed'])
logger.info('SCSS Built!')

View File

@ -9,7 +9,6 @@ nose2==0.6.5
pelican-minify==0.9
pelican==3.7.1
pyembed-markdown==1.1.0
pygments-style-github==0.4
python-resize-image==1.1.3
pyyaml==3.12
safety==0.5.1

View File

@ -10,6 +10,7 @@
/* @group Libraries */
@import "node_modules/bootstrap-sass/assets/stylesheets/_bootstrap";
@import "node_modules/animate.css/animate";
@import "node_modules/pygments-css/github";
$fa-font-path: "../fonts";
@import "node_modules/font-awesome/scss/font-awesome";
@ -18,7 +19,6 @@ $fa-font-path: "../fonts";
/* @group Other Imports */
@import "creative/creative";
@import "pygment";
@import "homepage";
@import "footer";
@import "library-overrides";