Skip to content

Commit

Permalink
Merge pull request #1817 from sten0/sphinx-3.0-fix
Browse files Browse the repository at this point in the history
docs: migrate away from functions removed in Sphinx 3.0
  • Loading branch information
galaunay committed Sep 27, 2020
2 parents 3c5b09b + cf48b47 commit ada6167
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/elispdomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from sphinx import addnodes
from sphinx.domains import Domain, ObjType
from sphinx.locale import l_
from sphinx.locale import _
from sphinx.directives import ObjectDescription
from sphinx.roles import XRefRole
from sphinx.util.nodes import make_refnode
Expand Down Expand Up @@ -106,10 +106,10 @@ class ELispDomain(Domain):
label = 'ELisp'

object_types = {
'function': ObjType(l_('function'), 'function'),
'variable': ObjType(l_('variable'), 'variable'),
'command': ObjType(l_('function'), 'command'),
'option': ObjType(l_('variable'), 'option'),
'function': ObjType(_('function'), 'function'),
'variable': ObjType(_('variable'), 'variable'),
'command': ObjType(_('function'), 'command'),
'option': ObjType(_('variable'), 'option'),
}
directives = {
'function': ELispFunction,
Expand Down

0 comments on commit ada6167

Please sign in to comment.