Skip to content

Fix README formatting to pretty preview it on GitHub#119

Open
Dinika wants to merge 9 commits intobeaulebens:trunkfrom
Dinika:trunk
Open

Fix README formatting to pretty preview it on GitHub#119
Dinika wants to merge 9 commits intobeaulebens:trunkfrom
Dinika:trunk

Conversation

@Dinika
Copy link

@Dinika Dinika commented Jan 22, 2025

This super short PR is only meant to help improve developer experience.
Currently the README is shown as plain-text on the github home page which is a bit difficult to read (imho).

Judging by the text in README, I guess that it is written in rst format (please correct me if I am wrong).

Motivation
Having a pretty preview will help develolpers quickly glean over the document and find the stuff that they want.

So, I have made the following changes that help show the pretty preview of README in tools like Github:

  • Change README extension to rst
  • Make the contents of README compliant with the rst format so that it can be correctly parsed

The text content of README is not changed and here is a screenshot of how this previews on GitHub:
Screenshot from 2025-01-22 17-56-42

Some context
I have just discovered and used the keyring plugin for the first time as a trialmattician at automattic. I quite liked the abstraction that the plugin provides and in the course of finding documentation, I found this repository.

This super short PR is only meant to help improve developer experience.
The README is shown as plain-text currently on the github home page which is a bit difficult to read (imho).

This PR changes the Readme to `rst` format which github can preview.

Having a pretty preview will help develolpers quickly glean over the document and find the stuff that they want.
Change readme format so it is pretty-previewed on github
Make readme rst format compliant for pretty preview on github
Format changelog in README to be rst compliant
Copy link
Collaborator

@pablinos pablinos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this. I agree that having the Readme render in GitHub is a useful quality of life fix. This readme.txt file is required for the wordpress.org plugin directory.

We could have both perhaps? Or add something that generates one from the other, which could be used as part of the deployment process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants