Files
postgrest/docs
Wolfgang Walther 4954859d68 chore: Prepare merge of postgrest-docs into postgrest main repo
This avoids some merge conflicts to allow git blame to detect renames properly.
2024-02-17 13:43:50 +01:00
..
2024-01-17 09:07:37 -05:00
2024-01-17 09:07:37 -05:00
2024-02-16 22:04:07 +01:00

PostgREST documentation https://postgrest.org/

PostgREST docs use the reStructuredText format, check this cheatsheet to get acquainted with it.

To build the docs locally, use nix:

  nix-shell

Once in the nix-shell you have the following commands available:

  • postgrest-docs-build: Build the docs.
  • postgrest-docs-serve: Build the docs and start a livereload server on http://localhost:5500.
  • postgrest-docs-spellcheck: Run aspell.

Documentation structure

This documentation is structured according to tutorials-howtos-topics-references. For more details on the rationale of this structure, see https://www.divio.com/blog/documentation.

Translating

To create .po files for translation into a new language pass the language code as the first argument to postgrest-docs-build.

Example to add German/de:

postgrest-docs-build de

The livereload server also supports a language/locale argument to show the translated docs during translation:

postgrest-docs-serve de

Spellcheck is currently only available for the default language.