We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2055ace commit fd05919Copy full SHA for fd05919
Doc/tools/extensions/availability.py
@@ -1,14 +1,11 @@
1
"""Support for documenting platform availability"""
2
3
from __future__ import annotations
4
-
5
-from typing import TYPE_CHECKING
6
7
from docutils import nodes
8
-from sphinx import addnodes
9
from sphinx.util import logging
10
from sphinx.util.docutils import SphinxDirective
11
+
12
class Availability(SphinxDirective):
13
14
has_content = True
@@ -77,7 +74,6 @@ def parse_platforms(self):
77
74
return platforms
78
75
79
76
80
81
def setup(app: Sphinx) -> ExtensionMetadata:
82
app.add_directive("availability", Availability)
83
0 commit comments