apps/blueprint/config.rb in brief-1.9.9 vs apps/blueprint/config.rb in brief-1.9.11
- old
+ new
@@ -11,9 +11,13 @@
hash[:table_of_contents] = table_of_contents.as_json(params)
end
end
end
+config do
+ set(:documentation_path, File.join(File.dirname(__FILE__), 'documentation'))
+end
+
class Brief::Briefcase
def has_table_of_contents?
docs_path.join('index.md').exist?
end