INSTALL.md and CHANGELOG.md
This page is for designers whose theme has grown beyond a one-step install, or that has been released more than once.
INSTALL.md: when the README is not enough
Write an INSTALL.md when installing takes more than switching the extension on, for example when the theme needs:
- a siteaccess of its own and its settings;
- content classes (from packages it ships) or demo content;
- a database table (
share/db_schema.dba); - other extensions in a particular loading order.
Structure it as numbered steps, each with the command and what the reader should see afterwards. cjw_themes_jumper
and sevenx_themes_media both ship an INSTALL.md; read one before you write yours.
CHANGELOG.md: one entry per release
cjw_themes_jumper keeps its history like this (shortened):
# Changelog
## 0.1.5
- Fixed: The starter design passes the contrast, target size and link name checks (axe, WCAG 2.2 AA). ...
## 0.1.4
- Fixed: The single-location map escapes the address and the title for HTML before it escapes them
for JavaScript ...The rules:
- Newest release first, one heading per version, exactly the number of the tag without
v. - One line per change, starting with a prefix:
Added:,Updated:,Removed:,Renamed:orFixed:(Changelog entries). - Say what changed for the person using the theme, and why: "The login page shows the register link only to a visitor who may register", not "changed login.tpl".
- Credit contributions: "Pull request #1 by <their public handle>".
- Mention what the user must do after upgrading (a cache to clear, a setting to add, an upgrade script to run).
Step by step for a release
- Before you bump the version, add the new heading and the entries to
CHANGELOG.md. - Commit the changelog together with the version fields (Keeping every version field in sync).
- Reuse the entries for the GitHub release notes (Writing release notes).
Related pages
- Keeping a CHANGELOG.md
- Writing the README of a theme
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.