Closed JWCook closed 10 months ago
@melissawm These changes are ready for review now.
I moved all tests for this PR to #59 to try to make this a bit easier to review.
@melissawm - Is there a chance for this to be reviewed / merged soon? I'm interested in using sphinx-tags
and wanted to be able to use tags with spaces. I fixed that and another small problem in my fork (speth/sphinx-tags) but didn't want to clobber this work that includes several other improvements.
I am sooooo sorry it's taken me this long - real job caught up with me 😅 I will review now.
Closes #39; closes #56; closes #58
Changes
unicodedata.east_asian_width()
(width category per character) orsphinx.util.rst.textwidth()
(total width per string).config.exclude_patterns
Example
A tag named
{{🧪test tag; please ignore}}
will result in:test-tag-please-ignore.md
/.rst
test-tag-please-ignore.html