envoy icon indicating copy to clipboard operation
envoy copied to clipboard

Fix proper noun capitalization in documentation

Open htuch opened this issue 4 years ago • 19 comments

For documentation (including API):

  • Proper nouns should be correctly capitalized, e.g. Envoy instead of envoy.
  • Acronyms are always capitalized, e.g. HTTP instead of http, CEL instead of cel. No camel case in docs.

CC @phlax

htuch avatar Mar 07 '22 16:03 htuch

Should mark as "first good issue" since it can be taken by new committers.

daixiang0 avatar Mar 08 '22 01:03 daixiang0

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

ghost avatar Mar 08 '22 22:03 ghost

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

phlax avatar Mar 08 '22 22:03 phlax

Appreciate it a lot! I'll more than likely have a couple noob questions lol

ghost avatar Mar 08 '22 22:03 ghost

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.

github-actions[bot] avatar Apr 08 '22 00:04 github-actions[bot]

@htuch, i am looking forward to contribute on this project. Can you plz drop some insights for me?

jalajk24 avatar Sep 08 '22 07:09 jalajk24

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 avatar Sep 08 '22 07:09 phlax

@phlax thanks

jalajk24 avatar Sep 09 '22 11:09 jalajk24

@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

jalajk24 avatar Oct 17 '22 16:10 jalajk24

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 avatar Oct 17 '22 16:10 phlax

@phlax one last question would i have to build the entire envoy on my system or i can edit it on my forked repository??

jalajk24 avatar Oct 17 '22 17:10 jalajk24

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

phlax avatar Oct 17 '22 17:10 phlax

hey can i still contribute to this issue ?

aryanV1999 avatar Jan 01 '24 19:01 aryanV1999

hey can i still contribute to this issue ?

@aryanV1999 , for sure - its an ongoing mission - any cleanup prs would be gratefully received

phlax avatar Jan 02 '24 09:01 phlax

Hi, this seems like an ongoing issue, I would like to contribute to it aswell

kkukadia avatar Mar 24 '26 20:03 kkukadia

great - would be happy to review any prs

phlax avatar Mar 24 '26 20:03 phlax

Hi, I went ahead and picked this up.

oksusucha avatar Jun 17 '26 04:06 oksusucha

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?

lizining1231 avatar Jul 10 '26 09:07 lizining1231

@phlax Hi, I noticed that documentation changes may not require prior communication, so I submitted this PR. #46098

lizining1231 avatar Jul 13 '26 11:07 lizining1231