palantir/blueprint

docs: view source link is broken for htmlSelectExample

Open

#6.296 aberto em 21 de jul. de 2023

Ver no GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (2.167 forks)batch import
Domain: documentationP3Type: bughelp wanted

Métricas do repositório

Stars
 (20.263 stars)
Métricas de merge de PR
 (Mesclagem média 43d 10h) (27 fundiu PRs em 30d)

Description

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.

Guia do colaborador