This project generates API documentation from TypeScript files using TypeDoc and serves it using a Docusaurus website.
hosanna-ui
repository
project.hosanna-website
) store all markdown files and static assets for the
documentation website.⚠️ Warning:
Before you start generating docs, make sure that bothhosanna-website
andhosanna-ui
are located in the same parent directory (as neighbors). This is required for the documentation generation process to work correctly.
Run the following command from the project root:
npm run docs
This will:
hosanna-ui
version matches the hosanna-website
version in their
respective package.json
files for consistency.src/shared
static/api
npm install
npm start
This will:
The site will open at the homepage by default.
In the website:
Tutorial → API Reference → Browse the generated API documentation
⚠️ Known Issue: You may see a "Page Not Found" error initially when navigating to the generated docs. Try refreshing the page — the docs should load correctly. (We're still investigating this 🫣)
//test 2