privateGPT/fern
Javier Martinez 4ca6d0cb55
fix: add numpy issue to troubleshooting (#2048)
* docs: add numpy issue to troubleshooting

* fix: troubleshooting link

...
2024-08-07 12:16:03 +02:00
..
docs fix: add numpy issue to troubleshooting (#2048) 2024-08-07 12:16:03 +02:00
openapi feat(recipe): add our first recipe Summarize (#2028) 2024-07-31 16:53:27 +02:00
docs.yml fix(deploy): improve Docker-Compose and quickstart on Docker (#2037) 2024-08-05 16:28:19 +02:00
fern.config.json (feat): add github button (#1989) 2024-07-09 08:48:47 +02:00
generators.yml Move Docs to Fern (#1257) 2023-11-16 23:25:14 +01:00
README.md feat(docs): update documentation and fix preview-docs (#2000) 2024-07-18 10:06:51 +02:00

Documentation of PrivateGPT

The documentation of this project is being rendered thanks to fern.

Fern is basically transforming your .md and .mdx files into a static website: your documentation.

The configuration of your documentation is done in the ./docs.yml file. There, you can configure the navbar, tabs, sections and pages being rendered.

The documentation of fern (and the syntax of its configuration docs.yml) is available there docs.buildwithfern.com.

How to run fern

You cannot render your documentation locally without fern credentials.

To see how your documentation looks like, you have to use the CICD of this repository (by opening a PR, CICD job will be executed, and a preview of your PR's documentation will be deployed in vercel automatically, through fern).

The only thing you can do locally, is to run fern check, which check the syntax of your docs.yml file.

How to add a new page

Add in the docs.yml a new page, with the following syntax:

navigation:
  # ...
  - tab: my-existing-tab
    layout:
      # ...
      - section: My Existing Section
        contents:
          # ...
          - page: My new page display name
            # The path of the page, relative to `fern/`
            path: ./docs/pages/my-existing-tab/new-page-content.mdx