Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mappable documentation pathnames #11

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Add mappable documentation pathnames #11

merged 2 commits into from
Mar 28, 2024

Conversation

EthanThatOneKid
Copy link
Contributor

Changes

  • Clean Pathnames: Implement cleaner documentation pathnames by using Array.prototype.map and node names from "#/lib/docs/nodes.ts" after sorting.
  • Unified Playground URLs: Deprecate /playgrounds and migrate playgrounds to use /p/:id URLs for consistency.

Improvements

  1. Clean Documentation Pathnames: We'll simplify documentation pathnames to remove unnecessary prefixes. This will improve readability for users.
  2. Unified Playground URLs: We'll switch playgrounds to use a consistent URL format (/p/:id). This simplifies access and reduces confusion.

Resolves #9.

- export `walkChildren` from `"#/lib/docs/nodes.ts"` after sorting deterministically.
- drop support for `/playgrounds` playgrounds, switch to exclusively `/p` playgrounds.
@EthanThatOneKid EthanThatOneKid merged commit 5e7f4e9 into main Mar 28, 2024
3 checks passed
@EthanThatOneKid EthanThatOneKid deleted the fix/9 branch March 28, 2024 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clean documentation pathnames
1 participant