mirror of
https://github.com/apache/superset.git
synced 2026-05-22 00:05:15 +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.1 KiB
Plaintext
69 lines
3.1 KiB
Plaintext
---
|
|
id: set-a-theme-as-the-system-dark-theme
|
|
title: "Set a theme as the system dark theme"
|
|
description: "Set a theme as the system dark theme"
|
|
sidebar_label: "Set a theme as the system dark theme"
|
|
hide_title: true
|
|
hide_table_of_contents: true
|
|
api: eJzFV21v2zYQ/iuHw4AlmBI3WQsEKvohDVq0WZEGtbMXREFKS+eIjUSyJOXGE/TfhyNl+SUesLUf8skWeXe657lXtWiEFTV5sg7T6xYLcrmVxkutMMVJSeBLqglkgQlKPjPCl5igEjXx0z0maOlrIy0VmHrbUIIuL6kWmLboF4alpPJ0Rxa77oalndHKkWOB42fP+CfXypPy/FcYU8lcsAejL47daNcMGqsNWS+jtix2vSS8oqn82p3zVqo77LpkeaKnXyj3LEwPojYVLe0drdRXal3ymJmawDV5Ts7N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Kt5Zmllz5vUY6/kqY6Qhnw/vGkHXEtHjpeQ6tH3HuRLn5UaTE+VqE6dd/aPzHFN546TAXPT34kamEDOtRSKu2T+9rFEayB0fsWW8lNTGnN7P8Zhnva2zbqXB0Zauu4+OvDVkedjerlItfUzLsCwWmM1E5euTeMPhx71O/ve7D1kfXTgj9oVCLkOVVw0+YcPOOH2XdDWdnaHbBk3hxmucUWvFS5dG6wWk1tIHLK444b85rXA5x7/+w9Z3utG2UiN2zG7wLU4cd7Lp/ACPD/qs=
|
|
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 dark theme"}
|
|
>
|
|
</Heading>
|
|
|
|
<MethodEndpoint
|
|
method={"put"}
|
|
path={"/api/v1/theme/{pk}/set_system_dark"}
|
|
context={"endpoint"}
|
|
>
|
|
|
|
</MethodEndpoint>
|
|
|
|
|
|
|
|
Set a theme as the system dark 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-dark-theme.ParamsDetails.json")}
|
|
>
|
|
|
|
</ParamsDetails>
|
|
|
|
<RequestSchema
|
|
{...require("./set-a-theme-as-the-system-dark-theme.RequestSchema.json")}
|
|
>
|
|
|
|
</RequestSchema>
|
|
|
|
<StatusCodes
|
|
{...require("./set-a-theme-as-the-system-dark-theme.StatusCodes.json")}
|
|
>
|
|
|
|
</StatusCodes>
|