spec/fixtures/example/brief.rb in brief-1.8.11 vs spec/fixtures/example/brief.rb in brief-1.8.12
- old
+ new
@@ -1,9 +1,14 @@
config do
set(:models => Pathname(File.dirname(__FILE__)).join("models"))
set(:templates => Pathname(File.dirname(__FILE__)).join("templates"))
end
+view :table_of_contents do
+ doc = Brief::Document.new(docs_path.join("index.md"), document_type: "outline")
+ doc && doc.to_model
+end
+
view :custom_aggregator do
{aggregator:"custom"}
end
define "Release" do