Sha256: c9f0f6f304a78a66a02dd48a820c461e281a3acbfe23c550afe1aafde4cb3ad0

Contents?: true

Size: 1.04 KB

Versions: 9

Compression:

Stored size: 1.04 KB

Contents

class Guide::Content < Guide::Document
  # The content in the Living Guide for your application is organised
  # into a tree structure. This class is the root node of that tree.
  # To add child nodes, use the following DSL:
  #
  # contains :child_node_name
  #
  # This example declares that the tree contains a child node named:
  #
  # Guide::Content::ChildNodeName
  #
  # You will still need to create a class for it.
  #
  # It is highly recommended that all of your content lives in the
  # Guide::Content namespace or Guide will have trouble finding it!
  #
  # To specify options such as visibility, append them to the declaration:
  #
  # contains :child_node_name, :visibility => :unpublished
  #
  # Feel free to redeclare this class in your system at the following path:
  #
  # app/<whatever_you_want>/guide/content.rb
  #
  # The convention for the subdirectory in app/ is "documentation",
  # but if you don't like that, you can use something else (even "models"!).
  # You probably shouldn't use any other standard rails directories though.
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
guide-0.8.0 app/models/guide/content.rb
guide-0.7.0 app/models/guide/content.rb
guide-0.6.1 app/models/guide/content.rb
guide-0.6.0 app/models/guide/content.rb
guide-0.5.0 app/models/guide/content.rb
guide-0.4.1 app/models/guide/content.rb
guide-0.4.0 app/models/guide/content.rb
guide-0.3.2 app/models/guide/content.rb
guide-0.3.1 app/models/guide/content.rb