mirror of
https://github.com/apache/superset.git
synced 2026-05-08 09:25:56 +00:00
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.
69 lines
3.3 KiB
Plaintext
69 lines
3.3 KiB
Plaintext
---
|
|
id: get-related-fields-data-theme-related-column-name
|
|
title: "Get related fields data (theme-related-column-name)"
|
|
description: "Get related fields data (theme-related-column-name)"
|
|
sidebar_label: "Get related fields data (theme-related-column-name)"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV9tu2zgQ/RVisA8JVqmbRRcIVPQhLdLbFt0idrELRIHLSGObLUWq5MiNK+jfF0NKsnzpomgf+mTzdnjOzHBm1EAlnSyR0HlIbxpQBlKoJK0gASNLhBRyq+vSzMMoAYefa+WwgJRcjQn4fIWlhLQB2lS83ZNTZgltmzSQW0NoiFdlVWmVS1LWTD56a3hue7ZytkJHCj2PFkoTuiOYCSiT67rAuSrCTkVY+tFGZQiX6HhnNyOdkxseV3KJx3fyytyrr0eXt0j27iPmBAmQIs0TS6S5Qy0Ji3knpW0DR0jhc41uszXiZ2hv2Xi+ssZHlX88fMg/P2ij3NbxUIE+d6riQ5DCbIWCLEktTF3eoRN2ITqOYi11jR6SIyZw6GtNOxbdvQ7vycnj14UlUSLJQpIUC+uGGxkM9g3IFsX7b3AfnxTR7cJh5dCjoWCZLd42KoKy7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A4JpOMPqdve/zfQNHfS43un25an44cDv4U9AkPFha3hdtl8wk341BgaYgjvu4/kCKo8/y8gXUjt8UDm9paT667PORXfurBvf81mfGdPZKy3veWIDykv0Ig7LvMcQ/rtzx60Esx/yC0vrjiKuMEaOWSIpe4Pox/l1TRxR8yh7UAzVBIm2Lb/AQHFNo4=
|
|
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 related fields data (theme-related-column-name)"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/api/v1/theme/related/{column_name}"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Get related fields data (theme-related-column-name)
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./get-related-fields-data-theme-related-column-name.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./get-related-fields-data-theme-related-column-name.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./get-related-fields-data-theme-related-column-name.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|