Load README.md from URL #1644
-
Hey, I would like to embed a Docsify generated page in a simple website I am building using FastAPI (in Flask-like manner). However, when generating the HTML, all URLs for resources need to be resolved (FastAPI will insert the correct URLs for all Jinja2 window.$docsify = {
name: '',
repo: '',
src: "{{ url_for('guide', path='/README.md') }}",
} and not let Docsify search for the file? Sorry in case the question doesn't make much sense, I'm just getting started with most of this web stuff. |
Beta Was this translation helpful? Give feedback.
Answered by
sy-records
Oct 3, 2021
Replies: 1 comment 1 reply
Answer selected by
leon-thomm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see https://docsify.js.org/#/configuration?id=basepath