palantir/blueprint

docs: view source link is broken for htmlSelectExample

开放

#6,296 创建于 2023年7月21日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (2,167 个派生)batch import
Domain: documentationP3Type: bughelp wanted

仓库指标

星标
 (20,263 个星标)
PR 合并指标
 (平均合并 43天 10小时) (30 天内合并 27 个 PR)

描述

View source on GitHub link for HTMLSelectExample page is broken:

leads to hTMLSelectExample.tsx (with only the first letter in lowercase) instead of htmlSelectExample.tsx.

Looks like this is due to https://github.com/palantir/blueprint/blob/d73a4055f2b5f45b1042fd838a1ce2127d5088c6/packages/docs-app/src/tags/reactExamples.ts#L37

Steps to reproduce

  1. go to https://blueprintjs.com/docs/#core/components/html-select
  2. click "View source on GitHub"
  3. observe that it leads to a non-existent file

Actual behavior

Expected behavior

Possible solution

Not sure if we should make an exception for this example only, and I figure it would break for other uppercase example files that could be added in the future.

贡献者指南