- Allow use Enter key to send a question
- Handle all errors. E.g., missing API key causes qa API to be unresponsive
- Make all hrefs clickable, i.e., convert https:// texts to links
- Return sign in redirect to active GPT modal window
- Show links to chapters with answer
- Allow sequential questions
- Secure API endpoint
/buildPromptby user session - Secure API endpoint
/qaby user session
In case you want to generate the static pages locally (could be useful for large changes) see below.
- Clone the CESNET/du-docs repo
git clone https://github.com/CESNET/du-docs.git - Clone CERIT-SC/fumadocs repo with some objects common to all eInfra docs:
git clone https://github.com/CERIT-SC/fumadocs - Copy the required files
cp -r fumadocs/components/* du-docs/components/ - Enter the directory
cd du-docs - Run the build
docker run -it --rm -p 3000:3000 -e STARTPAGE=/en/docs -v ./public:/opt/fumadocs/public -v ./components:/opt/fumadocs/components -v ./content/docs:/opt/fumadocs/content/docs cerit.io/docs/fuma:v16.4.6 pnpm dev- Documentation will be available at
http://localhost:3000/en/docs/welcomeand automatically rebuilt on source change.