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
Change Request: Permanent solution for multiple docs sites #18229
Comments
This sounds like a proposal just to update how we fill in the dropdown vs. more wholesale changes? And just a reminder, when you move an issue into "Feedback Needed", please ping @eslint/eslint-team |
Yes, perhaps the wording "permanent" wasn't appropriate. I only intended to address synchronization of version dropdowns on docs sites, which is a problem we'll have when we release the v9 final. The solution would also account for future prereleases and future major releases (v10, v11...) so that we don't have the same problem every year, thus "permanent". The sites would keep building from respective branches, only the version list would be fetched from another place (e.g., from the |
That all sounds good to me. It's just the title sounded almost like "let's rethink how we're doing multiple docs sites in general", which I do think is a conversation we need to have...but for now, happy to get the dropdown synchronization correct. 😄 |
Working on this. |
ESLint version
v9.0.0-rc.0
What problem do you want to solve?
Currently, our docs site implementation supports publishing three versions: head (development), next (prerelease), and latest.
When we release v9 final, we'd like the docs for v8.x (v8.57.0) to be available too. Publishing docs for previous versions is currently not supported.
Also, whenever we release a new version, the version selectors on all docs sites should ideally be updated automatically.
Here's an overview of docs sites we'll have in the future.
List Item = entry in version selectors.
Currently, we have:
main
/docs/head/
next
/docs/next/
latest
/docs/latest/
When we release v9 final, we'll have:
main
/docs/head/
latest
/docs/latest/
v8.x
/docs/v8.x/
When we release first v10 prerelease (e.g., after v9.26.0), we'll have:
main
/docs/head/
next
/docs/next/
latest
/docs/latest/
v8.x
/docs/v8.x/
When we release v10 final, we'll have:
main
/docs/head/
latest
/docs/latest/
v9.x
/docs/v9.x/
v8.x
/docs/v8.x/
What do you think is the correct solution?
As for the
v8.x
docs:vNN.x
branches.docs/v8.x
, similar to eslint/eslint.org@f10378f. Netlify is already set up to deploy from thev8.x
branch.As for the version selectors, that's more complicated. The idea is to:
{ version, branch, pathPrefix }
.main
branch during builds (similar to 19370e5) and use that data in version selectors.Does this make sense?
Participation
Additional comments
Notes:
v8.x
).Questions:
https://eslint.org/docs/next/
when we release v9 final - shall we keep this docs site or shall we drop it until v10 prereleases?The text was updated successfully, but these errors were encountered: