Remove slate doc config for now
This commit is contained in:
Родитель
232f7c7e29
Коммит
a67a28c684
28
Gemfile
28
Gemfile
|
@ -1,28 +0,0 @@
|
|||
# If you have OpenSSL installed, we recommend updating
|
||||
# the following line to use "https"
|
||||
source 'http://rubygems.org'
|
||||
|
||||
gem "middleman", "~>3.2.0"
|
||||
|
||||
# For syntax highlighting
|
||||
gem "middleman-syntax"
|
||||
|
||||
# Plugin for middleman to generate Github pages
|
||||
gem 'middleman-gh-pages'
|
||||
|
||||
# Live-reloading plugin
|
||||
gem "middleman-livereload", "~> 3.3.0"
|
||||
|
||||
gem 'redcarpet', '~> 3.1.1'
|
||||
|
||||
# For faster file watcher updates on Windows:
|
||||
gem "wdm", "~> 0.1.0", :platforms => [:mswin, :mingw]
|
||||
|
||||
# Cross-templating language block fix for Ruby 1.8
|
||||
platforms :mri_18 do
|
||||
gem "ruby18_source_location"
|
||||
end
|
||||
|
||||
gem "rake", "~> 10.2.0"
|
||||
|
||||
gem 'therubyracer', :platforms => :ruby
|
23
Gruntfile.js
23
Gruntfile.js
|
@ -22,26 +22,6 @@ module.exports = exports = function(grunt) {
|
|||
options: {},
|
||||
source: ['src/*.coffee']
|
||||
},
|
||||
shell: {
|
||||
publishDocs: {
|
||||
options: {
|
||||
stdout: true
|
||||
},
|
||||
command: 'rake publish ALLOW_DIRTY=true'
|
||||
}
|
||||
},
|
||||
usebanner: {
|
||||
taskName: {
|
||||
options: {
|
||||
position: 'top',
|
||||
banner: '#! /usr/bin/env node',
|
||||
linebreak: true
|
||||
},
|
||||
files: {
|
||||
src: ['dist/main.js']
|
||||
}
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
build: {
|
||||
files: ['src/*.coffee'],
|
||||
|
@ -58,7 +38,6 @@ module.exports = exports = function(grunt) {
|
|||
require('load-grunt-tasks')(grunt);
|
||||
|
||||
grunt.registerTask('default', ['build', 'watch']);
|
||||
grunt.registerTask('build', ['coffee', 'usebanner']);
|
||||
grunt.registerTask('publish', ['shell']);
|
||||
grunt.registerTask('build', ['coffee']);
|
||||
grunt.registerTask('test', ['build', 'coffeelint']);
|
||||
};
|
||||
|
|
38
config.rb
38
config.rb
|
@ -1,38 +0,0 @@
|
|||
set :source, 'docs'
|
||||
|
||||
set :css_dir, 'stylesheets'
|
||||
|
||||
set :js_dir, 'javascripts'
|
||||
|
||||
set :images_dir, 'images'
|
||||
|
||||
set :fonts_dir, 'fonts'
|
||||
|
||||
set :markdown_engine, :redcarpet
|
||||
|
||||
set :markdown, :fenced_code_blocks => true, :smartypants => true, :disable_indented_code_blocks => true, :prettify => true, :tables => true, :with_toc_data => true, :no_intra_emphasis => true
|
||||
|
||||
# Activate the syntax highlighter
|
||||
activate :syntax
|
||||
|
||||
# This is needed for Github pages, since they're hosted on a subdomain
|
||||
activate :relative_assets
|
||||
set :relative_links, true
|
||||
|
||||
# Build-specific configuration
|
||||
configure :build do
|
||||
# For example, change the Compass output style for deployment
|
||||
activate :minify_css
|
||||
|
||||
# Minify Javascript on build
|
||||
activate :minify_javascript
|
||||
|
||||
# Enable cache buster
|
||||
# activate :asset_hash
|
||||
|
||||
# Use relative URLs
|
||||
# activate :relative_assets
|
||||
|
||||
# Or use a different image path
|
||||
# set :http_prefix, "/Content/images/"
|
||||
end
|
Загрузка…
Ссылка в новой задаче