mirror of
https://github.com/apache/superset.git
synced 2026-05-22 08:15:36 +00:00
CI caught a follow-on bug from the previous commit. The component files emitted by generate-superset-components.mjs are `.mdx`, but my generator patch appended `.md` to the link suffix. Result: the generated index pages (ui/index.mdx, design-system/index.mdx, and the build-time-generated extension/index.mdx) reference `./autocomplete.md`, `./dropdowncontainer.md`, etc. — all targets that don't exist (the real files are `.mdx`). Docusaurus's `onBrokenMarkdownLinks: 'throw'` correctly bombs the build. Worth calling out: this is exactly the failure mode the previous commit was trying to fix — bare relative links 404'd silently; now that they go through the file resolver, the resolver catches the extension mismatch instead. The system is working; my fix was just wrong on this one detail. Two corrections: 1. generate-superset-components.mjs now emits `.mdx` suffix (not `.md`) on the component links it produces, matching the actual page file format. Comment updated to make the intent explicit for future maintainers. 2. The two committed auto-generated index files (developer_docs/components/ui/index.mdx and developer_docs/components/design-system/index.mdx) had 46 + 7 = 53 `.md` link suffixes from the previous commit. Bulk-corrected to `.mdx` to match their actual targets. The third generated file (components/extension/index.mdx) is produced at build time and not committed; the generator fix above handles it. Verified with a re-audit script: 92/92 markdown-link targets across the PR's modified files now resolve to real `.md` / `.mdx` files on disk. lint-docs-links still passes (it only fails on missing extensions, not on this category of mismatch — that's `onBroken MarkdownLinks`'s job, and it WAS doing its job here).
78 lines
2.3 KiB
Plaintext
78 lines
2.3 KiB
Plaintext
---
|
|
title: Core Components
|
|
sidebar_label: Core Components
|
|
sidebar_position: 1
|
|
---
|
|
|
|
<!--
|
|
Licensed to the Apache Software Foundation (ASF) under one
|
|
or more contributor license agreements. See the NOTICE file
|
|
distributed with this work for additional information
|
|
regarding copyright ownership. The ASF licenses this file
|
|
to you under the Apache License, Version 2.0 (the
|
|
"License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing,
|
|
software distributed under the License is distributed on an
|
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
KIND, either express or implied. See the License for the
|
|
specific language governing permissions and limitations
|
|
under the License.
|
|
-->
|
|
|
|
# Core Components
|
|
|
|
46 components available in this category.
|
|
|
|
## Components
|
|
|
|
- [AutoComplete](./autocomplete.mdx)
|
|
- [Avatar](./avatar.mdx)
|
|
- [Badge](./badge.mdx)
|
|
- [Breadcrumb](./breadcrumb.mdx)
|
|
- [Button](./button.mdx)
|
|
- [ButtonGroup](./buttongroup.mdx)
|
|
- [CachedLabel](./cachedlabel.mdx)
|
|
- [Card](./card.mdx)
|
|
- [Checkbox](./checkbox.mdx)
|
|
- [Collapse](./collapse.mdx)
|
|
- [DatePicker](./datepicker.mdx)
|
|
- [Divider](./divider.mdx)
|
|
- [EditableTitle](./editabletitle.mdx)
|
|
- [EmptyState](./emptystate.mdx)
|
|
- [FaveStar](./favestar.mdx)
|
|
- [IconButton](./iconbutton.mdx)
|
|
- [Icons](./icons.mdx)
|
|
- [IconTooltip](./icontooltip.mdx)
|
|
- [InfoTooltip](./infotooltip.mdx)
|
|
- [Input](./input.mdx)
|
|
- [Label](./label.mdx)
|
|
- [List](./list.mdx)
|
|
- [ListViewCard](./listviewcard.mdx)
|
|
- [Loading](./loading.mdx)
|
|
- [Menu](./menu.mdx)
|
|
- [Modal](./modal.mdx)
|
|
- [ModalTrigger](./modaltrigger.mdx)
|
|
- [Popover](./popover.mdx)
|
|
- [ProgressBar](./progressbar.mdx)
|
|
- [Radio](./radio.mdx)
|
|
- [SafeMarkdown](./safemarkdown.mdx)
|
|
- [Select](./select.mdx)
|
|
- [Skeleton](./skeleton.mdx)
|
|
- [Slider](./slider.mdx)
|
|
- [Steps](./steps.mdx)
|
|
- [Switch](./switch.mdx)
|
|
- [TableCollection](./tablecollection.mdx)
|
|
- [TableView](./tableview.mdx)
|
|
- [Tabs](./tabs.mdx)
|
|
- [Timer](./timer.mdx)
|
|
- [Tooltip](./tooltip.mdx)
|
|
- [Tree](./tree.mdx)
|
|
- [TreeSelect](./treeselect.mdx)
|
|
- [Typography](./typography.mdx)
|
|
- [UnsavedChangesModal](./unsavedchangesmodal.mdx)
|
|
- [Upload](./upload.mdx)
|