Skip to content

Commit d4445ed

Browse files
committed
Fix missing options_spec in Retrolite directive
1 parent d781ca9 commit d4445ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/jupyterlite_sphinx.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ class RetroliteDirective(SphinxDirective):
120120

121121
has_content = False
122122
required_arguments = 1
123-
option_spec = {}
123+
option_spec = {
124+
"width": directives.unchanged,
125+
"height": directives.unchanged,
126+
}
124127

125128
def run(self):
126129
notebook = self.arguments[0]

0 commit comments

Comments
 (0)