Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse imports in code examples in Javadoc and manual #520

Closed
ldaley opened this issue Dec 10, 2014 · 3 comments
Closed

Collapse imports in code examples in Javadoc and manual #520

ldaley opened this issue Dec 10, 2014 · 3 comments
Assignees

Comments

@ldaley
Copy link
Member

ldaley commented Dec 10, 2014

It would be nice to not show the imports by default in the code samples. We should replace this with some kind of toggle thing that expands / collapses the imports.

Would need to add this to the Javascript we already pull in to do the syntax highlighting.

@ldaley
Copy link
Member Author

ldaley commented Dec 11, 2014

Work has started on this: https://github.com/zedar/ratpack-manual-toggle-imports

Thanks to @zedar.

@zedar
Copy link
Contributor

zedar commented Dec 15, 2014

#526
Pull request contains suppor for hiding/showing import statements in code samples in manual. It does not contain functionality for Javadoc API samples. Javadocs have different DOM structure. Will add missing functionality in the next pull request.

@zedar
Copy link
Contributor

zedar commented Dec 16, 2014

#527
Merged changed to existing manual css and js files.

@ldaley ldaley closed this as completed in f77b3a3 Dec 16, 2014
@ldaley ldaley added this to the release-0.9.12 milestone Dec 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants