Skip to content

Commit

Permalink
Fix DeprecationWarning from docutils
Browse files Browse the repository at this point in the history
This method was added in docutils 0.18, which our minimum version of
Sphinx 6.2.0 requires.
  • Loading branch information
yut23 committed Jan 16, 2025
1 parent 47fe4a8 commit 7634a45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def __init__(self, app):
env.temp_data["docname"] = "mock-doc"
env.temp_data["breathe_project_info_factory"] = ProjectInfoFactory(app)
env.temp_data["breathe_parser_factory"] = DoxygenParserFactory(app)
settings = frontend.OptionParser(components=(parsers.rst.Parser,)).get_default_values()
settings = frontend.get_default_settings(parsers.rst.Parser)
settings.env = env
self.document = utils.new_document("", settings)

Expand Down

0 comments on commit 7634a45

Please sign in to comment.