2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MiddlemanのConfigの設定項目一覧

Posted at

Documentで見つけられなかったのでメモ

middleman 4.2.0

key default description
asset_extensions [".css", ".png", ".jpg", ".jpeg", ".webp", ".svg", ".svgz", ".js", ".gif", ".ttf", ".otf", ".woff", ".woff2", ".eot", ".ico", ".map"] Which file extensions are treated as assets.
automatic_directory_matcher Set to automatically convert some characters into a directory
bind_address The bind address of the preview server
build_dir build Where to build output files
cli_options {} Options from the Command Line.
css_dir stylesheets Location of stylesheets within source
data_dir data The directory data files are stored in
disable_sitemap false If we should not run the sitemap.
encoding utf-8 Default string encoding for templates and output
environment development Middleman environment. Defaults to :development
exit_before_ready false If we should exit before ready event.
extensions_with_layout [".htm", ".html", ".xhtml", ".php"] Which file extensions have a layout by default.
fonts_dir fonts Location of fonts within source
frontmatter_delims {:json=>[[";;;", ";;;"]], :yaml=>[["---", "---"], ["---", "..."]]} Allowed frontmatter delimiters
helpers_dir helpers Directory to autoload helper modules from
helpers_filename_glob **.rb Glob pattern for matching helper ruby files
helpers_filename_to_module_name_proc #Proc:0x007fc77291bc20@/Users/hikaru/src/fatego/vendor/bundle/ruby/2.3.0/gems/middleman-core-4.2.0/lib/middleman-core/core_extensions/external_helpers.rb:7 Proc implementing the conversion from helper filename to module name
http_prefix / Default prefix for building paths
https false Serve the preview server over SSL/TLS
ignored_sitemap_matchers {:partials=>#Proc:0x007fc772b12038@/Users/hikaru/src/fatego/vendor/bundle/ruby/2.3.0/gems/middleman-core-4.2.0/lib/middleman-core/application.rb:181, :layout=>#Proc:0x007fc772b11de0@/Users/hikaru/src/fatego/vendor/bundle/ruby/2.3.0/gems/middleman-core-4.2.0/lib/middleman-core/application.rb:194} Callbacks that can exclude paths from the sitemap
images_dir images Location of images within source
index_file index.html Which file should be used for directory indexes
js_dir javascripts Location of javascripts within source
layout _auto_layout Default layout name
layouts_dir layouts Location of layouts within source
markdown_engine kramdown Preferred markdown engine
markdown_engine_prefix Tilt The parent module for markdown template engines
mode server Middleman mode. Defaults to :server
port 4567 The preview server port
protect_from_csrf false Should Padrino include CRSF tag
relative_links false Whether to generate relative links instead of absolute ones
sass {:output_style=>:nested} Sass engine options
sass_assets_paths [] Paths to extra SASS/SCSS files
sass_source_maps Whether to inline sourcemap into Sass
server_name The server name of preview server
skip_build_clean #Proc:0x007fc772b116d8@/Users/hikaru/src/fatego/vendor/bundle/ruby/2.3.0/gems/middleman-core-4.2.0/lib/middleman-core/application.rb:199 Whether some paths should not be removed during a clean build.
source source Name of the source directory
ssl_certificate Path to an X.509 certificate to use for the preview server
ssl_private_key Path to an RSA private key for the preview server's certificate
strip_index_file true Whether to strip the index file name off links to directory indexes
trailing_slash true Whether to include a trailing slash when stripping the index file
watcher_disable false If the Listen watcher should not run
watcher_force_polling false If the Listen watcher should run in polling mode
watcher_latency The Listen watcher latency
watcher_wait_for_delay 0.5 The Listen watcher delay between calls when changes exist
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?