Skip to content
This repository was archived by the owner on Apr 30, 2025. It is now read-only.

Conversation

@a18e
Copy link
Contributor

@a18e a18e commented Oct 22, 2024

Summary

In #423, the sync-readme task removed a lot of relevant information from the old README that was never moved to the new docs structure.

This PR restores most of the content and puts it into the new structure under docs/.

Some caveats:

  • I have tried to move over everything apart from a couple of sections that I know are outdated.
  • I am happy to change the structure that I have introduced, looking for feedback.
  • I cannot guarantee that all restored sections are still valid/up-to-date.
  • I currently don't know if I need to manually adjust the root README.md (especially the TOC there). It does say that the file is autogenerated, but I can't find any more information on the sync-readme task other than the linked metadata.yml file.
  • I have also removed the Table of Contents (previously autgenerated by vim-markdown-toc GFM) since it's not consistently used across the various docs in the org (and I believe it to be redundant to IDE or github.com TOC features). I can restore it or remove it from 02-nats-configuration.md as well, just need to know which is preferred.

Backward Compatibility

Breaking Change? No

The recently introduced sync-readme task removed a lot of relevant information from the README: cloudfoundry#423
This commit restores most of the content and puts it into the new structure under docs/
Previous README: https://github.com/cloudfoundry/gorouter/blob/ddb5a02d761fc62457740e67a8abeef3eca9bef0/README.md
@a18e a18e marked this pull request as ready for review October 22, 2024 12:17
@a18e a18e requested a review from a team as a code owner October 22, 2024 12:17
@MarcPaquette
Copy link
Member

@winkingturtle-vmw
I haven't had a chance to go over the sync-readme workflow yet. Does this look alright to you?

Please report all issues and feature requests in [cloudfoundry/routing-release](https://github.com/cloudfoundry/routing-release).

# Development Guide
## Contributing
Copy link
Contributor

Choose a reason for hiding this comment

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

@a18e This information along with how to run tests or build binaries is all in the main README.me under Contributing. I would stay away from repeating this information in the development-guide file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, you're right. Removed the Contributing section.
But the content of the Setup section is actually quite different from CONTRIBUTING.md since it's gorouter specific.

@@ -0,0 +1,388 @@
# Features
Copy link
Contributor

Choose a reason for hiding this comment

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

Even md file needs a metadata block like the other ones in order to show up in the main README.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, added them, please re-review.
It would also be nice to have this documented somewhere (and this documentation ideally linked in the README note, rather than just referring to "a convention").

@winkingturtle-vmw
Copy link
Contributor

@a18e We can add Features and Observability MD files, but I think the changes proposed for development-guide is repeated somewhere else.

Add front matter to new pages
Remove Contribution chapter from development guide
Use github admonitions
Formatting
Add reference to RFC-0027 (per-route-options)
@a18e
Copy link
Contributor Author

a18e commented Oct 24, 2024

@winkingturtle-vmw Thanks for the review already. I also have some more general questions regarding the sync-readme task:

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

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants