-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathgenerate_docs.sh
executable file
·40 lines (39 loc) · 1 KB
/
generate_docs.sh
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
#!/bin/sh
swift package \
--allow-writing-to-directory docs \
generate-documentation \
--target swift-bundler \
--disable-indexing \
--transform-for-static-hosting \
--hosting-base-path swift-bundler \
--output-path docs \
--enable-inherited-docs \
--experimental-documentation-coverage \
--level detailed \
# --kinds enumeration \
# --kinds structure \
# --kinds type-method \
# --kinds type-property \
# --kinds instance-method \
# --kinds instance-property \
# --kinds instance-variable \
# --kinds initializer
# --kinds global-variable \
# --kinds enumeration-case \
# --kinds module \
# --kinds class \
# --kinds structure \
# --kinds enumeration \
# --kinds protocol \
# --kinds type-alias \
# --kinds typedef \
# --kinds associated-type \
# --kinds "function" \
# --kinds operator \
# --kinds initializer \
# --kinds instance-method \
# --kinds instance-property \
# --kinds instance-variable \
# --kinds type-method \
# --kinds type-property \
# --kinds type-subscript \