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
3.0 KiB
Plaintext
69 lines
3.0 KiB
Plaintext
---
|
|
id: delete-security-user-registrations-by-pk
|
|
title: "Delete security user registrations by pk"
|
|
description: "Delete security user registrations by pk"
|
|
sidebar_label: "Delete security user registrations by pk"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFVl1v2zYU/SvExR4STImToAMCFX3I0hRNV3RB7GwDosClpWtLiUSq5JUbT+B/Hy4pyXbsh30BeZJ4SV6ec+4H2UItjayQ0FiI71soFMRQS8ohAiUr5NETRGDwW1MYzCAm02AENs2xkhC3QKuaVxWKcIEGnHvg1bbWyqLlBWcnJ/xJtSJUxL+yrssilVRoNXq0WrFt7bA2ukZDRdhdobVygRsnWTKFWoBzUW/Rs0dMCVwE+CyrusStjesNLoIMbWqKmo+GGK4JK5FhiYQZb39z8uZ1oX7RJOa6UVksJjkKVh0tYSYMWt2YFEWm0QqlSeBzYWkfqcGHZ3R29rqM7lRtdMrDWYkCFRW0isVvsiwyj0GgMdrs43GpmzLzVDsP3W4+6qfXzqlrRWiULIVFs0QTWMTiQolG4XONKQfNG4VO08Zw6ezh+EGSLAcJIrCYNoY5ci0+fieI7x+4oEguuD7hzqK5xUVhyXiq9hYtXdxcw0MEzNAbrzOIIWT1tHc4bSyaqdncOp2tpr62n49SneHYswxdoJRqATGkd7efIYJSzrBcD0Mi8rgxpTj6Q7y/+nw1uRIJ5ER1PBqVOpVlri3F5yfn5yNZF6Pl6ahHMtpFMjpNQCRJooQ4+igSuGgo16b408/G4meUBo344eLy8mo8nk5+/eXqSwLgogHozYpyrTagDoYBbFHV2lBfUTZRieq7lHg3mI+DbAcMRfxHRlFwkqPM0Nh37QteCcQigY5bAuJHIVPO8inpJ1QuUYeJqk2h6KDHeWxJUmOnHK3DTfqf5FKOfVZtSLBlXMdMK8sqDMzld1mQmCOluWf9P3BuA/EKKdcZkwwJ8lKRuF8oXoacpfnaR70Nsky8Kl/DDscfluhtopiRLvG41IuXSh2+BS6e7ZJ77yMseiKCiYgtImK2Er4wAoOhmCAKN2MMf0eNtn5yrLzvD6GsGsOB2asvvIT5madFhkssdV2hoq7T+LgHR21tNOlUly4ejVp25eKWs9zteLtsLOmqdxHBUpqCG7LtmqN3w/8ZzmVTUgcTIkDVVNx5uiF/LOyI+nEyuRGDHxcBo9n2N/DdATcOLZTn+MkhtBHXN+yEuWw72StVt9+vdv790cdlzBdAIOmbaQszn1UftKkk+/v0+wS6xwxXR5iF4RLwpF3Em6cG5wZt/m+duAgKNdeBzhb6pkZjkWWhgvie2TRx7oR1y9MgiaVK+tute579g3zeOni4+wifaVSXslB8gE+ttkv0e5B1wShOYeNuimA33SGCuH7ixAiRv4e2nUmLd6Z0js3fGjR8rT2sk8/XRFb4l0EG8VyWFndADlc8HNx2b9BDsRZ3G3xnlGrlc7xseAQRPOEqPGTdA+em7z/+9DBxkabo22S/ZecxwUk1dIPQziAC2VC+IeQQ+O6HD9iLqG3DitDT3ADQd37G6Nxf5DIFXA==
|
|
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 user registrations by pk"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"delete"}
|
|
path={"/api/v1/security/user_registrations/{pk}"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Delete security user registrations by pk
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./delete-security-user-registrations-by-pk.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./delete-security-user-registrations-by-pk.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./delete-security-user-registrations-by-pk.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|