boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
169 stars 60 forks source link

Make examples collapsible #8

Open boakley opened 10 years ago

boakley commented 10 years ago

Sometimes a keyword example can be fairly long. It might be nice to be able to keep the documentation, but be able to collapse the example code. I'm not sure how we would do this, but it's an intriguing idea.

The best way might be to just establish a convention in the docs (eg: surround collapsible regions with >> and << or something) and then create our own doc-to-html converter. Then, we could encourage the core team to adopt that convention.