Project

General

Profile

Actions

action #162698

open

Enhance/Improve OpenQA perldoc

Added by livdywan 9 days ago. Updated 9 days ago.

Status:
New
Priority:
Low
Assignee:
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Observation

The idea is to make the documentation in OpenQA more explanatory and helpful.

Example of not very useful description

There are many example but I will point you to create_artefact function.

=item create_artefact()

Used by the worker to upload files to the test.

=back

=cut

Without read the code is hard to understand what it does or answer questions like:

  • Can you tell what is the input and what the expected output?
Example of missing documentation

OpenQA::WebAPI::Controller::API::V1::JobSettings::jobs

Example of a better description

I consider get_parents a good example

Enhance/Improve OpenQA perldoc

This was an idea raised by @ybonatakis.

Acceptance criteria

  • AC1:

Suggestions

  • I don't want to write pod.
  • extract and refactor if function is too big and while writing a documentation you find mismatch between the name what the function
  • Do we publish html of the pods?
Actions #1

Updated by okurz 9 days ago

  • Assignee set to ybonatakis

please clarify

Actions #2

Updated by ybonatakis 9 days ago ยท Edited

  • Description updated (diff)
  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF