Sha256: e5269a4d6d2b2047e609f2d53045eced5bd9e0695463e9e2d4cd87e7a7e89ce4

Contents?: true

Size: 851 Bytes

Versions: 8

Compression:

Stored size: 851 Bytes

Contents

PROJECT_ROOT = File.expand_path '.'
BUILD_DIR = File.expand_path './../build'

# Markdown
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

# Assets
set :css_dir, 'stylesheets'
set :js_dir, 'javascripts'
set :images_dir, 'images'
set :fonts_dir, 'fonts'

# Activate the syntax highlighter
activate :syntax

activate :autoprefixer do |config|
  config.browsers = ['last 2 version', 'Firefox ESR']
  config.cascade  = false
  config.inline   = true
end

# Github pages require relative links
activate :relative_assets
set :relative_links, true

# Build Configuration
set :build_dir, BUILD_DIR
configure :build do
  activate :minify_css
  activate :minify_javascript
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
solidus_json_api-0.3.1 docs/config.rb
solidus_json_api-0.3.0 docs/config.rb
spree_api_v2-0.2.2 docs/config.rb
solidus_api_v2-0.2.2 docs/config.rb
solidus_api_v2-0.2.1 docs/config.rb
spree_api_v2-0.2.1 docs/config.rb
spree_api_v2-0.2.0 docs/config.rb
solidus_api_v2-0.2.0 docs/config.rb