Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Strip commas from cSpell:ingore word lists #3502

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: Learn how to instrument Apache Http Server with OpenTelemetry
linkTitle: Instrument Apache Http Server
date: 2022-05-27
author: '[Debajit Das](https://github.com/DebajitDas) (Cisco)'
# prettier-ignore
cSpell:ignore: Centos centos7 Debajit debuggability libmod uncompress webserver
author: '[Debajit Das](https://github.com/DebajitDas) (Cisco)'
---

If you are using Apache HTTP Server and in dire need of some observability tool
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/instrumentation/python/distro.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
cSpell:ignore: configurator distro distros loglevel
title: OpenTelemetry Distro
linkTitle: Distro
weight: 110
cSpell:ignore: configurator distro distros loglevel
---

In order to make using OpenTelemetry and auto-instrumentation as quick as
Expand Down
4 changes: 2 additions & 2 deletions scripts/normalize-cspell-front-matter.pl
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
my %dictionary = getSiteWideDictWords('.vscode/cspell.json', '.textlintrc.yml');

while (<>) {
if (/^\s*(spelling: |-\s*)?cSpell:ignore:?(.*)$/
if (/^\s*(spelling: |-\s*)?cSpell:ignore:?\s*(.*)$/
|| (/^(\s+)(\S.*)$/ && @words)
) {
push @words, split ' ', $2;
push @words, split /[,\s]+/, $2;
next;
}

Expand Down