Skip to content

docs(readme): use h3 headers for options #471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 21, 2025
Merged

Conversation

Ben-at-Catalyst
Copy link
Contributor

@Ben-at-Catalyst Ben-at-Catalyst commented Jul 8, 2025

I wasn't able to find the routeParams option on the README, I had been searching for "dynamic", "route segment", etc. I opened an issue and was informed of the routeParams option.

This PR should help future users search for that option as I did.

@jean-michelet Also suggested that I change the options to use h4 headings instead of plain list entries, so that they can be linked, so I've done that here as well.

Closes #465

Checklist

Also changed wording of routeParams documentation
to indicate dynamic behavior.
Copy link
Member

@jean-michelet jean-michelet left a comment

Choose a reason for hiding this comment

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

I confirm I suggested we use h4 (or another header) so options can be linked.
I suggest to wait for @Fdawgs feedback before continuing on this PR.

@jean-michelet jean-michelet requested a review from Fdawgs July 9, 2025 10:34
Copy link
Member

@Fdawgs Fdawgs left a comment

Choose a reason for hiding this comment

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

Good idea, I'd go with h3 though to align with the main Fastify repo's style.

@Ben-at-Catalyst
Copy link
Contributor Author

@jean-michelet and @Fdawgs, I have made the requested changes. Descriptions are now on new-lines and I have used h3 instead of h4.

Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

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

lgtm

@jean-michelet jean-michelet requested a review from Fdawgs July 17, 2025 06:54
@jean-michelet
Copy link
Member

Can you plz merge if you agree @Fdawgs?

Copy link
Member

@Fdawgs Fdawgs left a comment

Choose a reason for hiding this comment

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

Thanks @Ben-at-Catalyst, one last thing, could you sort the indentation please? The indentation of the text and js blocks following these new headers is no longer needed.

Was obviously needed when they were bullet points.

@Ben-at-Catalyst
Copy link
Contributor Author

Done. @Fdawgs

I didn't realize they were just there to make the list blocks work properly :)

Copy link
Member

@gurgunday gurgunday left a comment

Choose a reason for hiding this comment

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

lgtm

@gurgunday gurgunday requested a review from Fdawgs July 19, 2025 13:43
@Fdawgs Fdawgs changed the title Changed README configuration documentation to use h4. docs(readme): use h3 headers for options Jul 21, 2025
@Fdawgs Fdawgs merged commit 37a4e2c into fastify:main Jul 21, 2025
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.

Add support for dynamic route segments
4 participants