diff --git a/.github/workflows/ci-test.yml b/.github/workflows/ci-test.yml index 10b34b64..4ed36247 100644 --- a/.github/workflows/ci-test.yml +++ b/.github/workflows/ci-test.yml @@ -27,5 +27,4 @@ jobs: hugo version - name: Build - run: | - make build \ No newline at end of file + run: | \ No newline at end of file diff --git a/Makefile b/Makefile index bd16f1d1..8397522a 100644 --- a/Makefile +++ b/Makefile @@ -60,5 +60,4 @@ check-all-links: clean build link-checker-setup bin/htmltest --conf .htmltest.external.yml spellcheck: - npm install cspell - npm run spellcheck + cd scripts/cspell && ./spellcheck.sh diff --git a/cspell.json b/scripts/cspell/cspell.json similarity index 100% rename from cspell.json rename to scripts/cspell/cspell.json diff --git a/package-lock.json b/scripts/cspell/package-lock.json similarity index 99% rename from package-lock.json rename to scripts/cspell/package-lock.json index 5f01e3a3..7c716c77 100644 --- a/package-lock.json +++ b/scripts/cspell/package-lock.json @@ -1,5 +1,5 @@ { - "name": "jaeger-documentation", + "name": "cspell", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/scripts/cspell/package.json similarity index 55% rename from package.json rename to scripts/cspell/package.json index f2cb9d24..67b7aec2 100644 --- a/package.json +++ b/scripts/cspell/package.json @@ -3,6 +3,6 @@ "cspell": "^8.6.0" }, "scripts": { - "spellcheck": "cspell \"content/**\" --quiet" + "spellcheck": "cspell \"../../content/**\" --quiet" } } diff --git a/project-words.txt b/scripts/cspell/project-words.txt similarity index 58% rename from project-words.txt rename to scripts/cspell/project-words.txt index f2f8a665..a3bf754e 100644 --- a/project-words.txt +++ b/scripts/cspell/project-words.txt @@ -1,166 +1,143 @@ -hasparent -EMSGSIZE -Zipkin -OTLP -upsample -uberctx -opentracing -opentelemetry -JAXRS -Dropwizard -Ingester -ingester -keyspace -proto -jaegertracing +afzal +alertmanager +ansari +ansh +ashmita +autoscale +autoscaler +bansal +behaviour +bohara +bootcamp +boths +certfile +changeme +clickhouse +cncf +conrolled +containerd cqlsh -DATACENTER -datacenter cqlshrc -CQLSH -certfile -userkey -usercert -quickstart -zipkin -tchannel -hostnames -behaviour -lookback -openzipkin -ZIPKIN -GOPATH -Istio +daemonset +datacenter +datasource +developercertificate +dilligence +distirbuted +documentiing +downsampling +dropwizard +dsoie +eddsa +emsgsize +equipped expvar +fargate +farro +flink +fluentd +glvs +gobin +gopath +goyal +hasparent healthcheck -navtitle -ratelimiting -ratelimited -Flink -keyn -valuen -thriftrw -Healthcheck -struct -Protobuf -Shkuro -shortcode -Strimzi's -myapp -myversion -operatorhub -tolerations -rolebinding -myappnamespace -daemonset +healthz +healtz +hostnames hostport -Proto -Reindex -reindexing -reindex htpasswd -jdoe -changeme -initialisation -Istio's -NSSM -nssm -trft -Logz -Lookback -Alertmanager -workqueue -Autoscaler -autoscale -Autoscale -myproject -statefulset +ingester ingester's -Keycloak +ingesters ingestor -tracegen -Tracegen -vlog -xvzf -GOBIN +initialisation +istio +istio's +jaegertracing +jaxrs +jdoe jemalloc -KEYREGISTRY -OLAP -Clickhouse -clickhouse -pavolloffay -Farro -Weaveworks -Paixão -Kröhling -Juraci -protobuf -Volz -spanmetrics -metricsquery -Microsim -SPANMETRICS -Spanmetrics -Promethesus -Opentelemetry -Dsoie -Promscale -otlp -healthz +juraci +keycloak +keyn +keyregistry +keyserver +keyspace +kiriti +kröhling logtostderr -Fargate -myservice +logz +lookback +mailgroup +marck +mentee +mentees +mentorships +metricsquery +metricsstore +microsim +mutkure +myapp +myappnamespace mynamespace -healtz +myproject +myservice +myversion +navtitle +nssm +olap +opentelemetry +opentracing +openzipkin +operatorhub +otel +otlp +outreachy +paixão +parentbased +pavolloffay +prakriti +prathamesh +promethesus +prometheusexporter +promscale +proto +protobuf +quickstart +ratelimited +ratelimiting readyz -conrolled rebalance -Ingesters +reddy +reindex +reindexing +rolebinding +shkuro +shortcode +soria +spanmetrics +stackoverflow +statefulset +strimzi's +struct +tchannel +telemtery +thriftrw +tolerations +tracegen +trft +uberctx unmarshaling +upsample +usercert +userkey +valuen variery -Telemtery -OTEL -parentbased -otel -distirbuted -equipped -metricsstore -prometheusexporter -boths -Jaegertracing -EDDSA -CNCF -Stackoverflow -Mentorships -documentiing -Mentees -Bootcamp -dilligence -Mentee -metorship -Ansh -Goyal -Mutkure -Prathamesh -Reddy -Yashwanth -Ansari -Afzal -GLVS -Kiriti -Bohara -Ashmita -Soria -Bansal -Prakriti -Marck -mentee -Outreachy -containerd -Fluentd -keyserver -flink -downsampling -mailgroup -datasource -developercertificate +vlog +volz +weaveworks +workqueue +xvzf +yashwanth +zipkin diff --git a/scripts/cspell/spellcheck.sh b/scripts/cspell/spellcheck.sh new file mode 100755 index 00000000..2bcc7d5b --- /dev/null +++ b/scripts/cspell/spellcheck.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +if ! sort -c project-words.txt; then \ + echo "project-words.txt is not sorted." && exit 1; \ +fi +npm install cspell +npm run spellcheck \ No newline at end of file diff --git a/scripts/requirements.txt b/scripts/requirements.txt deleted file mode 100644 index 14396cb9..00000000 --- a/scripts/requirements.txt +++ /dev/null @@ -1,2 +0,0 @@ -pyspellchecker -markdown-it-py \ No newline at end of file