-
Notifications
You must be signed in to change notification settings - Fork 711
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR configures the spell-check added to the docs workflow in the github-actions repo: FuelLabs/github-actions#23 The files checked are configured in `.spellcheck.yml`. This is also where you can configure what types of elements are ignored. Right now it ignores: - All code blocks that have a language (and will check code blocks that do not have a language) - Anything in between backticks - Words in `spell-check-custom-words.txt` (case sensitive, only exact match) - Numbers, even if they are attached to a word - Links in markdown link format #### Handling errors: If the test fails: - look up the word in the question to verify it is a real word and is correctly spelled - If it is a file name or is code, use backticks to ignore the word. - If it is a real word that is spelled correctly, or an acronym that is either common or is defined already, add it to `spell-check-custom-words.txt`. - If needed, rewrite the sentence. Ex: DON'T use "`lock`ing" and add "ing" to the custom words list. Instead, rewrite the sentence as "locking with the `lock` method". - If it otherwise should be ignored, you can configure the pipeline in `.spellcheck.yml`.
- Loading branch information
1 parent
d7e18fc
commit a44cacd
Showing
16 changed files
with
637 additions
and
338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
matrix: | ||
- name: SPCheck | ||
aspell: | ||
lang: en | ||
dictionary: | ||
encoding: utf-8 | ||
wordlists: | ||
- spell-check-custom-words.txt | ||
pipeline: | ||
- pyspelling.filters.context: | ||
context_visible_first: true | ||
escapes: \\[\\`~] | ||
delimiters: | ||
# Ignore all code blocks | ||
- open: '(?s)^(?P<open> *`{3,}\s*(\w+\s*,?\s*)+.*?)$' | ||
close: '^( *`{3,})$' | ||
- pyspelling.filters.markdown: | ||
markdown_extensions: | ||
- pymdownx.superfences: | ||
- pyspelling.filters.html: | ||
comments: false | ||
ignores: | ||
- code | ||
- pre | ||
sources: | ||
- 'src/*.md' | ||
- 'src/**/*.md' | ||
default_encoding: utf-8 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,270 @@ | ||
ABI | ||
ABIs | ||
ASM | ||
IDE | ||
IDEs | ||
LSP | ||
namespace | ||
ALU | ||
APIs | ||
JSON | ||
BrowserStack | ||
CLI | ||
Deserialization | ||
deserializing | ||
DApp | ||
subcurrency | ||
Subcurrency | ||
intrinsics | ||
Intrinsics | ||
workspace | ||
workspaces | ||
Workspaces | ||
neovim | ||
EVM | ||
EVM's | ||
EOA | ||
ERC | ||
Ethereum | ||
Ethereum's | ||
FVM | ||
FuelVM | ||
Fuelup | ||
Github | ||
GraphQL | ||
Infura | ||
JSON | ||
LSP | ||
Merkle | ||
PoA | ||
PoS | ||
PoW | ||
RPC | ||
SDK | ||
SDK's | ||
SDKs | ||
SauceLabs | ||
Sepolia | ||
Structs | ||
Sway | ||
TAI | ||
TODO | ||
TypeScript | ||
UTF | ||
UTXO | ||
UTXOs | ||
Utils | ||
VM | ||
VSCode | ||
abigen | ||
args | ||
async | ||
backend | ||
backtraces | ||
blockchain | ||
blockchain's | ||
bytecode | ||
codespace | ||
codespaces | ||
config | ||
cryptographic | ||
customizable | ||
customizations | ||
dapp | ||
dev | ||
dropdown | ||
enum | ||
enums | ||
env | ||
forc | ||
frontend | ||
fuelup | ||
fullstack | ||
graphQL | ||
graphql | ||
http | ||
https | ||
js | ||
localhost | ||
mainnet | ||
mempool | ||
merkle | ||
monorepo | ||
monorepos | ||
natively | ||
npm | ||
nvm | ||
onboarding | ||
params | ||
pnpm | ||
prerelease | ||
queryable | ||
quickstart | ||
relayer | ||
relayers | ||
repo | ||
repos | ||
runnable | ||
stateful | ||
struct | ||
structs | ||
struct's | ||
testnet | ||
testnets | ||
toolchain | ||
toolchains | ||
urql | ||
validator | ||
validators | ||
superABI | ||
superABIs | ||
SuperABIs | ||
supertraits | ||
compositional | ||
typeclass | ||
turbofish | ||
DSL | ||
TOML | ||
IPFS | ||
Bitwise | ||
Bitwise | ||
runtime | ||
runtimes | ||
formatter | ||
deployable | ||
Utils | ||
ETH | ||
initializer | ||
initializers | ||
destructuring | ||
instantiation | ||
VMs | ||
superset | ||
CEI | ||
pre | ||
entrancy | ||
interoperable | ||
blockchains | ||
keccak | ||
SHA | ||
UI | ||
backtrace | ||
Collateralized | ||
collateralized | ||
submodule | ||
DEX | ||
TypeChain | ||
inlines | ||
inlining | ||
MiB | ||
FuelVM's | ||
deterministically | ||
CLI | ||
VS | ||
GraphViz | ||
DOT | ||
DCA | ||
AST | ||
GitHub | ||
decrypt | ||
subcommand | ||
subcommands | ||
Subcommands | ||
supertrait | ||
supertraits | ||
Supertraits | ||
incrementor | ||
monomorphization | ||
Booleans | ||
boolean | ||
Orchestrator | ||
orchestrator | ||
growable | ||
arity | ||
tuple's | ||
unary | ||
SRC | ||
DEX | ||
FuelLabs | ||
PRs | ||
codebase | ||
PostgreSQL | ||
Postgres | ||
MacOS | ||
macOS | ||
backends | ||
hoc | ||
semver | ||
SQLx | ||
Homebrew | ||
Changelog | ||
lookups | ||
namespaces | ||
YAML | ||
WASM | ||
WebAssembly | ||
dApp | ||
dApps | ||
JWT | ||
Schemas | ||
schemas | ||
AssemblyScript | ||
indexable | ||
Macbook | ||
Dockerized | ||
TLDR | ||
IaaS | ||
Updatable | ||
coinbase | ||
Coinbase | ||
postcondition | ||
Postcondition | ||
Cryptocurrency | ||
cryptocurrency | ||
ECDSA | ||
EcDSA | ||
secp | ||
Secp | ||
Bitfield | ||
SMT | ||
SMTs | ||
subtrees | ||
subtree | ||
prepended | ||
unhashed | ||
preimage | ||
FIPS | ||
EdDSA | ||
curve25519 | ||
blazingly | ||
pseudocode | ||
Pseudocode | ||
endian | ||
KiB | ||
SUT | ||
Celestia | ||
encodings | ||
callee | ||
inlined | ||
parsable | ||
underflows | ||
bitmask | ||
XORs | ||
XOR | ||
ORs | ||
ANDs | ||
rhs | ||
lhs | ||
scalable | ||
Scalable | ||
Exponentiate | ||
exponentiate | ||
Executablity | ||
executablity | ||
Unwritable | ||
unwritable | ||
untrusted | ||
intra | ||
OOB | ||
unspendable | ||
priori |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.