diff --git a/owlbot.py b/owlbot.py index c215f26946..4911f99a6e 100644 --- a/owlbot.py +++ b/owlbot.py @@ -226,6 +226,14 @@ def place_before(path, text, *before_text, escape=None): escape="()", ) +place_before( + "noxfile.py", + "def docfx" + """# docfx session +@nox.session(python="3.10") +""", +) + s.replace( "noxfile.py", r"""session.install\("-e", "."\)""",