encode / apistar

The Web API toolkit. 🛠
https://docs.apistar.com
BSD 3-Clause "New" or "Revised" License
5.57k stars 411 forks source link

docs: jinja2.exceptions.TemplateNotFound: apistar\index.html #641

Open sdementen opened 5 years ago

sdementen commented 5 years ago

Hello,

When using both the CLI and the programmatic interface to serve or build docs from a schema, I receive a the exception jinja2.exceptions.TemplateNotFound: apistar\index.html.

using apistar==0.6.0 installed via pipenv on windows

fix is to not use os.path.join for building apistar\index.html but do theme + loader.delimiter + 'index.html' in apistar\core.py