[release]: generating website during prereleases can be improved #13231
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
chore
This change is not user-facing
infrastructure
Relates to the tools used in the ESLint development process
The version of ESLint you are using.
master
The problem you want to solve.
There are currently a few issues with our site generation script surrounding the process of releasing prerelease versions.
_data/rules.yml
file in the website repo gets updated to include rules that have been added during the prerelease. This means that we end up with broken links on our rules page, because the actual documentation for these rules only exists in/docs/7.0.0/rules/
.docs/6.0.0/
is the documentation that was generated during that prerelease cycle and would therefore be out of date.Your take on the correct solution to problem.
_data/rules.yml
file during prereleases (fixed by Chore: fix rules list for prereleases #13230)./docs/{version}/
as well as the top level/docs/
directory, regardless of whether we're running a prerelease or not. The current system treats these directories as temporary pages (only up to date during the prerelease stage of our major release process), which I think is both confusing and forces us to manual update the files.Are you willing to submit a pull request to implement this change?
Yes!
The text was updated successfully, but these errors were encountered: