mirror of
https://github.com/apache/superset.git
synced 2026-05-23 16:55:19 +00:00
Snapshots all four versioned Docusaurus sections at v6.1.0, cut from master after the version-cutting tooling (#39837), broken-internal- links fix (#40102), and user_docs rename (#40171) all landed. With the rename in place, all four sections now produce parallel-named files at the docs/ root (no more bare `versioned_docs/` outlier). Versioning behavior: lastVersion stays at current for every section, so the canonical URLs (/user-docs/..., /admin-docs/..., /developer-docs/..., /components/...) continue to render content from master. The current version is consistently labeled "Next" with an unreleased banner, and 6.1.0 is a historical pin accessible only via its explicit version segment. Component playground: previously disabled: true in versions-config.json, now enabled and versioned. Snapshot includes: - All MDX content for the four sections. - Auto-gen captured fresh: 74 database pages (engine spec metadata), ~1,800 API reference files (openapi.json), 59 component pages (Storybook stories). - Data imports frozen at cut time into snapshot-local _versioned_data/ dirs: user_docs_versioned_docs/version-6.1.0/_versioned_data/src/data/databases.json (canonical 80-database diagnostics from master, preserved by the generator's input-hash cache) admin_docs_versioned_docs/version-6.1.0/_versioned_data/data/countries.json admin_docs_versioned_docs/version-6.1.0/_versioned_data/static/feature-flags.json developer_docs_versioned_docs/version-6.1.0/_versioned_data/static/data/components.json - Import paths in deeply-nested files rewritten so they still resolve from one directory deeper inside the snapshot. - developer_docs/extensions/overview.md snapshot has the FIXED ./mcp.md form (from #40102), so the SPA-nav 404 isn't baked into the 6.1.0 version. Verified via full yarn build: exit 0, no broken links surfaced by onBrokenLinks: throw.
67 lines
2.9 KiB
Plaintext
67 lines
2.9 KiB
Plaintext
---
|
|
id: format-sql-code
|
|
title: "Format SQL code"
|
|
description: "Format SQL code"
|
|
sidebar_label: "Format SQL code"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV21v2zYQ/ivEYUATTImTvQAFi35IgxZtFzRp7WAboiClpYvFhiIVknLiCfrvw5GyrPhlwNIP/WSLOh7vee6546kBi/c1Ov/G5AvgDWRGe9Se/oqqUjITXho9+uaMpjWXFVgK+ldZU6H1Eh095cKLqXB4I/PwiC6zsqKt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pYsE5sJKmtBc12GDmzj33Yo4SlCYQHNUXVL76h7px8EGV+8nkwvW+2kToGie+uvxbgQ3jn2Y3mlRIjOWfbggJ4TlqZOtVHX7g3XbUiKXvThMihFk6MgNTINIY2qpzP6cUI6CGfDuLfQ3SQDdJrT5xuKtRVc81wl5cUZ/WX1EvN0xvB591/CagNS3ZnOEH9cVWofDyXqwRBKNdvPjyLzzpQg3MaVkazU88d9fxx4f/ahSQobLPgi16QrlCkQl6bDjCEiJKSSwKhdIgJQVpXMFTUOUXFrVtrQc529+db1Sb7hiE4jtKVTYHS5I7YNGE8SuagptY86gUoo7TrIMQ6vdbXs9qH/qjpDAtPsULIkQDlY80PeBeAAOkIAJ1MS5ntZiw6/jEBJ9kipo9hvw16un+0OouldCLwYRNk20iH2WSj5CCXcTtNdt2/4LyisNlQ==
|
|
sidebar_class_name: "post 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={"Format SQL code"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"post"}
|
|
path={"/api/v1/sqllab/format_sql/"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Format SQL code
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./format-sql-code.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./format-sql-code.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|