Declaring unconventional namespaces fails
Reported by Andrew Dupont | April 29th, 2008 @ 07:14 PM
Prototype defines document.viewport as a namespace, but PDoc assumes namespaces will begin with a capital letter.
Comments and changes to this ticket
-
Tobie Langel May 5th, 2008 @ 01:40 AM
- → State changed from new to resolved
Fixed in http://github.com/tobie/pdoc/com...
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
PDoc is an inline comment parser and JavaScript documentation generator written in Ruby. It is designed for documenting Prototype and Prototype-based libraries.
PDoc uses Treetop a Ruby-based DSL for text parsing and interpretation, and it’s own, ActionView-inspired, ERB-based templating system for HTML generation. Other documentation generators (for example, for DocBook XML) are planned.
Contrary to other inline documentation parser, PDoc does not rely on the JavaScript source code at all: it only parses the comments. This does imply being slightly more verbose when documenting the source code, but makes for a consistent, readable documentation and avoids the usual issues encountered when documenting highly dynamic languages.
