Commit e0f2f91
authored
Enhance docgen for overriding default logic (#357)
* dont log twice if flags are true
* use LoadStage enum for annotation
* remove IFormat parameter from gen wiki
* add targetFile to generateExamples
* move examples to "generated" subfolder
* generate wiki in wiki/mods folder
* add IContainerDocumentation
* change vanilla wiki to generate in separate folder
* add the ability to export files directly
* add vanilla index file to export directly
* log.info into log
* return boolean for IContainerDocumentation
* use IGroovyContainer for doc
* rename parameter to loadStage
* simplify Registry creation
* use list for inworldcrafting
* allow a single annotation to target multiple methods
* refactor recursive annotation fetching
* gather recursive annotations for RBMD/RBRM
* extract try-catch IO in Documentation, simplify
* move VALUE method examples to first
* pass lang key into builder
* consolidate logic with IRegistryDocumentation
* make default reference use global binding if exists
* adjust vanilla logic with custom container
* make vanilla register globals based on its aliases
* extract strings to constants
* apply change to vanilla minecraft postInit
* generate mekanism infusion texture
* generate preInit ZorraAltar examples
* fix piston push validation incorrectly allowing 0
* allow non-mod ContainerHolder headers
* add in-world crafting
* ensure trailing whitespace is the same in all examples
* change carving sound to ADDITION
* simplify documenting type method
* streamline compare packages
* convert example to use case insensitive
* sort example entries better
* the humble spotless apply
* delete old in_world_crafting examples
* end index file with more line breaks
* make minecraft use alias and have more of them
* rename minecraft wiki page to Vanilla Registries
* rework package block to be clearer and less spammy
* always admonition, but only collapse if too many
* switch admonition to quote
* fix vararg method ties
* rename generated files
* make inWorldCrafting have properties correctly
* deduplicate sets in a different location
* add more inworldcrafting examples
* add header control to markdown sections
* rename subtitle to comment
* note header level
* remove random unused imports
* reduce some code complexity
* document containerholder better
* add LangHelper.fallback
* replace all headers with MarkdownSection
* rename to Heading
* make header IFormat
* thats now how you make new lines
* add category header overrides
* make non-varargs translate method
* rework lang key usage for category
* adjust documenting methods
* surround mod in parentheses for title
* extract tab indent whitespace
* document content creation
* gather overrides from class
* tulip typo
* fix error not logging desired info
* add description to recipe builder methods
* reduce complexity of some field doc code
* ensure period in custom register description
* document content builders
* remove trailing newlines on index files
* sort classes that skipped documentation
* add method descriptions to more places
* fix melting recipe builder
* spotless apply
* needs two percent symbols
* move heading to constructor, split link logic
* add custom iwc description
* remove now-unused test file
* add a single space to indent better
* use priority for wiki
* minor whitespace change
* remove useless distinct call
* add more content documentation
* minor capitalization typo1 parent ca3286a commit e0f2f91
File tree
128 files changed
+2428
-1267
lines changed- examples
- postInit
- custom
- generated
- preInit
- generated
- src/main
- java/com/cleanroommc/groovyscript
- api/documentation
- annotations
- compat
- content
- inworldcrafting
- mods
- actuallyadditions
- alchemistry
- astralsorcery
- botaniatweaks
- chisel
- extendedcrafting
- mekanism
- prodigytech
- projecte
- roots
- tinkersconstruct/recipe
- vanilla
- documentation
- format
- helper
- descriptor
- registry
- sandbox
- server
- resources/assets/groovyscript/lang
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
128 files changed
+2428
-1267
lines changedThis file was deleted.
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
124 | 123 | | |
| 124 | + | |
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | 142 | | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | 163 | | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
| 37 | + | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
173 | | - | |
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
| 14 | + | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | 19 | | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
Lines changed: 26 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | 39 | | |
47 | 40 | | |
48 | 41 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 42 | | |
60 | 43 | | |
61 | 44 | | |
62 | 45 | | |
63 | 46 | | |
64 | 47 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
69 | 58 | | |
70 | 59 | | |
71 | 60 | | |
| |||
86 | 75 | | |
87 | 76 | | |
88 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
89 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
examples/postInit/armorplus.groovy renamed to examples/postInit/generated/armorplus_generated.groovy
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
0 commit comments