(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).
(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:
lib/Hailo.pmIt 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 1for the common case).