Quite a few distributions have only one extension and no documentation file other than the README. Authors can get around this by adding the README under the docfile key in the provides section, but it seems silly.
So, add a rule to the indexer such that, if the distribution:
- Has only one extension
- Has no documentation file for that extension
- Has a
README
Then automatically index the README as documentation.
Quite a few distributions have only one extension and no documentation file other than the
README. Authors can get around this by adding theREADMEunder thedocfilekey in theprovidessection, but it seems silly.So, add a rule to the indexer such that, if the distribution:
READMEThen automatically index the
READMEas documentation.