Skip to content

Conversation

@thompson-tomo
Copy link
Contributor

@thompson-tomo thompson-tomo commented Dec 6, 2025

This improves the readme to give increased focus on toc config options vs use cases.

This also defines a npm command which updates the project readme.

Closes #149
Closes #154

@thompson-tomo thompson-tomo changed the title Give focus to toc config options docs: Give focus to toc config options Dec 6, 2025
AndrewSouthpaw pushed a commit that referenced this pull request Dec 8, 2025
Closes #291

This improves the robustness of the skip tag so that it is ensured that only the intended files are being skipped.

This ensures that the project readme toc is kept upto date.

This issue was introduced with #143 and observed when working on #293
@thompson-tomo thompson-tomo marked this pull request as ready for review December 8, 2025 00:48
@thompson-tomo
Copy link
Contributor Author

@PeterDaveHello / @AndrewSouthpaw i have made an attempt to make the readme flow a bit better by introducing the configuring toc options section.

Copy link
Collaborator

@AndrewSouthpaw AndrewSouthpaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!


npm install -g doctoc

## Configuring Table of content
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit "Table of Contents" or "table of contents"

- no limit is placed on Markdown-formatted headings,
- whereas headings from embedded HTML are limited to 4 levels.

### Include all Headings
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit weird capitalization, "headings"

@AndrewSouthpaw AndrewSouthpaw merged commit e2f423d into thlorenz:master Dec 10, 2025
5 checks passed
@AndrewSouthpaw
Copy link
Collaborator

Ah derp I meant for you to make those minor changes before I merged, and then immediately forgot. 🤦🏼 Mind opening a separate PR? 🙏🏼

@thompson-tomo
Copy link
Contributor Author

Done via #299

@thompson-tomo thompson-tomo deleted the chore/ReadmeDocs branch December 10, 2025 16:31
@thompson-tomo thompson-tomo mentioned this pull request Dec 10, 2025
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.

[Feature request, help wanted] Filter out docs that already have ToCs

2 participants