Skip to content

Consistent styling across README - #2541

Merged
an-tao merged 1 commit into
drogonframework:masterfrom
mikomikotaishi:master
Jul 23, 2026
Merged

Consistent styling across README#2541
an-tao merged 1 commit into
drogonframework:masterfrom
mikomikotaishi:master

Conversation

@mikomikotaishi

@mikomikotaishi mikomikotaishi commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

This PR makes styling in the README files more consistent:

  • Add missing whitespace, such as between function parameters, between assignment operators, and between comment lines
  • Remove the drogon:: prefix (when it is already imported by using namespace drogon;)
  • Capitalise HTTP, HTTPS, JSON, HTML, WebSocket
  • Label classes in monospace (such as HttpController, HttpSimpleController, etc.)
  • Clearly indicate HttpResponse::newHttpJsonResponse() as returning HttpResponsePtr
  • Use concise namespace declarations (namespace api { namespace v1 { /* ... */ } } -> namespace api::v1 { /* ... */ }), as the library is minimum C++17

@an-tao
an-tao merged commit 74fc004 into drogonframework:master Jul 23, 2026
33 of 34 checks passed
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