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.1 KiB
Plaintext
69 lines
3.1 KiB
Plaintext
---
|
|
id: get-security-groups-info
|
|
title: "Get security groups info"
|
|
description: "Get metadata information about this API resource"
|
|
sidebar_label: "Get security groups info"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzNV21v2zYQ/iuHwz4kmBo3xQYUKvohDdI0ew3mdB0QBy4tnW02FKmSlBtX0H8fjpQcyXYyrB3QfZJE3h2f5954qjEnl1lZemk0pnhOHgryIhdegNRzYwvBWyBmpvLgl9LByeUFWHKmshlhgqWwoiBP1mF6XWNmtCftMa1RlKWSWdAffXBsv0aXLakQ/FZaU5L1klyQzfNpZlRV6O5Tsp5QlwOxoVIpFsRPvy4JU5Ta04IsNknYmTr5ee92k3RLZvaBMo/7FiiX/v+F6JbW4QzpqQgvpKsC0+uB77aAJziXKsQmwZJsIZ2TJqyzkpdeUafSfWijCW825ztvpV70AAlrxXoP5ASjhRQX5KecO9M22A0LS06vjxXZNZ8hChb8iM1NgpZcabSLDnz29Ck//pss+seg7gh03tqxHJWmEXgvBkOpbntYVFdLgmgYWOAI3kmlYEbgrdBOCU85zNYwEzNSuMfxfILwxj5qOQpxqd7SGryByhEYDU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U0vBx/TLhSHgT+EJBbWodfGU5tVfF+qNkuz8M1lmBsJuGEqHCSZRRaWqe1c4sPKv/8jCPNA07v6t7Eu31h693crNc923UdJWJ34iKNIEJ3xobH3L8BX6WVww==
|
|
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 groups info"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"get"}
|
|
path={"/api/v1/security/groups/_info"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Get metadata information about this API resource
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./get-security-groups-info.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./get-security-groups-info.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./get-security-groups-info.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|