Skip to content

Broken links on dev after the change to remove index.html pages #3933

Closed
@athomas

Description

@athomas

Links on https://api.dart.dev/dev/latest/dart-core/ are broken.

Example BigInt (note the extra dart-core): https://api.dart.dev/dev/latest/dart-core/dart-core/BigInt-class.html.

The backend bucket serving the site is configured with a main page suffix which is likely the reason for the broken links:
https://cloud.google.com/storage/docs/hosting-static-website#specialty-pages

How is this meant to be working? Should the loadbalancer serve the index.html when it gets a request for https://api.dart.dev/dev/latest/dart-core/? Would that work for older pages as well?

Note: it's likely infeasible to add special rules for versions in the load balancer so we'd have to find some config/dartdoc output combination that makes all stable versions work or do a data migration of the old content.

/cc @kevmoo @srawlins

Metadata

Metadata

Assignees

Labels

P1A high priority bug; for example, a single project is unusable or has many test failurestype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions