wallee94 / graphdoc

Autogenerate HTML docs for your GraphQL API
https://wallee94.github.io/graphdoc/
MIT License
14 stars 4 forks source link

Fix `grapdoc.to_md` by adding missing markdown templates #14

Open srchase opened 4 months ago

srchase commented 4 months ago

This PR fixes graphdoc.to_md by updating setup.py to include the markdown templates when releasing the graphdoc package.

Currently this method returns HTML. This is due to the check in render.py (at https://github.com/wallee94/graphdoc/blob/main/graphdoc/render.py#L29) failing to find the markdown templates, and therefore not loading them templates into the _jinja_env. As a result, the renderer still produces HTML.