4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 26
26
command : |
27
27
pip install pdoc sqlmesh
28
28
make api-docs
29
- git add docs
30
29
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
31
30
git config --local user.name "github-actions[bot]"
31
+ git add docs
32
32
git commit -m "CI: Auto-generated documentation" -a | exit 0
33
33
- run :
34
34
name : Deploy API Documentation
Original file line number Diff line number Diff line change @@ -72,10 +72,10 @@ docs-serve:
72
72
mkdocs serve
73
73
74
74
api-docs :
75
- pdoc/cli.py -o docs
75
+ python pdoc/cli.py -o docs
76
76
77
77
api-docs-serve :
78
- pdoc/cli.py
78
+ python pdoc/cli.py
79
79
80
80
ui-up :
81
81
docker-compose up --build -d && $(if $(shell which open) , open http://localhost:8001, echo "Open http://localhost:8001 in your browser.")
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
+
2
3
from importlib import import_module
3
4
from pathlib import Path
4
5
from unittest import mock
5
6
6
7
from pdoc .__main__ import cli , parser
7
8
8
- # need this import or else import_module doesn't work
9
+ # Need this import or else import_module doesn't work
9
10
import sqlmesh
10
11
11
12
Original file line number Diff line number Diff line change 38
38
"requests" ,
39
39
"rich" ,
40
40
"ruamel.yaml" ,
41
- "sqlglot>=11.4.2 " ,
41
+ "sqlglot>=11.4.4 " ,
42
42
],
43
43
extras_require = {
44
44
"dev" : [
0 commit comments