Hello everybody!
We've changed the templates to be more easily scannable, and added an XML export which
is imported into a custom SilverStripe search engine.
All of this is clumsy to maintain, and slow to use. Parsing takes ages, and frequently breaks execution on benign PHPDoc syntax errors.
Which is part of the reason we still don't have a 3.1 version on there. I think we can do better.
Is anybody willing to evaluate and implement an alternative?
Here's some decision criteria:
- Supports PHPDoc
- Solid generator
- Built-in search for class and method names
- Readable and "scannable" presentation
- Hackable URLs (which we'll need to plug into the
doc.ss.org "shortcuts" to the API docs)
- Deep links via URL to properties etc.
- Git branch/tag support (or minimal scripting work required)
- Support for namespaces, but also provides meaningful interface without them
- Nice to have: Supports markdown (or some non-HTML way to define basic structures like lists and headlines)
- Nice to have: Opensearch support
Some observations about the two solutions above:
- PHPDoc2 is in alpha, has 120+ bugs in github
- SAMI doesn't seem to be very active, but generally anything from @fabpot is solid work
- SAMI default template looks prettier than PHPDoc2 ;)
So, ideally you can set up an instance somewhere and we can check it out.
Even if you don't have time to take this on,
I'd love your feedback on if/how you use the existing API docs,
and what would make the system more useful to you.
Thanks
Ingo