Conflict between coding standards and module documentation guidelines on file naming

Created on 11 November 2018, over 6 years ago
Updated 29 September 2023, over 1 year ago

According to the Drupal coding standards :

All documentation files should have the file name extension ".txt" to make viewing them on Windows systems easier. Also, the file names for such files should be all-caps (e.g. README.txt instead of readme.txt) while the extension itself is all-lowercase (i.e. txt instead of TXT).

Examples: README.txt, INSTALL.txt, TODO.txt, CHANGELOG.txt etc.

The Module documentation guidelines , however, say:

All contributed modules should provide a README.txt or README.md file in the package. This plain-text file should contain a basic overview of what the module does and how someone may use it.

Please modify the Drupal coding standards to bring them in line with the rest of the Drupal ecosystem, and reflect the encouragement of the use of markdown documentation files for Drupal projects.

Suggested new text for the coding standards:

Documentation files should either be in plain text with the file name extension ".txt", or be valid Markdown syntax with the file name extension ".md".

The base file names should be all-caps ("README" not "readme") but the extension itself should be all-lowercase (".txt" or ".md" not ".TXT" or ".MD").

Examples: README.md, README.txt, INSTALL.md, TODO.txt, CHANGELOG.txt, etc.

🐛 Bug report
Status

RTBC

Component

Coding Standards

Created by

🇺🇸United States bkline Virginia

Live updates comments and jobs are added and updated live.
  • Documentation

    Primarily changes documentation, not code. For Drupal core issues, select the Documentation component instead of using this tag. In general, component selection is preferred over tag selection.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024