Buncha minor versions in the last day or so:
- version: 0.23
- Major fixes to the Time emitter and parser. Time zones should work.
- Fixes to indentation at the start of a document.
- More YOD work.
- version: 0.22
- Started YOD documentation.
- Working to fix indentation problems.
- version: 0.21
- Private types now available via add_private_type or returns a PrivateType class.
- URI escaping.
- All ruby types now registered under the ruby.yaml.org domain as the spec describes.
- Fixed double-quoted string ending on last character of the document.
The YOD documentation for YAML4R isn't intended to become any sort of a standard, but merely
be an included example of a project which uses YAML to store data. It seemed like a good way
to document my API and show a real example.
Also, the documentation uses domain types quite a bit. I've found that this is an indispensable
feature in Ruby. It allows me to get instantiated objects from YAML, rather than having to
traverse the document tree to build the documentation.
So, the code basically will end up just parsing and emitting in HTML/CHM/whatever...
doc = Yod.new( File.open( 'doc/yaml4r.yod' ) )
The Yod#to_html method descends through the Page, Group, Code, Paragraph objects, calling their
to_html methods along the way. Doesn't work like that yet ;) but that's the plan.