diff --git a/lldb/docs/conf.py b/lldb/docs/conf.py index 50f4ab84f1ca..79cc37c8c455 100644 --- a/lldb/docs/conf.py +++ b/lldb/docs/conf.py @@ -57,10 +57,8 @@ except ImportError: raise # Automatic anchors for markdown titles -from llvm_slug import make_slug - myst_heading_anchors = 6 -myst_heading_slug_func = make_slug +myst_heading_slug_func = "llvm_slug.make_slug" autodoc_default_options = {"special-members": True} diff --git a/llvm/docs/conf.py b/llvm/docs/conf.py index 7f2ed5309606..a40da828ae2a 100644 --- a/llvm/docs/conf.py +++ b/llvm/docs/conf.py @@ -40,10 +40,8 @@ except ImportError: raise # Automatic anchors for markdown titles -from llvm_slug import make_slug - myst_heading_anchors = 6 -myst_heading_slug_func = make_slug +myst_heading_slug_func = "llvm_slug.make_slug" # Add any paths that contain templates here, relative to this directory.