lib/lookbook/parser.rb in lookbook-0.9.8 vs lib/lookbook/parser.rb in lookbook-1.0.0.beta.0
- old
+ new
@@ -21,9 +21,13 @@
registry = YARD::RegistryStore.new
registry.load!(registry_path)
registry.get(path)
end
+ # def yardoc_file_path
+ # Rails&.root ? Rails.root.join(YARDOC_FILE_PATH) : YARDOC_FILE_PATH
+ # end
+
class << self
def define_tags
YARD::Tags::Library.define_tag("Hidden status", :hidden)
YARD::Tags::Library.define_tag("Label", :label)
YARD::Tags::Library.define_tag("Display", :display)