Creating a Changelog for Your Documentation Website

Follow these steps to generate an automated changelog page for your project:

1. Set Up GitHub Authentication

  1. Create a .env file in your project root directory
  2. Add these required GitHub credentials:
GITHUB_TOKEN=ghp_yourgithubtoken123
GITHUB_OWNER=your-username
GITHUB_REPO=your-repo-name

Learn more about .env files here.

  1. Generate GitHub Personal Access Token Go to your GitHub profile settings

Navigate to: Settings → Developer Settings → Personal Access Tokens

Click "Generate new token"

Select the repo scope for repository access

  1. Generate the Changelog Run this command in your terminal:
readme --changelog --md

This will generate a changelog.md file from the template located at: templates/default/changelog.md

Learn More about ReadME CLI documentation here.

Or Get CLI help directly in your terminal:

readme help

The changelog will automatically include all your project's updates and changes.