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.8 KiB
Plaintext
69 lines
2.8 KiB
Plaintext
---
|
|
id: delete-security-groups-by-pk
|
|
title: "Delete security groups by pk"
|
|
description: "Delete security groups by pk"
|
|
sidebar_label: "Delete security groups by pk"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFVt9v2zYQ/leIwx4STImToAMCFX3I0nRNF3RB7XQDosClpbOlhCJZknLjCfzfiyMl2U48DMhLniT+uOP33X13ZAuaG16jQ2MhvW2hkpCC5q6EBCSvkUYPkIDB701lsIDUmQYTsHmJNYe0BbfStKuSDhdowPs72m21khYtbTg5OqJPrqRD6eiXay2qnLtKydG9VZLm1g61URqNq6J1jdbyBW6cZJ2p5AK8T/oZNbvH3IFPAB95rQVuGa4NfAIF2txUmo6GFC4d1qxAgQ4LMn9z9OZ1oX5Wjs1VI4uUTUpkFHW0Dgtm0KrG5MgKhZZJ5Rg+VtbtIjX4CIxOTl6X0Y3URuU0nAlkKF3lVin7ykVVBAwMjVFmF49z1YgiUO08dNZ01G+vralL6dBILphFs0QTWaTsTLJG4qPGnJIWJpnK88ZQ6ezg+IE7LoYQJGAxbwxxpFq8/+Egvb2jgnJ8QfUJ426d/WFUoy3cJUDEAu3LAlKIYp72fqaLsG86W01DGT8e5KrAcSAUC15wuYAU8psvV5CA4DMU62HUHI0bI9jBP+z9xdXF5IJlUDqn09FIqJyLUlmXnh6dno64rkbL41F/+iiePjrOgGVZJhk7+MgyOGtcqUz1b0Cdst+RGzTsl7Pz84vxeDr568+LzxmATwZw1ytXKrkBb5gYAFa1Vsb1BWMzmcm+CbF3w/RhDM8eQWEvYJFEwxJ5gca+a59wySBlGXR8MmC/Mp6TcKdOPaD0mdzPpDaVdHs9tkPruGvslLKyv0n5E1/ycRDKBu2tyXVulLTEfGDLf/DKsTm6vAxMX8izjWRrdKUqiFhM/tMopP1G9jS1FI5vfXbbGIpJiMS3aOHpQ2F5m0lioQQeCrV4Gp39t0A1sF0570MmWQ+eRfBstmJB6BH1UBCQxEsthf9i3eoHT1EN5RxLozEU9J2xg6dwrmiZFbhEoXSN0nWNIeQ0Omq1UU7lSvh0NGrJlU9bUq1/5u28sU7VvYsEltxU1D9t18uCG/ovcM4b4TqYkADKpqZG0Q3pE7rEtv+Pk8k1G/z4BAjNtr+B7zNw49jxaI1eCEwZdnlNTojLtpOdoersw24fngt9LsbUryPJ0PtamAX1fFCm5uTv098T6N4epPy4CkPPDqR9QsZTg3ODtnypE59AJecq0tlC32g0FiksrnJ0LWxOkXbivuVxDIl1NQ+XUfea+h/dbh02XE8OH91IC15Jchrk1HaCvgWuKzr5GDaujwSiX0gg1Q8kgJjhW2jbGbd4Y4T3NP29QUO3zd1aZEH7RRUu7ALSORcWnwEbbl7Y+9I9DffZOojbgLtJLldBy6KhESTwgKv4vvR3pMHQT8LpceEszzG0ut7k2R1P4hkqPbYnSIA3rtwI3pDg7ocO2ImobeOO2KP8ADB0b8Lo/U+D4Nne
|
|
sidebar_class_name: "delete 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={"Delete security groups by pk"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"delete"}
|
|
path={"/api/v1/security/groups/{pk}"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Delete security groups by pk
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./delete-security-groups-by-pk.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./delete-security-groups-by-pk.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./delete-security-groups-by-pk.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|