Skip to content

Enable multiline tags - #102

Merged
melissawm merged 6 commits into
mainfrom
multiline
Jul 8, 2024
Merged

melissawm merged 6 commits into
mainfrom
multiline

Conversation

@melissawm

Copy link
Copy Markdown
Owner

Hi folks, this is a ridiculously ugly temporary solution for the parsing of multiline tags while we work on #101 and #92 . I am pretty sure I have a way forward with a more "sphinxy" approach using the domain, but I won't have the time to finish this before SciPy.

This PR adds a multiline parser for the tags in Entry - like I said it is ugly but seems to work on the simpler cases. If you agree with testing this as a temporary solution, we can cut a 0.3.2 and keep working on the domain approach for a 1.0 later.

cc @story645

@melissawm

Copy link
Copy Markdown
Owner Author

Tests are failing but on readthedocs it seems all is fine.

@story645

story645 commented Jul 7, 2024

Copy link
Copy Markdown
Collaborator

Um wow thanks for working so much on this. I'm perfectly fine w/ a temporary hack assuming it doesn't go chaotic .

@QuLogic can you think of any issues to the mpl doc build if we move tags to this release?

Comment thread src/sphinx_tags/__init__.py Resolved
@JWCook JWCook mentioned this pull request Jul 7, 2024
@JWCook

JWCook commented Jul 7, 2024

Copy link
Copy Markdown
Collaborator

@melissawm #103 should fix the test failures you're seeing here.

@melissawm

Copy link
Copy Markdown
Owner Author

I'm going to merge and cut a release since I think this is the best way to test it with at least a local matplotlib build. If it doesn't work, at least we tried :) Thank you all so much!

@melissawm
melissawm merged commit 6b5bdb3 into main Jul 8, 2024
@melissawm
melissawm deleted the multiline branch July 8, 2024 15:37
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.

3 participants