https://github.com/adamraichu/fabric-docs-version-switcher
An extension which ensures the documentation you are looking at is for the version you are working on
https://github.com/adamraichu/fabric-docs-version-switcher
chrome-extension crx fabric-api fabricmc
Last synced: 2 months ago
JSON representation
An extension which ensures the documentation you are looking at is for the version you are working on
- Host: GitHub
- URL: https://github.com/adamraichu/fabric-docs-version-switcher
- Owner: AdamRaichu
- License: mit
- Created: 2023-04-30T20:15:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T00:29:10.000Z (about 3 years ago)
- Last Synced: 2026-01-21T08:49:37.590Z (5 months ago)
- Topics: chrome-extension, crx, fabric-api, fabricmc
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Fabric API Docs Version Switcher
An extension which ensures the documentation you are looking at is for the version you are working on.
Often when I am googling classes from the fabric api, the google results are not for the latest version of the game, and manually updating the url each time is time-consuming.
This extension allows you to set a preference for a version, then automatically redirects you to the documentation for that version whenever you visit maven.fabricmc.net.
This currently works for `https://maven.fabricmc.net/docs/fabric-api-{API_VERSION}+{MC_VERSION}`, as well as `https://maven.fabricmc.net/docs/yarn-{MC_VERSION}+{BUILD_ID}`.
Please open an issue if you know of packages with the same problem (different versions posted in different subpaths of same domain) and I can add fixes for those as well.
This extension also fixes a css error with long values inside `` elements inside ``s, adding `overflow-x: auto` to them so they don't cause the entire page to have a scrollbar.