diff --git a/envoy.docs.sphinx_runner/envoy/docs/sphinx_runner/ext/validating_code_block.py b/envoy.docs.sphinx_runner/envoy/docs/sphinx_runner/ext/validating_code_block.py index 2944ce436..1a80b72fa 100644 --- a/envoy.docs.sphinx_runner/envoy/docs/sphinx_runner/ext/validating_code_block.py +++ b/envoy.docs.sphinx_runner/envoy/docs/sphinx_runner/ext/validating_code_block.py @@ -26,8 +26,7 @@ class ValidatingCodeBlock(CodeBlock): required_arguments = CodeBlock.required_arguments optional_arguments = CodeBlock.optional_arguments final_argument_whitespace = CodeBlock.final_argument_whitespace - option_spec = {"type-name": directives.unchanged} - option_spec.update(CodeBlock.option_spec) + CodeBlock.option_spec.update({'type-name': directives.unchanged}) @cached_property def configs(self) -> Dict: