Fix proper noun capitalization in documentation
For documentation (including API):
- Proper nouns should be correctly capitalized, e.g.
Envoyinstead ofenvoy. - Acronyms are always capitalized, e.g.
HTTPinstead ofhttp,CELinstead ofcel. No camel case in docs.
CC @phlax
Should mark as "first good issue" since it can be taken by new committers.
Hi, can this issue be assigned to me? Looking to do my first PR and have been going through the docs already working on some grammar/ spelling errors
can this issue be assigned to me?
done.
this is kinda a 2 part bug - one part is just cleaning up the existing problems
the second part - which im not sure yet exactly how we should implement, is figuring out how to prevent it happening in the future
im happy to help if you need any pointers - ping me here or on slack
Appreciate it a lot! I'll more than likely have a couple noob questions lol
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
@htuch, i am looking forward to contribute on this project. Can you plz drop some insights for me?
hi @jalajk24 contributions would be very welcome
there is not an easy way to find incorrectly capitalized words - but the docs are either in docs/root or (embedded in comments) in api/
grepping to find incorrectly capitalized Envoy (ie envoy) im only seeing a couple, and none for CEL - but my greps are not very accurate so im probably missing some - either way, i think these have mostly been cleaned up
wrt to HTTP <> http - its another one that is hard to grep for as there are so many legitimate uses of the lower case version
possibly at this point just reading through the latest docs (https://www.envoyproxy.io/docs/envoy/latest/) and looking for any words that are incorrectly capitalized is the best way forward
@phlax thanks
@phalx since i am a beginner could you plz guid me weather i have to go through the whole documentation from starting or form a particular section it would be really helpful for me since i am bit confused
i have to go through the whole documentation from starting or form a particular section it would be really helpful for me since i am bit confused
i think it is a case of going through by hand - mostly at least - where you start from is somewhat arbitrary - either at the beginning of the docs or perhaps the most popular pages
the docs are largely divided into 2 parts - the rst part in docs/root and the rst that is embedded in comments in the api/ .proto files - the most popular pages tend to be the pages in the api for Listeners, Clusters and HTTP route components
how i would probably do it is go through a couple of pages by hand and look for patterns and then consider grepping to find similar ocurrences
if you want to open a pr for a single page with just a few changes i would be happy to give feedback - its not entirely clear what needs fixing and how - altho looking through the docs its also ~easy to spot capitalization cleanups
@phlax one last question would i have to build the entire envoy on my system or i can edit it on my forked repository??
well - you certainly dont need to build all of Envoy - you might want to build the docs locally so you can see your changes (this does require building the docs from the api which can take some time)
the common way to do it is using the build container
$ ./ci/run_envoy_docker.sh './ci/do_ci.sh docs'
this way uses a fairly large docker container so you need to have both docker access and some space etc
if you have a bazel env set up (more complicated) you can just do
$ ./docs/build.sh
hey can i still contribute to this issue ?
hey can i still contribute to this issue ?
@aryanV1999 , for sure - its an ongoing mission - any cleanup prs would be gratefully received
Hi, this seems like an ongoing issue, I would like to contribute to it aswell
great - would be happy to review any prs
Hi, I went ahead and picked this up.
Hi, I'm interested in this issue. I noticed that some files under docs/root/intro/arch_overview/ and docs/root/configuration/ do have capitalization inconsistencies like envoy -> Envoy, http -> HTTP, and json/Json -> JSON. Would it be okay if I open a PR for this?
@phlax Hi, I noticed that documentation changes may not require prior communication, so I submitted this PR. #46098