Status: Closed (View Workflow)
The main class of the Pipeline Steps Documentation Generator codebase contains some functions that are required exclusively for generating declarative steps documentation. Thus, it makes sense to move these functions to a new class that is dedicated to declarative steps.
There are two benefits of doing this:
- The main class becomes less crowded with specific use-case functions and variables making it more readable.
- All related functions are shifted to another class, making it easier to remove the generation of the declarative steps if the need arises.
- relates to
JENKINS-68810 Improving the Pipeline Steps Generator codebase
Pull request at https://github.com/jenkins-infra/pipeline-steps-doc-generator/pull/176