Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.26 KB

File metadata and controls

29 lines (22 loc) · 1.26 KB

TODO

GPT dialog

  • 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

Engine

  • Secure API endpoint /buildPrompt by user session
  • Secure API endpoint /qa by user session

How to compile on a local station

In case you want to generate the static pages locally (could be useful for large changes) see below.

  1. Clone the CESNET/du-docs repo git clone https://github.com/CESNET/du-docs.git
  2. Clone CERIT-SC/fumadocs repo with some objects common to all eInfra docs: git clone https://github.com/CERIT-SC/fumadocs
  3. Copy the required files cp -r fumadocs/components/* du-docs/components/
  4. Enter the directory cd du-docs
  5. 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
  1. Documentation will be available at http://localhost:3000/en/docs/welcome and automatically rebuilt on source change.