Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/get-metadata-information-about-this-api-resource-theme-info.api.mdx
Superset Dev 5a5a0e70fc fix(docs): regenerate 6.1.0 snapshots with depth-aware import rewriter
The previous import-path fixer only matched two-level relative paths
(`../../src/` and `../../data/`), missing files at deeper nesting in the
section tree. After the 6.1.0 cut for developer_docs, ~50 component MDX
files at depth 3 still referenced `../../../src/components/StorybookWrapper`
(should have been `../../../../src/...`), and the components Button page
referenced `../../../superset-frontend/...` (should have been
`../../../../superset-frontend/...`). The Docusaurus production build
failed with module-not-found errors as a result.

Replace the pattern-specific regex with a depth-aware walker that
- counts the file's nesting depth within the snapshot,
- bumps any relative import whose `../` count exceeds that depth (i.e.
  the import escapes the section root and so must compensate for the
  extra `version-X.X.X/` directory the snapshot lives under),
- skips fenced code blocks so documented sample imports (e.g. Playwright
  page-object examples in developer_docs/testing/e2e-testing.md) are not
  rewritten.

Re-cut all four sections under the new fixer. yarn build now passes
locally.
2026-05-04 08:53:25 -07:00

69 lines
3.3 KiB
Plaintext

---
id: get-metadata-information-about-this-api-resource-theme-info
title: "Get metadata information about this API resource (theme--info)"
description: "Get metadata information about this API resource"
sidebar_label: "Get metadata information about this API resource (theme--info)"
hide_title: true
hide_table_of_contents: true
api: eJzNV21v2zYQ/isHYh8STImbYgMKFf2QBmmbvQazuw6wApeWzhYbilRJyo0r6L8PR0qKZDsd0g3oPkki747Pc2881SxDmxpROqEVi9lrdFCg4xl3HIRaaVNw2gK+1JUDlwsL59dXYNDqyqTIIlZywwt0aCyL5zVLtXKoHItrxstSitTrTz5Ysl8zm+ZYcHorjS7ROIHWy2bZItWyKlT3KUiPy+uR2Fip5Gukp9uWyGImlMM1GtZEfmdhxeeD203ULenlB0wdO7SAmXD/L0S3uPVnCIeFf0FVFSyej3y3AzxiKyF9bCJWoimEtUL7dVJywknsVLoPpRWym/5864xQ6wEgbgzfHoAcsWAhZmt0C8qdRRvshoQFpdfHCs2WzuAFCX5kzU3EDNpSKxsc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6gqv7WfTRf3Rw5BP05IRkj3edObh3vuZfsaXs8M5NSsmFIsw+W+u2TOaMl4KInZG4d1nEQrHcdGkzZ3W95BbfGtk0tBx+K6iEHgT70OG3uPU/IpTzsqJ9X8JdAfhLKGKht/gTgsJ5mqLva53W3h08agSvLykFaDwZXLx9IrQvZL2betV2YLuug0RoVlS9AYRv0ayhIfVv1D56Ag==
sidebar_class_name: "get api-method"
info_path: developer-docs/api/superset
custom_edit_url: null
hide_send_button: true
show_extensions: true
---
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"Get metadata information about this API resource (theme--info)"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/api/v1/theme/_info"}
context={"endpoint"}
>
</MethodEndpoint>
Get metadata information about this API resource
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
>
<Translate id="theme.openapi.request.title">Request</Translate>
</Heading>
<ParamsDetails
{...require("./get-metadata-information-about-this-api-resource-theme-info.ParamsDetails.json")}
>
</ParamsDetails>
<RequestSchema
{...require("./get-metadata-information-about-this-api-resource-theme-info.RequestSchema.json")}
>
</RequestSchema>
<StatusCodes
{...require("./get-metadata-information-about-this-api-resource-theme-info.StatusCodes.json")}
>
</StatusCodes>