Remove :header_hashtags option and adjust tests

This commit is contained in:
kristi
2012-05-14 00:38:27 -07:00
parent 4fa2cdf8d9
commit b0ba205532
6 changed files with 14 additions and 35 deletions
-7
View File
@@ -139,9 +139,6 @@ module Gollum
# site.
# options - Optional Hash:
# :universal_toc - Table of contents on all pages. Default: false
# :header_hashtags - Show links to headers. Default: true
# (Pages may be rendered slightly faster without
# the toc and hashtags)
# :base_path - String base path for all Wiki links.
# Default: "/"
# :page_class - The page Class. Default: Gollum::Page
@@ -175,7 +172,6 @@ module Gollum
@history_sanitization = options[:history_sanitization] ||
self.class.history_sanitization
@universal_toc = options.fetch(:universal_toc, false)
@header_hashtags = options.fetch(:header_hashtags, true)
end
# Public: check whether the wiki's git repo exists on the filesystem.
@@ -542,9 +538,6 @@ module Gollum
# Toggles display of universal table of contents
attr_reader :universal_toc
# Create hashtag link for headers to jump to sections
attr_reader :header_hashtags
# Normalize the data.
#
# data - The String data to be normalized.