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.3 KiB
Plaintext
69 lines
3.3 KiB
Plaintext
---
|
|
id: get-security-user-registrations-by-pk
|
|
title: "Get security user registrations by pk"
|
|
description: "Get an item model"
|
|
sidebar_label: "Get security user registrations by pk"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFWG1v2zYQ/isHYh8STI2bogMKFf3gZmmbruuC2FkHRIFLS2dLNUUqJOXEE/TfhyMlW47lNmsL5FPClzve8/C548kVS9DEOitspiQL2Vu0wCVkFnPIVYKCBazgmudoURsWXlUso30FtykLmOQ50mjBAqbxpsw0Jiy0usSAmTjFnLOwYnZV0K5MWpyjZnUdVCxW0qK0tMyLQmQxpwgGXwyFUXWMC60K1DZDQ6NYiTKX7l+K0XTcG6szOWd10E5wrfmKxgtcbVugLHMWXjGTqttJ6zLoUtGZFXyKojN2RjazAokAJZFdB9+KYTOhpl8wtixg3kPI5mgnFNikgVzTZsfxTYl6tSH5htXXxLIplDSejWdPn3pSvovLPrh7CJ/4GKp7ahmnCJ0ZmCkNNkXwRkBGR/ApEwKmCFZzaQS3mMB0BVNilQUM73heOCKG8DGLv+aP7dC8QytRl/TH6SSdJbtO7t/w/6fA2f8U8H2eHg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JrPYpK4X920og50HZDxRONMo0m/14n7gpyp3SZ6VBaoDXb7/c4UacfvWx57SozNuXuUmoaUfh5o8QLpELZ0SO23q89bp3ZevN7fF5rQLd7ZQSF45npbp7qqyYErxouMAjxmndcmYLuZwAIWFgvSjBfFFauqKTd4qUVd07T/qKYE2RvjvpAWuHKf4aRoUdK6y9pW3t5p5lqGhIUzLgx+hYmDi6bFO4R9B7afR3LVPbMNpFiw+prU7+qXO90vDOMYXTVtTXa6jK1i8/aUFEUtZae1WOuq+Ye894ZTVX6HL4j1Ojr3MFCAdf0ffVdlkQ==
|
|
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 security user registrations by pk"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/api/v1/security/user_registrations/{pk}"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Get an item model
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./get-security-user-registrations-by-pk.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./get-security-user-registrations-by-pk.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./get-security-user-registrations-by-pk.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|