Repository navigation
[doc][DOC-898] probe: remove MockedClassDocumenter monkey-patch in conf.py - #63197
Conversation
The MockedClassDocumenter class globally replaces sphinx.ext.autodoc. ClassDocumenter to suppress the "Bases: object" line when a class inherits from object. Added in ray-project#39982 (Oct 2023) for purely cosmetic reasons. This is a docs-team probe PR to validate the hypothesis that the patch is no longer needed. Modern pydata-sphinx-theme handles base class rendering differently than it did at the original landing time. Surfaced by an audit of conf.py settings against current Ray state in the docs-team strategy work (anyscale/docs#2064). Also drops the now-unused `from sphinx.ext import autodoc` import. Validation surface: the RtD preview build on this PR plus the api_policy_check premerge step (which runs make -C doc/ html) will exercise the doc build under fail_on_warning. If the build is clean, the only visible change should be that classes inheriting directly from object now show "Bases: object" in their API ref pages. If that visible change is unwanted, the patch is still load-bearing and we should keep it. If the visible change is acceptable (or the modern theme renders it differently than expected), the patch is safe to drop. Marking as draft. Not requesting merge until a Ray maintainer weighs in. Reviewers: Justin Yu, Aydin Abiar, Elliot Barnwell would all be reasonable points of contact. Signed-off-by: Douglas Strodtman <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request removes a monkey-patch in doc/source/conf.py that was used to suppress the 'Bases: object' line in Sphinx documentation. The reviewer suggests that if this functionality is still needed for visual consistency, the official autodoc-process-bases event should be used instead of monkey-patching, as it is a supported and more maintainable approach.
I am having trouble creating individual review comments. Click here to see my feedback.
doc/source/conf.py (848-857)
Removing this monkey-patch is a good improvement for maintainability. If the probe shows that suppressing the Bases: object line is still required for visual consistency, consider using the official autodoc-process-bases event (available since Sphinx 4.1) instead of re-introducing a monkey-patch. This event provides a list of base classes that can be modified in place, which is the supported and non-fragile way to achieve this.
Example implementation:
def filter_bases(app, name, obj, options, bases):
if len(bases) == 1 and bases[0] is object:
bases.clear()
# In setup(app):
app.connect("autodoc-process-bases", filter_bases)
Validation against the RtD preview buildTracked in DOC-898. Build under HTML scan against the previewCounted occurrences of "Bases" across eight representative API ref pages on this PR's preview vs. current
WebFetch of Visual inspectionSpot-checked by @dstrodtman against representative pages — preview matches current Why this signal is conclusiveThe patch's filter targets the literal autodoc-emitted line RecommendationMarking ready for review. Same logic as #63196: green build + no visible regression = safe to merge. Reviewer is welcome to spot-check additional pages, but I don't see a plausible failure mode the build and the HTML scan didn't already cover. |
|
LGTM assuming we don't render the |
…nf.py (ray-project#63197) ## Why The Anyscale docs team is auditing `doc/source/conf.py` against current Ray state as part of strategy work tracked in [anyscale/docs#2064](anyscale/docs#2064). One finding: `conf.py` globally swaps `sphinx.ext.autodoc.ClassDocumenter` with a `MockedClassDocumenter` subclass that suppresses the `Bases: object` line for classes that inherit directly from `object`. The patch was added in [ray-project#39982](ray-project#39982) (Oct 2023). It's a cosmetic workaround. Two reasons it may now be obsolete: 1. **Modern pydata-sphinx-theme** (Ray pins 0.14.1; current is 0.16.x) renders base class lines differently than it did when the patch was authored. 2. **Global monkey patches at conf.py module scope** are a fragility liability — if a future Sphinx ClassDocumenter signature change lands, the patch breaks the build at import. The cosmetic value should be weighed against that ongoing maintenance cost. ## What this PR does 1. Removes the `MockedClassDocumenter` class and its global assignment to `sphinx.ext.autodoc.ClassDocumenter`. 2. Removes the now-unused `from sphinx.ext import autodoc` import. ## How to validate This is a probe, not a request-for-merge. The validation surfaces are: 1. **RtD PR preview build** — runs against this branch. With `fail_on_warning: true` set in `.readthedocs.yaml`, any new Sphinx warning means the patch was still load-bearing in a non-cosmetic way. 2. **`doc: check API doc consistency`** — premerge step that runs `make -C doc/ html` internally. Same fail-on-warning gate. 3. **Visual diff of any API ref page** for a class that inherits directly from `object`. If `Bases: object` reappears in those pages, the patch was effectively suppressing visible noise — keep it. If the line is rendered the same way (or absent) by the modern theme without the patch, drop it. ## Possible outcomes - **Build clean, no visible regression** → the patch is dead weight. Drop. - **Build clean, `Bases: object` reappears on many pages** → the patch is doing what it claims. Keep, and add a comment explaining what would replace it (a CSS rule on the modern theme's rendered output, or a different autodoc filter). - **Build fails** → the patch was load-bearing in a way nobody documented. Revert and document. ## Status **Draft.** Posting for visibility and validation, not for merge. Looking for a Ray maintainer to confirm whether the cosmetic suppression is still desired and whether there's a less-fragile mechanism to achieve it. Justin Yu @justinvyu, Aydin Abiar @aslonnie, or Elliot Barnwell @ebarn-anyscale would all be reasonable reviewers given recent activity in this area. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]>
## Why Add `sphinxext-opengraph` — per-page Open Graph metadata. `ogp_site_url` is pinned to `html_baseurl` so the `og:url` tag stays aligned with Sphinx's `<link rel="canonical">`. Improves rich-link previews when docs pages get shared and tightens SEO signal. Low-effort additive change called out as a Bucket 1 quick win in the Anyscale docs team's agent-friendliness assessment. ## What - `doc/requirements-doc.txt`: add `sphinxext-opengraph==0.13.0`. - `doc/source/conf.py`: append `"sphinxext.opengraph"` to `extensions`; set `ogp_site_url = html_baseurl`. - `python/deplocks/docs/docbuild_depset_py3.10.lock`: package entry plus via-comment addition on `sphinx` (the only runtime dep, already pinned, so no further transitives). Matches the manual-lock-edit pattern used in [#63130](#63130). ## Verification After this lands and `latest` rebuilds: - A representative doc page's `<head>` includes `<meta property="og:*">` tags reflecting page title, description, and the site URL. - No new warnings in the RtD build log (`fail_on_warning: true`). ## Extension diligence [`sphinxext-opengraph`](https://github.com/sphinx-doc/sphinxext-opengraph) — official `sphinx-doc` org project, BSD-2-Clause. Latest release 0.13.0 (March 2026). Pure-Python, depends only on Sphinx (already pinned to 7.3.7), no system-level requirements. ## What changed in the force-push This PR originally also bundled [`sphinx-notfound-page`](https://github.com/readthedocs/sphinx-notfound-page) to give the Ray docs a 404 page with absolute URLs. Dropped on 2026-05-15 because the RtD PR preview build surfaced a sitewide regression: 732 of 756 `<a class="reference internal">` sidebar hrefs were emitted with a `.//en/<ver>/...` prefix that doubles when the browser resolves them against the build's `/en/<ver>/` deploy path. Production docs.ray.io (which doesn't have the extension) was unaffected (0/747 hrefs). The cause is sphinx-notfound-page's `html-page-context` hook: it overrides `pathto`/`toctree` for **every** page in the build, prepending a URL prefix derived from `READTHEDOCS_CANONICAL_URL`. The extension docs imply this is "for the 404 page only," but the override fires on every page-context event. On a PR preview where the canonical URL differs from `html_baseurl`, this produces the doubled-prefix anti-pattern across the entire sidebar. The 404-page-with-absolute-URLs goal is tracked separately so it can be re-attempted with a config or extension that doesn't break sitewide navigation. Options to revisit: `notfound_urls_prefix = None`, a custom 404 template that bypasses the global `pathto` override, or `html_extra_path` with a static 404. ## Context Part of the [DOC-932](https://anyscale1.atlassian.net/browse/DOC-932) campaign: Ray docs dependency upgrades. Pattern mirrors the merged [DOC-898](https://anyscale1.atlassian.net/browse/DOC-898) probe ([#63197](#63197)) and the obsolete-env-var removal in [#63196](#63196). Strategy context: `anyscale/docs:strategy/ray-docs/sphinx-rtd-viability.md` "Low effort" section. This is the bottom of a stacked series: 1. **#63343 — sphinxext-opengraph (this PR)** 2. [#63344](#63344) — pydata-sphinx-theme bump 3. [#63359](#63359) — notebook `language_info.name` fix 4. [#63360](#63360) — myst-nb 1.4.0 bump [DOC-933](https://anyscale1.atlassian.net/browse/DOC-933) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
## Why Add `sphinxext-opengraph` — per-page Open Graph metadata. `ogp_site_url` is pinned to `html_baseurl` so the `og:url` tag stays aligned with Sphinx's `<link rel="canonical">`. Improves rich-link previews when docs pages get shared and tightens SEO signal. Low-effort additive change called out as a Bucket 1 quick win in the Anyscale docs team's agent-friendliness assessment. ## What - `doc/requirements-doc.txt`: add `sphinxext-opengraph==0.13.0`. - `doc/source/conf.py`: append `"sphinxext.opengraph"` to `extensions`; set `ogp_site_url = html_baseurl`. - `python/deplocks/docs/docbuild_depset_py3.10.lock`: package entry plus via-comment addition on `sphinx` (the only runtime dep, already pinned, so no further transitives). Matches the manual-lock-edit pattern used in [ray-project#63130](ray-project#63130). ## Verification After this lands and `latest` rebuilds: - A representative doc page's `<head>` includes `<meta property="og:*">` tags reflecting page title, description, and the site URL. - No new warnings in the RtD build log (`fail_on_warning: true`). ## Extension diligence [`sphinxext-opengraph`](https://github.com/sphinx-doc/sphinxext-opengraph) — official `sphinx-doc` org project, BSD-2-Clause. Latest release 0.13.0 (March 2026). Pure-Python, depends only on Sphinx (already pinned to 7.3.7), no system-level requirements. ## What changed in the force-push This PR originally also bundled [`sphinx-notfound-page`](https://github.com/readthedocs/sphinx-notfound-page) to give the Ray docs a 404 page with absolute URLs. Dropped on 2026-05-15 because the RtD PR preview build surfaced a sitewide regression: 732 of 756 `<a class="reference internal">` sidebar hrefs were emitted with a `.//en/<ver>/...` prefix that doubles when the browser resolves them against the build's `/en/<ver>/` deploy path. Production docs.ray.io (which doesn't have the extension) was unaffected (0/747 hrefs). The cause is sphinx-notfound-page's `html-page-context` hook: it overrides `pathto`/`toctree` for **every** page in the build, prepending a URL prefix derived from `READTHEDOCS_CANONICAL_URL`. The extension docs imply this is "for the 404 page only," but the override fires on every page-context event. On a PR preview where the canonical URL differs from `html_baseurl`, this produces the doubled-prefix anti-pattern across the entire sidebar. The 404-page-with-absolute-URLs goal is tracked separately so it can be re-attempted with a config or extension that doesn't break sitewide navigation. Options to revisit: `notfound_urls_prefix = None`, a custom 404 template that bypasses the global `pathto` override, or `html_extra_path` with a static 404. ## Context Part of the [DOC-932](https://anyscale1.atlassian.net/browse/DOC-932) campaign: Ray docs dependency upgrades. Pattern mirrors the merged [DOC-898](https://anyscale1.atlassian.net/browse/DOC-898) probe ([ray-project#63197](ray-project#63197)) and the obsolete-env-var removal in [ray-project#63196](ray-project#63196). Strategy context: `anyscale/docs:strategy/ray-docs/sphinx-rtd-viability.md` "Low effort" section. This is the bottom of a stacked series: 1. **ray-project#63343 — sphinxext-opengraph (this PR)** 2. [ray-project#63344](ray-project#63344) — pydata-sphinx-theme bump 3. [ray-project#63359](ray-project#63359) — notebook `language_info.name` fix 4. [ray-project#63360](ray-project#63360) — myst-nb 1.4.0 bump [DOC-933](https://anyscale1.atlassian.net/browse/DOC-933) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> Signed-off-by: phattruong <[email protected]>
…nf.py (ray-project#63197) ## Why The Anyscale docs team is auditing `doc/source/conf.py` against current Ray state as part of strategy work tracked in [anyscale/docs#2064](anyscale/docs#2064). One finding: `conf.py` globally swaps `sphinx.ext.autodoc.ClassDocumenter` with a `MockedClassDocumenter` subclass that suppresses the `Bases: object` line for classes that inherit directly from `object`. The patch was added in [ray-project#39982](ray-project#39982) (Oct 2023). It's a cosmetic workaround. Two reasons it may now be obsolete: 1. **Modern pydata-sphinx-theme** (Ray pins 0.14.1; current is 0.16.x) renders base class lines differently than it did when the patch was authored. 2. **Global monkey patches at conf.py module scope** are a fragility liability — if a future Sphinx ClassDocumenter signature change lands, the patch breaks the build at import. The cosmetic value should be weighed against that ongoing maintenance cost. ## What this PR does 1. Removes the `MockedClassDocumenter` class and its global assignment to `sphinx.ext.autodoc.ClassDocumenter`. 2. Removes the now-unused `from sphinx.ext import autodoc` import. ## How to validate This is a probe, not a request-for-merge. The validation surfaces are: 1. **RtD PR preview build** — runs against this branch. With `fail_on_warning: true` set in `.readthedocs.yaml`, any new Sphinx warning means the patch was still load-bearing in a non-cosmetic way. 2. **`doc: check API doc consistency`** — premerge step that runs `make -C doc/ html` internally. Same fail-on-warning gate. 3. **Visual diff of any API ref page** for a class that inherits directly from `object`. If `Bases: object` reappears in those pages, the patch was effectively suppressing visible noise — keep it. If the line is rendered the same way (or absent) by the modern theme without the patch, drop it. ## Possible outcomes - **Build clean, no visible regression** → the patch is dead weight. Drop. - **Build clean, `Bases: object` reappears on many pages** → the patch is doing what it claims. Keep, and add a comment explaining what would replace it (a CSS rule on the modern theme's rendered output, or a different autodoc filter). - **Build fails** → the patch was load-bearing in a way nobody documented. Revert and document. ## Status **Draft.** Posting for visibility and validation, not for merge. Looking for a Ray maintainer to confirm whether the cosmetic suppression is still desired and whether there's a less-fragile mechanism to achieve it. Justin Yu @justinvyu, Aydin Abiar @aslonnie, or Elliot Barnwell @ebarn-anyscale would all be reasonable reviewers given recent activity in this area. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Signed-off-by: Douglas Strodtman <[email protected]> Signed-off-by: Alexandr Plashchinsky <[email protected]>
## Why Add `sphinxext-opengraph` — per-page Open Graph metadata. `ogp_site_url` is pinned to `html_baseurl` so the `og:url` tag stays aligned with Sphinx's `<link rel="canonical">`. Improves rich-link previews when docs pages get shared and tightens SEO signal. Low-effort additive change called out as a Bucket 1 quick win in the Anyscale docs team's agent-friendliness assessment. ## What - `doc/requirements-doc.txt`: add `sphinxext-opengraph==0.13.0`. - `doc/source/conf.py`: append `"sphinxext.opengraph"` to `extensions`; set `ogp_site_url = html_baseurl`. - `python/deplocks/docs/docbuild_depset_py3.10.lock`: package entry plus via-comment addition on `sphinx` (the only runtime dep, already pinned, so no further transitives). Matches the manual-lock-edit pattern used in [ray-project#63130](ray-project#63130). ## Verification After this lands and `latest` rebuilds: - A representative doc page's `<head>` includes `<meta property="og:*">` tags reflecting page title, description, and the site URL. - No new warnings in the RtD build log (`fail_on_warning: true`). ## Extension diligence [`sphinxext-opengraph`](https://github.com/sphinx-doc/sphinxext-opengraph) — official `sphinx-doc` org project, BSD-2-Clause. Latest release 0.13.0 (March 2026). Pure-Python, depends only on Sphinx (already pinned to 7.3.7), no system-level requirements. ## What changed in the force-push This PR originally also bundled [`sphinx-notfound-page`](https://github.com/readthedocs/sphinx-notfound-page) to give the Ray docs a 404 page with absolute URLs. Dropped on 2026-05-15 because the RtD PR preview build surfaced a sitewide regression: 732 of 756 `<a class="reference internal">` sidebar hrefs were emitted with a `.//en/<ver>/...` prefix that doubles when the browser resolves them against the build's `/en/<ver>/` deploy path. Production docs.ray.io (which doesn't have the extension) was unaffected (0/747 hrefs). The cause is sphinx-notfound-page's `html-page-context` hook: it overrides `pathto`/`toctree` for **every** page in the build, prepending a URL prefix derived from `READTHEDOCS_CANONICAL_URL`. The extension docs imply this is "for the 404 page only," but the override fires on every page-context event. On a PR preview where the canonical URL differs from `html_baseurl`, this produces the doubled-prefix anti-pattern across the entire sidebar. The 404-page-with-absolute-URLs goal is tracked separately so it can be re-attempted with a config or extension that doesn't break sitewide navigation. Options to revisit: `notfound_urls_prefix = None`, a custom 404 template that bypasses the global `pathto` override, or `html_extra_path` with a static 404. ## Context Part of the [DOC-932](https://anyscale1.atlassian.net/browse/DOC-932) campaign: Ray docs dependency upgrades. Pattern mirrors the merged [DOC-898](https://anyscale1.atlassian.net/browse/DOC-898) probe ([ray-project#63197](ray-project#63197)) and the obsolete-env-var removal in [ray-project#63196](ray-project#63196). Strategy context: `anyscale/docs:strategy/ray-docs/sphinx-rtd-viability.md` "Low effort" section. This is the bottom of a stacked series: 1. **ray-project#63343 — sphinxext-opengraph (this PR)** 2. [ray-project#63344](ray-project#63344) — pydata-sphinx-theme bump 3. [ray-project#63359](ray-project#63359) — notebook `language_info.name` fix 4. [ray-project#63360](ray-project#63360) — myst-nb 1.4.0 bump [DOC-933](https://anyscale1.atlassian.net/browse/DOC-933) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> Signed-off-by: Alexandr Plashchinsky <[email protected]>
## Why Add `sphinxext-opengraph` — per-page Open Graph metadata. `ogp_site_url` is pinned to `html_baseurl` so the `og:url` tag stays aligned with Sphinx's `<link rel="canonical">`. Improves rich-link previews when docs pages get shared and tightens SEO signal. Low-effort additive change called out as a Bucket 1 quick win in the Anyscale docs team's agent-friendliness assessment. ## What - `doc/requirements-doc.txt`: add `sphinxext-opengraph==0.13.0`. - `doc/source/conf.py`: append `"sphinxext.opengraph"` to `extensions`; set `ogp_site_url = html_baseurl`. - `python/deplocks/docs/docbuild_depset_py3.10.lock`: package entry plus via-comment addition on `sphinx` (the only runtime dep, already pinned, so no further transitives). Matches the manual-lock-edit pattern used in [ray-project#63130](ray-project#63130). ## Verification After this lands and `latest` rebuilds: - A representative doc page's `<head>` includes `<meta property="og:*">` tags reflecting page title, description, and the site URL. - No new warnings in the RtD build log (`fail_on_warning: true`). ## Extension diligence [`sphinxext-opengraph`](https://github.com/sphinx-doc/sphinxext-opengraph) — official `sphinx-doc` org project, BSD-2-Clause. Latest release 0.13.0 (March 2026). Pure-Python, depends only on Sphinx (already pinned to 7.3.7), no system-level requirements. ## What changed in the force-push This PR originally also bundled [`sphinx-notfound-page`](https://github.com/readthedocs/sphinx-notfound-page) to give the Ray docs a 404 page with absolute URLs. Dropped on 2026-05-15 because the RtD PR preview build surfaced a sitewide regression: 732 of 756 `<a class="reference internal">` sidebar hrefs were emitted with a `.//en/<ver>/...` prefix that doubles when the browser resolves them against the build's `/en/<ver>/` deploy path. Production docs.ray.io (which doesn't have the extension) was unaffected (0/747 hrefs). The cause is sphinx-notfound-page's `html-page-context` hook: it overrides `pathto`/`toctree` for **every** page in the build, prepending a URL prefix derived from `READTHEDOCS_CANONICAL_URL`. The extension docs imply this is "for the 404 page only," but the override fires on every page-context event. On a PR preview where the canonical URL differs from `html_baseurl`, this produces the doubled-prefix anti-pattern across the entire sidebar. The 404-page-with-absolute-URLs goal is tracked separately so it can be re-attempted with a config or extension that doesn't break sitewide navigation. Options to revisit: `notfound_urls_prefix = None`, a custom 404 template that bypasses the global `pathto` override, or `html_extra_path` with a static 404. ## Context Part of the [DOC-932](https://anyscale1.atlassian.net/browse/DOC-932) campaign: Ray docs dependency upgrades. Pattern mirrors the merged [DOC-898](https://anyscale1.atlassian.net/browse/DOC-898) probe ([ray-project#63197](ray-project#63197)) and the obsolete-env-var removal in [ray-project#63196](ray-project#63196). Strategy context: `anyscale/docs:strategy/ray-docs/sphinx-rtd-viability.md` "Low effort" section. This is the bottom of a stacked series: 1. **ray-project#63343 — sphinxext-opengraph (this PR)** 2. [ray-project#63344](ray-project#63344) — pydata-sphinx-theme bump 3. [ray-project#63359](ray-project#63359) — notebook `language_info.name` fix 4. [ray-project#63360](ray-project#63360) — myst-nb 1.4.0 bump [DOC-933](https://anyscale1.atlassian.net/browse/DOC-933) Signed-off-by: Douglas Strodtman <[email protected]> Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> Signed-off-by: 400Ping <[email protected]>
Why
The Anyscale docs team is auditing
doc/source/conf.pyagainst current Ray state as part of strategy work tracked in anyscale/docs#2064. One finding:conf.pyglobally swapssphinx.ext.autodoc.ClassDocumenterwith aMockedClassDocumentersubclass that suppresses theBases: objectline for classes that inherit directly fromobject.The patch was added in #39982 (Oct 2023). It's a cosmetic workaround. Two reasons it may now be obsolete:
What this PR does
MockedClassDocumenterclass and its global assignment tosphinx.ext.autodoc.ClassDocumenter.from sphinx.ext import autodocimport.How to validate
This is a probe, not a request-for-merge. The validation surfaces are:
fail_on_warning: trueset in.readthedocs.yaml, any new Sphinx warning means the patch was still load-bearing in a non-cosmetic way.doc: check API doc consistency— premerge step that runsmake -C doc/ htmlinternally. Same fail-on-warning gate.object. IfBases: objectreappears in those pages, the patch was effectively suppressing visible noise — keep it. If the line is rendered the same way (or absent) by the modern theme without the patch, drop it.Possible outcomes
Bases: objectreappears on many pages → the patch is doing what it claims. Keep, and add a comment explaining what would replace it (a CSS rule on the modern theme's rendered output, or a different autodoc filter).Status
Draft. Posting for visibility and validation, not for merge. Looking for a Ray maintainer to confirm whether the cosmetic suppression is still desired and whether there's a less-fragile mechanism to achieve it. Justin Yu @justinvyu, Aydin Abiar @aslonnie, or Elliot Barnwell @ebarn-anyscale would all be reasonable reviewers given recent activity in this area.
🤖 Generated with Claude Code