Skip to content
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

Enable multiline tags #102

Merged
merged 6 commits into from
Jul 8, 2024
Merged

Enable multiline tags #102

merged 6 commits into from
Jul 8, 2024

Conversation

melissawm
Copy link
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
Owner Author

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

@story645
Copy link
Collaborator

story645 commented Jul 7, 2024

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?

src/sphinx_tags/__init__.py Outdated Show resolved Hide resolved
@JWCook JWCook mentioned this pull request Jul 7, 2024
@JWCook
Copy link
Collaborator

JWCook commented Jul 7, 2024

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

@melissawm
Copy link
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
3 checks passed
@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