Skip to content

Commit d5e13a7

Browse files
authored
Merge pull request #6 from jupyterlite/fix_missing_options_spec
Fix missing options_spec in Retrolite directive
2 parents d781ca9 + d4445ed commit d5e13a7

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)