summaryrefslogtreecommitdiff
path: root/sphinx/directives
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2022-03-19 22:58:15 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2022-03-19 22:58:15 +0900
commitaa1bc83c2ac9357b39048b555c3fdb0efff3449c (patch)
treec1149670ca18b5f9820505322d5b0a5832395ea4 /sphinx/directives
parent759a526b12213c59d6ae4c8f66682f4328b764f4 (diff)
parent017ef6118b4fe588140266ad6ff2393cbddd9137 (diff)
downloadsphinx-git-aa1bc83c2ac9357b39048b555c3fdb0efff3449c.tar.gz
Merge branch '4.x'
Diffstat (limited to 'sphinx/directives')
-rw-r--r--sphinx/directives/__init__.py10
-rw-r--r--sphinx/directives/code.py8
-rw-r--r--sphinx/directives/other.py8
-rw-r--r--sphinx/directives/patches.py8
4 files changed, 1 insertions, 33 deletions
diff --git a/sphinx/directives/__init__.py b/sphinx/directives/__init__.py
index 0c2f76deb..2656cc99b 100644
--- a/sphinx/directives/__init__.py
+++ b/sphinx/directives/__init__.py
@@ -1,12 +1,4 @@
-"""
- sphinx.directives
- ~~~~~~~~~~~~~~~~~
-
- Handlers for additional ReST directives.
-
- :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
+"""Handlers for additional ReST directives."""
import re
from typing import TYPE_CHECKING, Any, Dict, Generic, List, Tuple, TypeVar, cast
diff --git a/sphinx/directives/code.py b/sphinx/directives/code.py
index ddd47e1f8..dc44ed314 100644
--- a/sphinx/directives/code.py
+++ b/sphinx/directives/code.py
@@ -1,11 +1,3 @@
-"""
- sphinx.directives.code
- ~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
import sys
import textwrap
from difflib import unified_diff
diff --git a/sphinx/directives/other.py b/sphinx/directives/other.py
index a14b6e801..83cbb6707 100644
--- a/sphinx/directives/other.py
+++ b/sphinx/directives/other.py
@@ -1,11 +1,3 @@
-"""
- sphinx.directives.other
- ~~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
import re
from typing import TYPE_CHECKING, Any, Dict, List, cast
diff --git a/sphinx/directives/patches.py b/sphinx/directives/patches.py
index d76bb74c7..a01d78332 100644
--- a/sphinx/directives/patches.py
+++ b/sphinx/directives/patches.py
@@ -1,11 +1,3 @@
-"""
- sphinx.directives.patches
- ~~~~~~~~~~~~~~~~~~~~~~~~~
-
- :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
- :license: BSD, see LICENSE for details.
-"""
-
import os
import warnings
from os import path