-
Notifications
You must be signed in to change notification settings - Fork 514
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
No more in-page table of contents in blog posts #2133
Conversation
Oh how tedious, looks like you can't wildcard Opened an issue in errata-ai/vale-action#123 |
The issue is definitely in the GitHub action. Opened errata-ai/vale-action#125, which might help. |
Ooh nice! You closed it though? |
Move files to vale config Co-authored-by: Aaron Collier <[email protected]>
OK, so that works locally ❯ vale --config=vale/news.ini --glob='docs/conf/**/news/*' *
docs/conf/portland/2024/news/announcing-writing-day-projects.rst
16:4 error Don't use in-page TOC in WTD.contents
newsletter posts
✖ 1 error, 0 warnings and 0 suggestions in 180 files. And the actions is calling And the wtd on no-more-contents [$] via 🐍 v3.12.3 took 27s
❯ vale --config=vale/news.ini --glob='docs/conf/**/news/*' .
stat .venv/bin/python: no such file or directory
wtd on no-more-contents [$] via 🐍 v3.12.3 took 49s
❯ vale --config=vale/news.ini --glob='docs/conf/**/news/*' *
docs/conf/portland/2024/news/announcing-writing-day-projects.rst
16:4 error Don't use in-page TOC in WTD.contents
newsletter posts
✖ 1 error, 0 warnings and 0 suggestions in 180 files. |
Both |
Co-authored-by: Aaron Collier <[email protected]>
Ah, that was it. Removing the quotes, as suggested in errata-ai/vale-action#83 |
Quite the adventure! |
Co-authored-by: Aaron Collier <[email protected]>
Which admittedly, is mostly me protecting me from myself.
These don't work when posts get mailed out, so let's make sure we don't use them.
This adds a new Vale config (and edits the existing two to tell them not use the new rule)
📚 Documentation preview 📚: https://writethedocs-www--2133.org.readthedocs.build/