errose28 opened a new pull request, #118:
URL: https://github.com/apache/ozone-site/pull/118

   ## What changes were proposed in this pull request?
   
   Right now docs frequently have to add inline spelling ignores to code 
blocks, especially for command line flags like `-Doption`. The [CSpell 
docs](https://cspell.org/configuration/patterns/) provide an example pattern to 
match multi-line markdown code blocks and only apply it to markdown files. We 
can add this and a similar pattern to ignore inline code blocks and remove all 
current inline cspell directives from the docs, since they were only needed for 
code blocks.
   
   ## What is the link to the Apache Jira?
   
   HDDS-11970
   
   ## How was this patch tested?
   
   - [This 
run](https://github.com/errose28/ozone-site/actions/runs/12422398675) shows 
[notaword](https://github.com/errose28/ozone-site/commit/374b54098f5c09b52be9a29937bf32c4fd32121e)
 correctly being flagged by cspell.
   - [This 
run](https://github.com/errose28/ozone-site/actions/runs/12422422447) shows 
"notaword" being ignored in [various types of code 
blocks](https://github.com/errose28/ozone-site/commit/9df608041d5806709edaf151d3bd298a50413f8e)
   - [This 
run](https://github.com/errose28/ozone-site/actions/runs/12422627446) shows 
"notaword" also being ignored in code for [mdx 
files](https://github.com/errose28/ozone-site/commit/f347132da497d15368d8bbf5cc4bf1db3030d9b3).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to