Title: Broken doc build with sphinx 1.8 · Issue #12108 · matplotlib/matplotlib · GitHub
Open Graph Title: Broken doc build with sphinx 1.8 · Issue #12108 · matplotlib/matplotlib
X Title: Broken doc build with sphinx 1.8 · Issue #12108 · matplotlib/matplotlib
Description: The doc CI is broken with sphinx 1.8. Matplotlib currently defines its own :math: role (based on mathtext rendering + png embedding), but this triggers a warning (fatal on CI for us) with sphinx 1.8 because sphinx now provides its own :m...
Open Graph Description: The doc CI is broken with sphinx 1.8. Matplotlib currently defines its own :math: role (based on mathtext rendering + png embedding), but this triggers a warning (fatal on CI for us) with sphinx 1....
X Description: The doc CI is broken with sphinx 1.8. Matplotlib currently defines its own :math: role (based on mathtext rendering + png embedding), but this triggers a warning (fatal on CI for us) with sphinx 1....
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12108
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Broken doc build with sphinx 1.8","articleBody":"The doc CI is broken with sphinx 1.8.\r\n\r\nMatplotlib currently defines its own :math: role (based on mathtext rendering + png embedding), but this triggers a warning (fatal on CI for us) with sphinx 1.8 because sphinx now provides its own :math: role by default.\r\n\r\nI removed that definition in #11928, but that doesn't actually help, because ours is slightly different: the mathtext tutorial uses the construct\r\n```\r\n.. role:: math-stix(math)\r\n :fontset: stix\r\n```\r\nto later be able to use `math-stix` meaning \"render with that fontset, and this causes an error with sphinx 1.8's own math role).\r\n \r\nI think the long-term solution is to move the mathtext tutorial to use *plots* to display the relevant samples, or to move matplotlib's own :math: role to something like :mplmath:, but in the mean time I can live with a warning about duplicate roles in sphinx's startup.\r\n\r\nIn the meantime we should just pin sphinx\u003c1.8 and restore our own math role. At least fixing doc-requirements.txt would be nice for 3.0.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2018-09-13T13:25:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/12108/matplotlib/issues/12108"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7c4a95cf-a129-4f8c-5ecc-54504ba9c7fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C018:291741:2D45344:41356A2:6A551FB0 |
| html-safe-nonce | 90028443b844980b1ef38349ff99027e086b9c71b0456bb7381ae00e15c31624 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDE4OjI5MTc0MToyRDQ1MzQ0OjQxMzU2QTI6NkE1NTFGQjAiLCJ2aXNpdG9yX2lkIjoiODY2NTIxODczOTA1MzMzODU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac72d3c93999fd1e3a733465fd8b9f0356dd9ee56f72fd0afa88e9bb5a1b2a50 |
| hovercard-subject-tag | issue:359895055 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/12108/issue_layout |
| twitter:image | https://opengraph.githubassets.com/57b1ed56df54857de08212ea57ef77332e4985417615a373d2c4bf6a23c3bce9/matplotlib/matplotlib/issues/12108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/57b1ed56df54857de08212ea57ef77332e4985417615a373d2c4bf6a23c3bce9/matplotlib/matplotlib/issues/12108 |
| og:image:alt | The doc CI is broken with sphinx 1.8. Matplotlib currently defines its own :math: role (based on mathtext rendering + png embedding), but this triggers a warning (fatal on CI for us) with sphinx 1.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 682d273eacb2ac51680c6eb9c0b270f029f7ce74c32090f319083c34497e28a5 |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b6d37c6470adadff4194742daaab9a817cc4980 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width