Skip to content

Commit

Permalink
Preparing release
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Feb 9, 2016
1 parent b3d8700 commit 3678fa5
Show file tree
Hide file tree
Showing 56 changed files with 274 additions and 20,774 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ node_modules
# Build files
build
MANIFEST
site

# Distribution files
dist
mkdocs_materializr.egg-info
mkdocs_material.egg-info
2 changes: 1 addition & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
materializr-0.1.0 (2016-xx-xx)
mkdocs-material-0.1.0 (2016-xx-xx)

* Initial release
32 changes: 16 additions & 16 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ gulp.task('assets:stylesheets', function() {
]))
.pipe(gulpif(args.sourcemaps, sourcemaps.write()))
.pipe(gulpif(args.production, mincss()))
.pipe(gulp.dest('materializr/assets/stylesheets/'));
.pipe(gulp.dest('material/assets/stylesheets/'));
});

/*
Expand All @@ -127,7 +127,7 @@ gulp.task('assets:javascripts', function() {
.pipe(concat('application.js'))
.pipe(gulpif(args.sourcemaps, sourcemaps.write()))
.pipe(gulpif(args.production, uglify()))
.pipe(gulp.dest('materializr/assets/javascripts/'));
.pipe(gulp.dest('material/assets/javascripts/'));
});

/*
Expand All @@ -138,8 +138,8 @@ gulp.task('assets:modernizr', [
'assets:javascripts'
], function() {
return gulp.src([
'materializr/assets/stylesheets/application.css',
'materializr/assets/javascripts/application.js'
'material/assets/stylesheets/application.css',
'material/assets/javascripts/application.js'
]).pipe(
modernizr({
options: [
Expand All @@ -153,22 +153,22 @@ gulp.task('assets:modernizr', [
.pipe(addsrc.append('bower_components/respond/dest/respond.src.js'))
.pipe(concat('modernizr.js'))
.pipe(gulpif(args.production, uglify()))
.pipe(gulp.dest('materializr/assets/javascripts'));
.pipe(gulp.dest('material/assets/javascripts'));
});

/*
* Copy static assets like images and webfonts.
*/
gulp.task('assets:static', function() {
return gulp.src('src/assets/{fonts,images}/*.{ico,jpg,png,gif}')
return gulp.src('src/assets/{fonts,images}/*.{jpg,png,gif}')
.pipe(gulpif(args.production,
minimage({
optimizationLevel: 5,
progressive: true,
interlaced: true
})))
.pipe(addsrc.append('src/assets/{fonts,images}/*.{eot,svg,ttf,woff}'))
.pipe(gulp.dest('materializr/assets/'));
.pipe(addsrc.append('src/assets/{fonts,images}/*.{ico,eot,svg,ttf,woff}'))
.pipe(gulp.dest('material/assets/'));
});

/*
Expand All @@ -191,20 +191,20 @@ gulp.task('assets:views', args.production ? [
.pipe(compact())
.pipe(gulpif(args.production,
addsrc.append([
'materializr/manifest.json',
'materializr/**/*.css'
'material/manifest.json',
'material/**/*.css'
])))
.pipe(gulpif(args.production, collect()))
.pipe(ignore.exclude(/manifest\.json$/))
.pipe(gulp.dest('materializr'));
.pipe(gulp.dest('material'));
});

/*
* Clean outdated revisions.
*/
gulp.task('assets:revisions:clean', function() {
return gulp.src(['materializr/**/*.{css,js,png,jpg,gif}'])
.pipe(ignore.include(/-[a-f0-9]{8}\.(css|js|png|jpg|gif)$/))
return gulp.src(['material/**/*.{ico,css,js,png,jpg,gif}'])
.pipe(ignore.include(/-[a-f0-9]{8}\.(ico|css|js|png|jpg|gif)$/))
.pipe(vinyl(clean));
});

Expand All @@ -217,12 +217,12 @@ gulp.task('assets:revisions', [
'assets:javascripts',
'assets:static'
], function() {
return gulp.src(['materializr/**/*.{css,js,png,jpg,gif}'])
return gulp.src(['material/**/*.{ico,css,js,png,jpg,gif}'])
.pipe(ignore.exclude(/-[a-f0-9]{8}\.(css|js|png|jpg|gif)$/))
.pipe(rev())
.pipe(gulp.dest('materializr'))
.pipe(gulp.dest('material'))
.pipe(rev.manifest('manifest.json'))
.pipe(gulp.dest('materializr'));
.pipe(gulp.dest('material'));
});

/*
Expand Down
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
recursive-include materializr *.ico *.js *.css *.html *.eot *.svg *.ttf *.woff
recursive-include material *.ico *.js *.css *.html *.eot *.svg *.ttf *.woff
recursive-exclude site *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
materializr
mkdocs-material
===========

A material design theme for MkDocs
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "materializr",
"name": "mkdocs-material",
"version": "0.1.0",
"description": "A material design theme for MkDocs",
"homepage": "https://github.com/squidfunk/materializr",
"homepage": "https://github.com/squidfunk/mkdocs-material",
"authors": [
"squidfunk <[email protected]>"
],
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added material/assets/images/favicon.ico
Binary file not shown.

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions material/assets/javascripts/modernizr-79394028.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
1 change: 1 addition & 0 deletions material/assets/stylesheets/application-9ec7095f.css

Large diffs are not rendered by default.

Loading

0 comments on commit 3678fa5

Please sign in to comment.