8000 Fix API contents display for sphinx 2 by dstansby · Pull Request #14105 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix API contents display for sphinx 2 #14105

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

Closed
wants to merge 8 commits into from

Conversation

dstansby
Copy link
Member
@dstansby dstansby commented Apr 30, 2019

Fixes #13591 (comment) . The problem is that sphinx wraps list elements in a <p> tag as of sphinx 2.0, so the elements were inheriting properties from p. I've defined li p to have the required properties for the lists.

Not sure if this is the right approach, or if this is just a bug that needs reporting upstream to sphinx instead of fixing here, maybe someone with more CSS/HTML knowledge than me will know.

8000
@tacaswell tacaswell added this to the v3.2.0 milestone Apr 30, 2019
@dstansby
Copy link
Member Author
dstansby commented May 1, 2019

I've un-pinned the sphinx version, and might turn this into an attempt to fix all the problems listed in #13591

@dstansby
Copy link
Member Author
dstansby commented Sep 5, 2019

I'm going to close this since I don't plan to work on it any more (it's a nightmare to work out what changes need making)

@dstansby dstansby closed this Sep 5, 2019
@timhoffm
Copy link
Member
timhoffm commented Sep 6, 2019

Considering this long-term, it may be easier to start over with a new template / design at some point.

@tacaswell tacaswell modified the milestones: v3.3.0, unassigned Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Style issues when building the docs with (future) Sphinx 2.0
3 participants
0