nix: Add postgrest-docs-render to render latex documents

This commit is contained in:
Wolfgang Walther
2024-02-21 09:40:11 +01:00
committed by Wolfgang Walther
parent b8f35d880f
commit 1a141c19df
2 changed files with 17 additions and 4 deletions
+1 -4
View File
@@ -17,10 +17,7 @@ The schema structure diagram is done with LaTeX. You can use a GUI like https://
Then use this command to generate the png file.
```bash
pdflatex --shell-escape -halt-on-error db.tex
## and move it to the static folder(it's not easy to do it in one go with the pdflatex)
mv db.png ../_static/
postgrest-docs-render
```
LaTeX is used because it's a tweakable plain text format.