Skip to content

feat(lib): move to std directory, versioned path, documentation - #2122

Merged
WalkQuackBack merged 26 commits into
mainfrom
test/library-versioning
Aug 12, 2026
Merged

feat(lib): move to std directory, versioned path, documentation#2122
WalkQuackBack merged 26 commits into
mainfrom
test/library-versioning

Conversation

@WalkQuackBack

@WalkQuackBack WalkQuackBack commented Feb 4, 2026

Copy link
Copy Markdown
Member

Implement versioning into the Standard Library.

Checklist before merging:

  • Update documentation to reflect new structure
  • Document introduction of new library updates by Userstyles Staff

@WalkQuackBack
WalkQuackBack marked this pull request as draft February 4, 2026 00:24
@WalkQuackBack WalkQuackBack added 1.importance: on-roadmap Planned on the roadmap 4.topic: libraries Relating to the standard library and/or library modules 6.by: staff Authored by a staff member labels Feb 5, 2026
@WalkQuackBack WalkQuackBack changed the title test: library versioning feat(lib): implement versioning Feb 6, 2026
Comment thread lib/lib.less Outdated
Comment thread lib/lib.less
Comment thread lib/lib.less Outdated
@uncenter
uncenter marked this pull request as ready for review April 14, 2026 16:19
@uncenter

Copy link
Copy Markdown
Member

Ah hmm. I think the imports are failing because we aren't replacing them in the lib content itself. Will try to think of a fix.

@uncenter

Copy link
Copy Markdown
Member

Ah hmm. I think the imports are failing because we aren't replacing them in the lib content itself. Will try to think of a fix.

To clarify for myself - the imports of userstyles.catppuccin.com in the lib shim aren't being replaced because we are only patching URLs in the main userstyle content itself. The better approach would be to intercept fetch requests to that host and return responses to the local file system, but I'm having trouble implementing that in Deno.

@uncenter uncenter changed the title feat(lib): implement versioning feat(lib): relocat lib to std/ directory, versioned path, documentation Jul 20, 2026
@uncenter uncenter changed the title feat(lib): relocat lib to std/ directory, versioned path, documentation feat(lib): move to std directory, versioned path, documentation Jul 20, 2026
@uncenter

Copy link
Copy Markdown
Member

This is looking good to me with a new documentation structure and updated for v1, v1 moved from lib/lib.less to lib/std/v1.less, and the linting has been fixed to match the local repository instead of the remote website in #2292.

uncenter
uncenter previously approved these changes Jul 21, 2026

@WalkQuackBack WalkQuackBack left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made some minor edits and moved some links around, but overall looks good! Thanks for the work documenting all of this ;)

Comment thread docs/src/content/docs/contributing/reference/libraries/modules/index.md Outdated
Comment thread docs/src/content/docs/contributing/reference/libraries/modules/index.md Outdated
Comment thread docs/src/content/docs/contributing/reference/libraries/modules/index.md Outdated
Comment thread docs/src/content/docs/contributing/reference/libraries/modules/index.md Outdated
Comment thread docs/src/content/docs/contributing/reference/libraries/modules/index.md Outdated
Comment thread docs/src/content/docs/contributing/reference/libraries/standard/index.mdx Outdated
Comment thread docs/src/content/docs/getting-started/faq.md
Comment thread docs/src/content.config.ts
Comment thread docs/astro.config.mjs
Comment thread scripts/generate/templates/userstyle-issue.yml
uncenter and others added 5 commits July 21, 2026 10:29
Co-authored-by: WalkQuackBack <quacksareback@duck.com>
Co-authored-by: WalkQuackBack <quacksareback@duck.com>
Co-authored-by: WalkQuackBack <quacksareback@duck.com>
@uncenter

Copy link
Copy Markdown
Member

Good to go?

@WalkQuackBack

Copy link
Copy Markdown
Member Author

Did one more review, looks good! @uncenter you may approve

@uncenter uncenter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@WalkQuackBack

Copy link
Copy Markdown
Member Author

CI passed, LGTM

@WalkQuackBack
WalkQuackBack merged commit f2dc45c into main Aug 12, 2026
3 checks passed
@WalkQuackBack
WalkQuackBack deleted the test/library-versioning branch August 12, 2026 18:34
@WalkQuackBack
WalkQuackBack restored the test/library-versioning branch August 12, 2026 18:35
@uncenter
uncenter deleted the test/library-versioning branch August 12, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.importance: on-roadmap Planned on the roadmap 4.topic: libraries Relating to the standard library and/or library modules 6.by: staff Authored by a staff member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants