Skip to content

Commit 1f4c276

Browse files
committed
Make submodules private
1 parent 171a80b commit 1f4c276

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

docs/script/generate_social_card_previews.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import random
1212
from pathlib import Path
1313

14-
from sphinxext.opengraph.socialcards import (
14+
from sphinxext.opengraph._social_cards import (
1515
MAX_CHAR_DESCRIPTION,
1616
MAX_CHAR_PAGE_TITLE,
1717
create_social_card_objects,

sphinxext/opengraph/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
from docutils import nodes
1010

11-
from sphinxext.opengraph.descriptionparser import get_description
12-
from sphinxext.opengraph.metaparser import get_meta_description
13-
from sphinxext.opengraph.titleparser import get_title
11+
from sphinxext.opengraph._description_parser import get_description
12+
from sphinxext.opengraph._meta_parser import get_meta_description
13+
from sphinxext.opengraph._title_parser import get_title
1414

1515
if TYPE_CHECKING:
1616
from typing import Any
@@ -22,7 +22,7 @@
2222
from sphinx.util.typing import ExtensionMetadata
2323

2424
try:
25-
from sphinxext.opengraph.socialcards import (
25+
from sphinxext.opengraph._social_cards import (
2626
DEFAULT_SOCIAL_CONFIG,
2727
create_social_card,
2828
)

0 commit comments

Comments
 (0)