mirror of
https://github.com/apache/superset.git
synced 2026-05-08 01:15:46 +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
2.9 KiB
Plaintext
69 lines
2.9 KiB
Plaintext
---
|
|
id: get-dataset-drill-info
|
|
title: "Get dataset drill info"
|
|
description: "Get dataset drill info"
|
|
sidebar_label: "Get dataset drill info"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFVm1P3EYQ/iurUaWCajDQVEKO8oESIKRRinJHX4QR2bPnzgv2rrM7vkAt//dqdn3m7rioUqjEJ9vrndnnmZdnp4VaWlkhoXWQXLWQo8usqkkZDQmMCxS5JOmQxPlbiEDxai2pgAi0rJC/7iACi18aZTGHhGyDEbiswEpC0gI91LxLacIZWui6a97taqMdOt5wsLfHj8xoQk38Kuu6VJlkDPGtYyDtksPamhotqWBt0TUlLR1kJreYEXRdtL4SAd7Lqi5xxa7reOsq7bc95dyqshRKTw1bv9rbfwbQCp2TM1xC6sgqPftPpIMhXGrZUGGs+gfzRBw1VKCm/nwxZGADn2XDwOTnl2VyauxE5TnqRPxtGpEb/SOJQs5R1Ggr5RwzIiNklqFzggrlhEVnGpvhJoKDv8Du1cuy+2hITE2j80RwA3Fm0BHmAwWRG3RCGxJ4rxxtYjT48IwODl668mprOBVyUqLgqqOHRPwhS5WH6kNrj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|
|
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 dataset drill info"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/api/v1/dataset/{pk}/drill_info/"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Get dataset drill info
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./get-dataset-drill-info.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./get-dataset-drill-info.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./get-dataset-drill-info.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|