Files
superset2/docs/developer_docs_versioned_docs/version-6.1.0/api/set-a-theme-as-the-system-dark-theme.api.mdx
Claude Code 4ee42fe5b8 docs: cut 6.1.0 versions for user_docs, admin_docs, developer_docs, components
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.
2026-05-15 22:36:30 -07:00

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/iuHw4AlmBI3WQsEKvohDVq0WZEGtbMXREF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bXcPxCpteipust+a+2yaeYxv6R6zgxnLod0YQtz37wNdQ0JwqbWpSvu9EIbOiodZY7XWuqy4djVo21aUtV1b3yNpZ47yulyYSnAsruWG7vnkGM/y/oJmIKx67iQmSamruTP0j/4T+tGn/3WRyCYOdLkH2ZtPegPeRc+PYYvmOl2fQFt5fshHGsmlkJ1W9fpDuwia9bLPjPPbTtG+2LU5DAr/VthZs7/yPCfZrOddfvMVhSATQXcLKt5Zmllz5vUY6/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>