-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
73 lines (69 loc) · 1.9 KB
/
Copy pathconfig.yaml
File metadata and controls
73 lines (69 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Configuration of generators (defaults illustrated)
---
# The directory where the generated files are stored
# directory: "tmp"
# By default all generators are run. Specify here the ones to skip.
excludes:
- markdown
- shacl
- shex
# excelgen re-saves the whole workbook once per class AND once per slot
# (~2900 full writes for this schema), which is ~97% of gen-project's runtime
# (507s of 520s) and the source of the "permissible values with total length
# > 255 characters" warnings. Run `just gen-excel` on demand if you need the
# xlsx template.
- excel
# Alternatively only specify the generators to run
# (comment out the above "excludes" section)
# includes:
# - markdown
# - excel
# Set the arguments for the generators (no matter if they run or not)
generator_args:
excel:
mergeimports: true
owl:
mergeimports: true
metaclasses: false
type_objects: false
add_root_classes: true
mixins_as_expressions: true
markdown:
mergeimports: true
directory: "docs/elements"
graphql:
mergeimports: true
# gen-java is not yet supported by gen-project.
# https://github.com/linkml/linkml/issues/2537
# java:
# mergeimports: true
# metadata: true
jsonld:
mergeimports: true
jsonschema:
mergeimports: true
jsonldcontext:
mergeimports: true
# gen-pydantic is not yet supported by gen-project.
# https://github.com/linkml/linkml/issues/2537
# pydantic:
# mergeimports: true
python:
mergeimports: true
# head: true # Why does this not work?
prefixmap:
mergeimports: true
proto:
mergeimports: true
shacl:
mergeimports: true
shex:
mergeimports: true
# Key must be "sqltable" to match projectgen's GEN_MAP - a "sqlddl" key is
# silently ignored, which left the SQL DDL generated without mergeimports.
sqltable:
mergeimports: true
typescript:
mergeimports: true
metadata: true
...