Skip to content

Commit

Permalink
Remove backward-compatibility for {exec} :editable:.
Browse files Browse the repository at this point in the history
  • Loading branch information
rblank committed Dec 15, 2024
1 parent 317cf8b commit 2a4936f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tdoc/common/ext/exec.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ class Exec(code.CodeBlock):

option_spec = code.CodeBlock.option_spec | {
'after': directives.class_option,
'editable': directives.flag,
'editor': directives.unchanged,
'include': directives.unchanged_required,
'output-style': directives.unchanged,
Expand Down Expand Up @@ -84,8 +83,6 @@ def _update_node(self, node):
node['when'] = self.options.get('when', 'click')
if (v := self.options.get('editor')) is not None:
node['editor'] = v
elif 'editable' in self.options:
node['editor'] = ''


class exec(nodes.literal_block): pass
Expand Down

0 comments on commit 2a4936f

Please sign in to comment.