Skip to content

feature: static generation? #6

@coldnebo

Description

@coldnebo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions