diff options
author | Peter Bell <peterbell10@live.co.uk> | 2020-07-15 02:08:44 +0300 |
---|---|---|
committer | Peter Bell <peterbell10@live.co.uk> | 2020-07-15 02:12:31 +0300 |
commit | bedc00faa6c1c35ab11673734c462d9652651da5 (patch) | |
tree | 4a18da8ec248ad49b94d05491f00f3320fc0a07a /sphinx/transforms | |
parent | d5482643d70e9ead27b3e4ecbfffacabf27e3e5f (diff) |
Require canonical name to be specified when calling deprecated_alias
Diffstat (limited to 'sphinx/transforms')
-rw-r--r-- | sphinx/transforms/__init__.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sphinx/transforms/__init__.py b/sphinx/transforms/__init__.py index 1605c95b9..166ad8916 100644 --- a/sphinx/transforms/__init__.py +++ b/sphinx/transforms/__init__.py @@ -407,8 +407,12 @@ from sphinx.domains.citation import ( # NOQA deprecated_alias('sphinx.transforms', { - 'CitationReferences': CitationReferenceTransform, - 'SmartQuotesSkipper': CitationDefinitionTransform, + 'CitationReferences': ( + 'sphinx.domains.citation.CitationReferenceTransform', + CitationReferenceTransform), + 'SmartQuotesSkipper': ( + 'sphinx.domains.citation.CitationDefinitionTransform', + CitationDefinitionTransform), }, RemovedInSphinx40Warning) |