Module: Geb::Defaults

Defined in:
lib/geb/defaults.rb

Constant Summary collapse

TEMPLATE_ARCHIVE_FILENAME =

default values for site templates

'geb-template.tar.gz'
AVAILABLE_TEMPLATES =

default the template archive filename

['basic', 'bootstrap_jquery']
SITE_CONFIG_FILENAME =

site config file name

'geb.config.yml'
HTTP_TEMPLATE_CONTENT_TYPES =

acceptable remote template content types

['application/x-gzip', 'application/gzip', 'application/octet-stream']
BUNDLED_TEMPLATES_DIR =

bundled template directory

File.join(__dir__, 'samples')
DEFAULT_TEMPLATE_DIR =

default template directory

File.join(BUNDLED_TEMPLATES_DIR, AVAILABLE_TEMPLATES.first)
DEFAULT_TEMPLATE =

default template

AVAILABLE_TEMPLATES.first
OUTPUT_DIR =

default values for site configuration (all paths are relative to the site root)

'output'
LOCAL_OUTPUT_DIR =

output directory (relative to site root)

'local'
RELEASE_OUTPUT_DIR =

local output directory (relative to output directory)

'release'
ASSETS_DIR =

release output directory (relative to output directory)

'assets'
PAGE_EXTENSIONS =

default values for site pages

['.md', '.markdown', '.html', '.htm', '.txt', '.js', '.css', '.webmanifest']
TEMPLATE_AND_PARTIAL_IDENTIFIER =

filename pattern for templates or partials

/^_/