Merge pull request #305 from mitchellh/website-deep-links

website: generate toc data for linking into headers
This commit is contained in:
Mitchell Hashimoto 2013-08-18 07:44:52 -07:00
commit aef702a693
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ set :images_dir, 'images'
# Use the RedCarpet Markdown engine # Use the RedCarpet Markdown engine
set :markdown_engine, :redcarpet set :markdown_engine, :redcarpet
set :markdown, :fenced_code_blocks => true set :markdown,
:fenced_code_blocks => true,
:with_toc_data => true
# Build-specific configuration # Build-specific configuration
configure :build do configure :build do