Page MenuHomePhabricator

{PULA} Add proper function documentation across the codebase
Open, Needs TriagePublic

Description

Domain:
Frontend / Backend / Code Quality

Difficulty:
Intermediate

Problem / steps to reproduce (for bugs)

  • Many functions in the project currently lack proper comments or documentation.
  • This makes it difficult for other developers to understand, maintain, or contribute to the codebase.
  • There is no consistent pattern for function documentation across the project.

Expected outcome / task:

  • Go through the entire codebase and add clear function-level documentation for all functions.
  • Each function documentation should include:
    • Function name
    • Purpose / description of what the function does
    • Parameters: names, types, and description
    • Return value: type and description
    • Any side effects if applicable
  • Use standard commenting patterns, e.g. JSDoc for JavaScript / TypeScript: `ts /**
    • Calculates the sum of two numbers.
    • @param {number} a - The first number
    • @param {number} b - The second number
    • @returns {number} The sum of a and b */ function sum(a: number, b: number): number { return a + b; }

Event Timeline

3ch310n renamed this task from Add proper function documentation across the codebase to {PULA} Add proper function documentation across the codebase.Dec 12 2025, 7:06 PM

Please, someone should guide me on how to document this task.
https://scaling-disco-jjvg9676v5gvc5jg9.github.dev/

Eugene233 subscribed.

@HalimaWaziri as you requested, you have been unassigned from this task

@HalimaWaziri as you requested, you have been unassigned from this task

Please assign non-technical documentation or translation to me.

Kinenkey subscribed.

I want to take this up

Kinenkey moved this task from In progress to Review on the Pulac board.