mirror of
https://github.com/apache/superset.git
synced 2026-05-22 08:15:36 +00:00
Snapshots all four versioned Docusaurus sections at v6.1.0. Built on top of the version-cutting tooling work in chore/docs-cut-6.1.0-versions so the snapshot benefits from: - Auto-gen refresh before snapshotting (database pages from engine spec metadata, API reference from openapi.json, component pages from Storybook stories) — captured at the SHA we cut from rather than whatever happened to be on disk. - Data-import freeze: country list, feature flag table, database diagnostics, and component metadata are copied into snapshot-local `_versioned_data/` dirs so the historical version doesn't silently mutate when the source files change. - Depth-aware import-path rewriter that handles deeply-nested component MDX files referencing `../../../src/` from the snapshot. Versioning behavior: `lastVersion` stays at `current` for every section, so the canonical URLs (`/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. The plugin block in docusaurus.config.ts was already gated only by the `disabled` flag, so no other code changes were needed to bring it back online. The frozen `databases.json` in the snapshot is the canonical 80-database artifact from the latest committed state in master (preserved by the generator's input-hash cache), not a fallback regenerated from a local Flask environment.
69 lines
3.2 KiB
Plaintext
69 lines
3.2 KiB
Plaintext
---
|
|
id: set-a-theme-as-the-system-default-theme
|
|
title: "Set a theme as the system default theme"
|
|
description: "Set a theme as the system default theme"
|
|
sidebar_label: "Set a theme as the system default theme"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV21v2zYQ/iuHw4AlmBI3XQcUKvohDVq0XZEGtbMXREFKS+eIjUSyJOXGE/TfhyMl+SUesK0f8skWdXe657lXtmiEFTV5sg7TqxYLcrmVxkutMMVZSeBLqglkgQlKPjPCl5igEjXx0x0maOlrIy0VmHrbUIIuL6kWmLboV4alpPJ0Sxa77pqlndHKkWOBp0+e8E+ulSfl+a8wppK5YA8mXxy70W4YNFYbsl5GbVns+0j4RFP5jXfOW6luseuS4UTPv1DuWZjuRW0qGuydrNXXal3ykJmawDV5Ts4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igu4SVbywtLLny/xrp+N6w0BHOlveNIeuIafHS81jaPOLciXLLk0iJ87UIw7C/evz7RN767jgpPd37iamEDAtTyKy2T/IrFEayEyfsXG8lDXedPbl+PUT9Ctt2Lhxd2qrr+PhrQ5Yn4PU68eItS4YlosB0ISpHDzwctwE8+NSvtIewcxnbi6I/FGoVcr1q+AkT7uXxstZdc46Gxhc8iS9O85xCZx5UHuwgnFxjP7i45LjzOr1B5xj9/g9b3+tO20aJ2Em70bswhNjBrvsbSfUI0g==
|
|
sidebar_class_name: "put 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={"Set a theme as the system default theme"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"put"}
|
|
path={"/api/v1/theme/{pk}/set_system_default"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Set a theme as the system default theme
|
|
|
|
<Heading
|
|
id={"request"}
|
|
as={"h2"}
|
|
className={"openapi-tabs__heading"}
|
|
>
|
|
<Translate id="theme.openapi.request.title">Request</Translate>
|
|
</Heading>
|
|
|
|
<ParamsDetails
|
|
{...require("./set-a-theme-as-the-system-default-theme.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./set-a-theme-as-the-system-default-theme.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./set-a-theme-as-the-system-default-theme.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|