openapipages icon indicating copy to clipboard operation
openapipages copied to clipboard

What about moving templates into their own HTML files instead of keeping them as Python strings?

Open hasansezertasan opened this issue 1 year ago • 0 comments

What about moving templates into their own HTML files instead of keeping them as Python strings?

The first option that came to my mind to achieve this was Jinja2 but we must keep dependencies as simple as possible.

This StackOverflow question looks very informing: How to read a (static) file from inside a Python package? - Stack Overflow

Some implementations:

hasansezertasan avatar Feb 03 '24 15:02 hasansezertasan