mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Site Docs & Previews: Update Site Building/Previewing Docs
* New plugin: remove-html-extension falls back to /foo.html when /foo isn't found in `jekyll serve` mode. * New Makefile target: `make preview` runs bundle exec jekyll serve * Updated site docs to describe installing all required dependencies. Fully tested using a new install of Ubuntu Server 14.04.1
This commit is contained in:
parent
6a42d7b861
commit
3eee4811fd
5 changed files with 174 additions and 53 deletions
|
@ -53,7 +53,9 @@ end
|
|||
|
||||
|
||||
#Do nothing if plugin is disabled
|
||||
if !ENV['ENABLED_PLUGINS'].nil? and ENV['ENABLED_PLUGINS'].index('itemplate').nil?
|
||||
## Note: tested 2015-04-12 and the site actually compiles 5 seconds
|
||||
## *faster* with this enabled, so hardcoding it to enabled for now
|
||||
if false #!ENV['ENABLED_PLUGINS'].nil? and ENV['ENABLED_PLUGINS'].index('itemplate').nil?
|
||||
print 'Inline Template (itemplate) disabled' + "\n"
|
||||
Liquid::Template.register_tag('itemplate', Jekyll::InlineTemplateBlockDisabled)
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue