{"id":17332844,"url":"https://github.com/raybellwaves/compatsphinxext","last_synced_at":"2025-08-01T21:07:19.344Z","repository":{"id":238902857,"uuid":"797914636","full_name":"raybellwaves/compatsphinxext","owner":"raybellwaves","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-11T23:52:06.000Z","size":2835,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T06:31:04.708Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://raybellwaves.github.io/compatsphinxext/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raybellwaves.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-08T18:15:25.000Z","updated_at":"2024-07-11T23:51:42.000Z","dependencies_parsed_at":"2024-05-10T21:52:31.233Z","dependency_job_id":"f9623102-9fdb-4fcd-9630-26654de61e73","html_url":"https://github.com/raybellwaves/compatsphinxext","commit_stats":null,"previous_names":["raybellwaves/compatsphinxext"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raybellwaves/compatsphinxext","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raybellwaves%2Fcompatsphinxext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raybellwaves%2Fcompatsphinxext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raybellwaves%2Fcompatsphinxext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raybellwaves%2Fcompatsphinxext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raybellwaves","download_url":"https://codeload.github.com/raybellwaves/compatsphinxext/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raybellwaves%2Fcompatsphinxext/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268297263,"owners_count":24228122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T14:58:57.298Z","updated_at":"2025-08-01T21:07:19.280Z","avatar_url":"https://github.com/raybellwaves.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# compatsphinxext\n\nGoal: Create a generic sphinx extention similar to https://github.com/rapidsai/cudf/blob/branch-24.06/docs/cudf/source/_ext/PandasCompat.py\nThat allows linking back to upstream API.\ni.e. for cudf it can link to the API of pandas and for cugraph it can link to the API of networkx.\nHost on rapids-community, Publish it on pypi then it can be used across cudf and cugraph.\n\ncudf and cugraph uses \"numpydoc\" (https://github.com/rapidsai/cudf/blob/branch-24.06/docs/cudf/source/conf.py#L72C6-L72C14)\n\nThe only file to touch is the make_files.sh.\n\nCurrent if you try and add :meth:`pandas.DataFrame.rename` for example into pandas-compat you get\n\n```\n/workspaces/compatsphinxext/compatsphinxext.py:docstring of compatsphinxext.rename:19: WARNING: unknown node type: \u003cpending_xref: \u003cliteral...\u003e\u003e\n\nException occurred:\n  File \"/home/vscode/.local/lib/python3.12/site-packages/docutils/nodes.py\", line 2027, in unknown_departure\n    raise NotImplementedError(\nNotImplementedError: \u003cclass 'types.BootstrapHTML5Translator'\u003e departing unknown node type: pending_xref\nThe full traceback has been saved in /tmp/sphinx-err-mvruu8cb.log, if you want to report the issue to the developers.\n```\n\nI've got a first draft passing.\n\nTODO:\n - Add the source like into the Admonition like it is currently.\n - Clean up code\n - Add typing similar to the sphinx todo extention\n - Copy paste classes to create a networkx-compat extention.\n - If interst from RAPIDS folks, move to https://github.com/rapidsai-community\n - Release\n - Add to cudf and cugraph\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraybellwaves%2Fcompatsphinxext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraybellwaves%2Fcompatsphinxext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraybellwaves%2Fcompatsphinxext/lists"}