File tree 3 files changed +28
-27
lines changed
3 files changed +28
-27
lines changed Original file line number Diff line number Diff line change 30
30
python -m pip install --upgrade pip
31
31
python -m pip install -e .["docs"]
32
32
33
- - name : Create API docs
34
- env :
35
- # we need to set a fake PG url or import will fail
36
- DATABASE_URL :
postgresql://username:[email protected] :5439/postgis
37
- run : |
38
- pdocs as_markdown \
39
- --output_dir docs/src/api \
40
- --exclude_source \
41
- --overwrite \
42
- tipg.filter.evaluate \
43
- tipg.filter.filters \
44
- tipg.resources.enums \
45
- tipg.resources.response \
46
- tipg.collections \
47
- tipg.database \
48
- tipg.dependencies \
49
- tipg.errors \
50
- tipg.factory \
51
- tipg.middleware \
52
- tipg.model \
53
- tipg.settings
54
-
55
33
- name : Deploy docs
56
34
run : mkdocs gh-deploy --force -f docs/mkdocs.yml
Original file line number Diff line number Diff line change 28
28
- " TiPg Vector Tiles server " : advanced/ogc_tiles_server.md
29
29
- " TiPg Features server " : advanced/ogc_features_server.md
30
30
- API :
31
- - db : api/tipg/db.md
32
- - dbmodel : api/tipg/dbmodel.md
31
+ - database : api/tipg/database.md
33
32
- dependencies : api/tipg/dependencies.md
34
33
- errors : api/tipg/errors.md
35
34
- factory : api/tipg/factory.md
48
47
49
48
plugins :
50
49
- search
50
+ - mkdocstrings :
51
+ enable_inventory : true
52
+ handlers :
53
+ python :
54
+ paths : [src]
55
+ options :
56
+ filters :
57
+ - " !^__post_init__"
58
+ docstring_section_style : list
59
+ docstring_style : google
60
+ line_length : 100
61
+ separate_signature : true
62
+ show_root_heading : true
63
+ show_signature_annotations : true
64
+ show_source : false
65
+ show_symbol_type_toc : true
66
+ signature_crossrefs : true
67
+ extensions :
68
+ - griffe_inherited_docstrings
69
+ import :
70
+ - https://docs.python.org/3/objects.inv
71
+ - https://docs.pydantic.dev/latest/objects.inv
72
+ - https://fastapi.tiangolo.com/objects.inv
51
73
52
74
theme :
53
75
name : material
Original file line number Diff line number Diff line change @@ -56,10 +56,11 @@ server = [
56
56
" uvicorn[standard]>=0.12.0,<0.19.0" ,
57
57
]
58
58
docs = [
59
+ " black>=23.10.1" ,
59
60
" mkdocs" ,
60
- " mkdocs-material" ,
61
- " pygments " ,
62
- " pdocs " ,
61
+ " mkdocs-material[imaging]>=9.5 " ,
62
+ " griffe-inherited-docstrings>=1.0.0 " ,
63
+ " mkdocstrings[python]>=0.25.1 " ,
63
64
]
64
65
65
66
[project .urls ]
You can’t perform that action at this time.
0 commit comments