Skip to content

Intelligently determine what file to render a README from if README.* isn't present #12

@avar

Description

@avar

(It doesn't look like this is part of the github/markup code, so I couldn't patch this)

Currently a lot of projects have some sort of embedded documentation that's easy to find, but GitHub doesn't find and display it.

Examples include:

  • This project, which has only a single file, which includes embedded POD.
  • This project. Which has a README.pod generated from lib/Hailo.pm

It would be nice if GitHub's logic for finding documentation to display in the main page of the project was a bit more permissive than just displaying glob("README_"). E.g. by seeing that the project has one main file that has embedded docs, or that the "main module" of a project has docs (e.g. for Perl code figure out that it's the top-level class in lib/, which could be just find lib -type f -name '_.pm' | head -n 1 for the common case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions