Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upenhancement (docs): Improvements to retext-spell #25290
Comments
|
cc @muescha |
|
Hi @tesseralis could you please assign this to me? I have been looking to do some open source contributions. And I am somewhat confused on this issue, would you be able to provide more context for this? |
|
@robintom since this issue is like an "umbrella" issue: the best is if you take only one small change at a time (for example put one package in code fences). this is more easy to approve a pull request. anounce here which change you will do, so others can take an other one. |
|
@muescha Hey I will be working on this issue. In particular this part:
Should I open a PR for this particular part and then reference this issue? See my PR below. Is that alright? (It is my first time contributing so let me know :)) |
|
@FocalChord great! - i updated the issue text |
|
@muescha So for each other sub-issue do I make a seperate branch and then seperate PR? Also when does the PR get merged in? |
|
Hint: searching for text which is not already in code fences in files with RegEx (and File Mask [^`]some-thing[^`]
[^`]\.htaccess[^`] // with dotsBTW: in WebStorm it shows you a section "Usage in comments" if the text is already in code blocks :) |
|
yes - new branch and new PR it takes some time to get merged, just be patient. the Gatsby team has to approve each PR and with smaller steps this is more easy to check :) |
|
@muescha Awesome! Thanks for this :) I'll work on the 2nd, 3rd, 4th bulletpoints soon. |
|
Hello @muescha and @FocalChord, I'm new here and I'd like to help. Since the list is being tackled one bullet point at a time, I was thinking I could start on bullet point no. 5.
If I understand the task correctly, there are two parts to this:
Do I have the right idea? But before then, is this even a ticket that's looking for help, or should I wait for the next one? |
|
@meyian Yup! We'd want to add better alt text to the images in the tutorial. |
|
i would suggest (for expample for type 1) a PR should only remove one line per dictionary (or like in #25339 similar ones) so PR are small scoped and approved fast. |
|
somehow it not catches all places? i run the lint for #25355 but in not catches for the NPM in: update: this is because the heading is marked as
but this get catched: |
|
Hello! I wouldn't mind helping out too! I'd like to tackle 6 but I'm a bit confused about which imported components are being referred to, is it all imported components or only ones involving remark-mdx? |
|
if I understand this correctly, for point 7 we need to edit the dictionary.txt and spilt the text characters from the numbers. Similarly for point 8, we need to split the words with dashes to separate individual words. |
but:
(edit: because Markdown parser hier in the comment changed the numbers from 6 to 8 if it is one line behind the seven) |
|
okay, I'll start working on these. |
|
an other bug: the spell checker not reach the table content - for example i forbid gatsby/docs/docs/headless-cms.md Line 45 in 5ad9582 |
|
ok - it seems that a table cell is never checked because of: var ignore = ['table', 'tableRow', 'tableCell']i will investigate how it can be done .... |
|
suggested solution:
i get it done, will file a PR in next days... |
|
@muescha I have done a few more issues above :) |
|
@FocalChord thanks a lot :) |
|
Hello, I had two questions: @muescha I realize you renamed my pull request. Is getting the right format for pull requests something I can learn? Then, I pushed some changes to
Would the fix for this be as simple as adding the word "uncentered" to |
PR Titlethere are some recommendations for PR titles: https://www.gatsbyjs.org/contributing/managing-pull-requests/#commit-and-pr-title i unified a little bit the titles of related PRs of this issue to make it more easy to identify them for the review team. Uncenteredyes i see it is a new unknown word which you added to the PR, if you are sure that is not a spelling error (like in this case) and not a file name/function name/variable name/package name (put them in code fences) then you can add it to the |
|
I added |
|
@marcysutton there are much more entries to clean up in the dictionary.txt, i only placed "current activities to the umbrella issue, because there are 2194 lines in dictionary to check... |
|
Hi, I am a beginner and want to contribute here. I am confused. Can someone guide me? |
|
@Hina-softwareEngineer you are welcome Overviewyou can start with the docs about contributing and the section Repo Setup contribution to this issue
@gatsbyjs/learning did i forget an instruction? |
|
I just created a PR which removed several words at once, because the first word "allfile-query" appeared in two docs files. In cleaning up the alt text of these files, they had three other wrong @tesseralis: I wanted to edit the Current Activities section in the main comment above and add the new words I was working on, but I wasn't sure if having a PR opened means I check the box next to my entry, or that's only for if the work has been merged in. How does it work? (Edit: Also, in my PR, I used the "official" camelCase spelling of the word |
|
very good! yes you can edit it :)
(i just followed the other "Umbrella" Issues (like |
|
|
i would suggest to reword the descriptions so that code fences are not needed |
|
@muescha Okay, no problem. I reworded the alt texts to remove the code fences and the references to "allFile". |
|
With PR #26304, all the incorrect alt texts in |
Overview
This issue is an overview of improvements to standardizing the spelling and formatting of words in our docs. Fixing these involves going to
dictionary.txtand removing unneeded entries..htaccessin code blocksinferInputObjectStrctureFromNodesin code blocksgatsby-source-filesystem) in code blocksGraphQLinstead ofGraphqlorgraphQL))remark-mdxand remove imported components from the dictionaryNote:
dictionary.txtthen both words are validdictionary.txtthan the lowercased is forbiddenUpstream Changes
The following involve changes to retext itself and requires raising issues to that library:
Current Activities
dictionary.txtclean up:.babelrc(@FocalChord in #25585) (1: file names).envand more file extensions (@tesseralis in #25665).htaccess(@FocalChord in #25321) (1: file names).yml(@FocalChord in #25584) (1: file names)allfile-query(@meyian in #26022) (5: image alt text)ASKGatsbyJS(@muescha in #26297) (4: brand names)Codepen->CodePen(@muescha in #25875) (4: brand names)Codepen->CodePen(@muescha in #25875) (4: brand names)excited-gif(@meyian in #26304) (5: image alt text)filesystem-query(@meyian in #26022) (5: image alt text)Graphiql&GraphiQl(@tesseralis in #25664) (4: brand names)graphql(@FocalChord in #25586|@muescha in #25626) (4: brand names)graphiql-filesystem(@meyian in #26022) (5: image alt text)infer* (@FocalChord in #25339) (2: code)markdown-autocomplete(@meyian in #25841) (5: image alt text)npm+*NPMenforce npm in small letters (@muescha in #25355) (4: brand names)pojectfix word (@muescha in #25844)*Webpack+*Webpacksenforce webpack in small letters (@muescha in #25681) (4: brand names)with-layout2(@meyian in #25358) (5: image alt text)with-navigation2(@meyian in #25519) (5: image alt text)