This commit introduces a script that automatically generates changelog entries by analyzing git commit history and summarizing changes using OpenAI.
The script fetches changes from the `dev` branch since the last gh-pages publish, summarizes the changes using OpenAI, and formats them into a changelog entry. It then prepends the new entry to the existing changelog file.
The script uses git commands to get the commit history and OpenAI to summarize the changes. It also includes logic to sort the changes by chapter order and to categorize them as major or minor updates.
This enables a more automated and insightful changelog generation process.