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

feature: static generation? #6

Open
coldnebo opened this issue Sep 5, 2014 · 0 comments
Open

feature: static generation? #6

coldnebo opened this issue Sep 5, 2014 · 0 comments

Comments

@coldnebo
Copy link

coldnebo commented Sep 5, 2014

An interesting idea would be to have yard create the json files statically (instead of caching the generated output in Rails.cache) -- then copy them into a subdir like /public/data/*.json.

If swagger-ui could be bundled up into /public/swagger-ui as well, then a single generator could generate the doc, bundle it and store it in public, allowing the apidoc to be completely static!

This idea goes in a different direction than your initial gem, so feel free to close this if don't want to consider that mode. I might investigate this further in another gem in that case.

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

1 participant