File: documentation

package info (click to toggle)
h3-pg 4.2.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,196 kB
  • sloc: sql: 4,469; ansic: 3,497; python: 322; sh: 56; makefile: 18
file content (16 lines) | stat: -rwxr-xr-x 392 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash

# ensure we are in script dir
cd "$(dirname "$0")"

# go to python project dir
cd sql2doc

# ensure dependencies are present
poetry install

# generate markdown from sql files
poetry run -q -- python generate.py \
       -g "API Reference" "../../h3/sql/install/*.sql" \
       -g "PostGIS Integration" "../../h3_postgis/sql/install/*.sql" \
       > "../../docs/api.md"