Title: Add stubs for `docutils.parsers.rst.directives` · Issue #5755 · python/typeshed · GitHub
Open Graph Title: Add stubs for `docutils.parsers.rst.directives` · Issue #5755 · python/typeshed
X Title: Add stubs for `docutils.parsers.rst.directives` · Issue #5755 · python/typeshed
Description: Checking the following with mypy: from docutils.parsers.rst import directives gives: src/sphinx_substitution_extensions/__init__.py:10: error: Module "docutils.parsers.rst" has no attribute "directives"; maybe "Directive"? Relevant sourc...
Open Graph Description: Checking the following with mypy: from docutils.parsers.rst import directives gives: src/sphinx_substitution_extensions/__init__.py:10: error: Module "docutils.parsers.rst" has no attribute "direct...
X Description: Checking the following with mypy: from docutils.parsers.rst import directives gives: src/sphinx_substitution_extensions/__init__.py:10: error: Module "docutils.parsers.rst" has no attribu...
Opengraph URL: https://github.com/python/typeshed/issues/5755
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add stubs for `docutils.parsers.rst.directives`","articleBody":"Checking the following with `mypy`:\r\n\r\n```python\r\nfrom docutils.parsers.rst import directives\r\n```\r\n\r\ngives:\r\n\r\n```\r\nsrc/sphinx_substitution_extensions/__init__.py:10: error: Module \"docutils.parsers.rst\" has no attribute \"directives\"; maybe \"Directive\"?\r\n```\r\n\r\nRelevant source code:\r\n\r\nhttps://sourceforge.net/p/docutils/code/HEAD/tree/trunk/docutils/docutils/parsers/rst/directives/","author":{"url":"https://github.com/adamtheturtle","@type":"Person","name":"adamtheturtle"},"datePublished":"2021-07-10T12:49:43Z","url":"https://github.com/python/typeshed/issues/5755"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:a0a4df68-a6db-a33c-5a0c-3e86cbd05593 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 94C8:30DBED:32282A0:4220D98:6B002BC8 |
| html-safe-nonce | c7443b319f0b5fb25f619ebbc3838c0131a6f7b863ece8b22ce70f937e1e518a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEM4OjMwREJFRDozMjI4MkEwOjQyMjBEOTg6NkIwMDJCQzgiLCJ2aXNpdG9yX2lkIjoiNzI1NzI1MzA4NzA1NDY3MDc5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1431785126a535fdcf7c555dc1ac4e1533d76f26860a93d815402bfab06ed26f |
| hovercard-subject-tag | issue:941244105 |
| 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/python/typeshed/5755/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2c90cf35e973f7de43de2fc13b0297f2ffcdf29aca5b26f4402da88e063f188c/python/typeshed/issues/5755 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2c90cf35e973f7de43de2fc13b0297f2ffcdf29aca5b26f4402da88e063f188c/python/typeshed/issues/5755 |
| og:image:alt | Checking the following with mypy: from docutils.parsers.rst import directives gives: src/sphinx_substitution_extensions/__init__.py:10: error: Module "docutils.parsers.rst" has no attribute "direct... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adamtheturtle |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width