Oliver Nocon
43f51ba90a
Revamp documentation generation for golang steps ( #1781 )
...
* Revamp documentation generation for golang steps
* Add and update tests
* Add tests, add step outputs
* Add tests, add step outputs
* Update rendering
* fix merge conflict
* update generated files
* Update pkg/config/stepmeta.go
* Update pkg/config/stepmeta.go
* Update pkg/generator/helper/docuHelper.go
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
* Include PR feedback
* update tests
* Fix Jenkins dependecy indication
Co-authored-by: Christopher Fenner <26137398+CCFenner@users.noreply.github.com>
2020-07-16 09:10:15 +02:00
Christopher Fenner
6eb8dc8191
docs: add possible value for bool parameters ( #1486 )
2020-04-30 06:39:48 +02:00
Christopher Fenner
3a4d4b2de7
docs: add general config parameters to GO docs ( #1471 )
...
* extract StepConfiguration generation to separate file
* add general options to parameter and config table
* fix test case
* remove telemetry flag from docs
* Revert "extract StepConfiguration generation to separate file"
This reverts commit df80dab8cd
.
2020-04-29 14:40:11 +02:00
Christopher Fenner
8455306a5e
docs: add code blocks to parameters table ( #1460 )
...
* add code blocks
* set parameters name in code block
* change test cases
* set parameters name in code block
* add step configuratio caption
* remove details caption
* add code block for docker settings
* add code block for stash content
* add code block for defaults
* add code block for sidecar image & name
* correct test cases
* add code block for docker
* correct test cases
2020-04-27 12:16:41 +02:00
Christopher Fenner
1660f4df48
docs: remove dangling whitespaces ( #1459 )
...
* omit <nil> in parameter table
* remove additional whitespaces
* add newline
* remove whitespaces
* adjust test cases
* fix whitespaces
2020-04-24 21:48:28 +02:00
Christopher Fenner
96439972e2
docs: show possible values in step documentation ( #1453 )
...
* add possibleValues to model
* include possible values into docs
2020-04-24 14:13:02 +02:00
Christopher Fenner
2100632b54
docs: omit <nil> in parameter table ( #1450 )
...
* omit <nil> in parameter table
* adjust test case
2020-04-24 11:21:33 +02:00
redehnroV
0b3bfcbcd5
fixed docu generation layout ( #1014 )
2019-11-26 15:26:37 +01:00
Sascha Vornheder
39f6fd57c6
fixed issue with context defaults during docu generation
2019-11-20 14:36:07 +01:00
Sascha Vornheder
75b62547e3
fixed test
2019-11-20 11:29:13 +01:00
Sascha Vornheder
cdaa7dfd52
added dockerOptions to the docu generation
2019-11-20 10:50:23 +01:00
Sascha Vornheder
001895a228
added dockerOptions to the docu generator
2019-11-20 09:05:10 +01:00
Sascha Vornheder
5ba375250d
removed complexity added volumeMount
2019-11-18 11:14:45 +01:00
Sascha Vornheder
737e0e9c5b
added more tests
2019-11-14 15:09:12 +01:00
Sascha Vornheder
e763194779
added some tests, fixed CodeClimat findings
2019-11-14 13:59:31 +01:00
Sascha Vornheder
1a609e5418
fixed some codeclimate issues
2019-11-13 14:43:53 +01:00
Sascha Vornheder
c6f5dbf5ee
refactored docuHelper and added general test
2019-11-13 14:34:04 +01:00