How to serve Retype at www.my-site.com/docs/ #423
Replies: 3 comments 5 replies
-
Hi. Likely a couple issues happening. First, the input source You would then update your input: ./src/ Then you will want to output: ./docs/ I think that should work. |
Beta Was this translation helpful? Give feedback.
-
what i would need is for Retype to append additional data onto the index.html before writing to /build. this way, any new data that is populated into Retype is served once the site is deployed |
Beta Was this translation helpful? Give feedback.
-
Try setting the following in your input: ./docs
output: ./public/docs
url: https://conveyor.finance/docs That should read the |
Beta Was this translation helpful? Give feedback.
-
Hello!
I have a react app for an ongoing project that will be hosted at https://conveyor.finance. There is already a landing page set at the home directory, and an an additional page hosted at '/app/.
I really like the interface of Retype, and want to use it for the documentation of our site, and want to set it up where it is served at https://conveyor.finance/docs/.
All the markdown files will be stored in the project (not served from github pages), but I'm having difficulty having it serve from the /docs/ URL when running a local version of the site.
Expected results: When running
yarn start
from the root directory, the website should render atlocalhost:3000
andlocalhost:3000/app
, which is already happening, but it should also render Retype atlocalhost:3000/docs
. I've tried updating the port, but no joy on having everything render/export correctlyI have a 'docs' folder in the root directory of my project, and it does currently serve using
retype watch
atlocalhost:5000/docs
current structure
| build
| public
| src
| docs (retype)
retype.yml
retype.yml
any help would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions