Skip to content

Code Quality: Document entire codebase #16364

@Lamparter

Description

@Lamparter

Description

Since the (unfortunate) closure of #15652, something that I had been planning to do since ~2021, I've been re-motivated to start a super-documentation of the entire codebase.

Concerned code

Every single file and folder in the codebase.

Gains

This would make Files a better place to learn technologies such as C#/WinAppSdk (which both @0x5bfa and I can tell it definitely is good for!) especially considering that Files is practically the biggest, most popular WinUI3 app of all time. (well, 3rd party at least). This would also:

[organise the repo] for newbies to be able to participate easily.

Requirements

There are numerous possible solutions for this problem:

  • Document functions with C#/Spec
/// <summary/>
/// Write a summary of the function here...
/// </summary>
public string MyValue => "Hello World!";

This would allow for using a tool to generate it into documentation (periodically) that could be hosted on the website or in the codebase directly.

  • README.md (markdown) style documentation

For example, as introduced in #16363 and #15652. This implements directly with the GitHub UI and displays the documentation in the folder tree.

  • Simply add lots of comments to code

Comments

This is a rather large proposal but I don't see any reason against it, the worry of outdated docs is a non-issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions