Skip to content

docs: fix broken TOC anchor, C# comment syntax, and grammar typo in README#14

Merged
Natvs merged 1 commit into
Natvs:masterfrom
biboete:fix/readme-typos
Jun 20, 2026
Merged

docs: fix broken TOC anchor, C# comment syntax, and grammar typo in README#14
Natvs merged 1 commit into
Natvs:masterfrom
biboete:fix/readme-typos

Conversation

@biboete

@biboete biboete commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Fixes #5.

This addresses the three documentation issues reported in the README:

  1. Broken TOC anchor — the table-of-contents link "Customising the automate" pointed to #customising-the-automate, but the section heading is "Customising the automaton" (anchor #customising-the-automaton), so the link didn't resolve. Updated the link text and anchor to match the heading.
  2. C# comment syntax — the example block under "Add states and transitions" used # comments (Python/shell style) inside a ```csharp fence. Changed them to //.
  3. Grammar — "components of largely customisable" → "components are largely customisable".

Scope is kept to exactly the three reported items.

Minor heads-up (not changed here to keep the diff focused): the same example has new Transition(tokenB, stateB))) with an extra closing paren — happy to fix that in a follow-up if you'd like.

…EADME

Resolves the three issues reported in Natvs#5:
- TOC link "Customising the automate" pointed to a dead anchor; the heading
  is "Customising the automaton". Updated link text and anchor to match.
- The C# example block under "Add states and transitions" used `#` for
  comments (Python/shell syntax); changed to `//` for C#.
- Fixed grammar: "components of largely customisable" -> "components are
  largely customisable".
@Natvs Natvs merged commit 4d0b3f4 into Natvs:master Jun 20, 2026
@Natvs

Natvs commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Hello Biboete. Sorry for seeing this PR so late and thanks for contributing. I'll consider a new issue for the problem you mentionned.

@Natvs

Natvs commented Jun 20, 2026

Copy link
Copy Markdown
Owner

I have just reported your issue along with some other corrections in documentation in #17 . Feel free to contribute to this one too ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some typos in documentation

2 participants