diff --git a/docs/_renderer.py b/docs/_renderer.py index 3fe496737..3288556c0 100644 --- a/docs/_renderer.py +++ b/docs/_renderer.py @@ -280,7 +280,9 @@ def check_if_missing_expected_example(el, converted): return def is_no_ex_decorator(x): - if x == "no_example()": + # With griffe<0.42.0, it kept parentheses on decorators, but as of 0.42.0, it + # removes them. At some point in the future we can just use the no-parens case. + if x == "no_example()" or x == "no_example": return True no_ex_decorators = [ diff --git a/setup.cfg b/setup.cfg index e87c6e3b8..6da48d784 100644 --- a/setup.cfg +++ b/setup.cfg @@ -115,9 +115,9 @@ doc = jupyter_client < 8.0.0 tabulate shinylive - pydantic==1.10 - quartodoc==0.7.2 - griffe==0.33.0 + pydantic>=2.7.4 + quartodoc==0.7.5 + griffe [options.packages.find] include = shiny, shiny.*