-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conditional removal of changelogs (#4943)
* conditional removal on changelogs * Revert "conditional removal on changelogs" This reverts commit f365e6d. * conditional changelogs removal * lint * fixed small error * suggested changes added
- Loading branch information
Showing
2 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
orphan: true | ||
--- | ||
|
||
# Changelogs missing from local build | ||
|
||
The documentation build excludes changelogs unless it is in a CI environment or | ||
explicitly instructed to include changelogs. This significantly reduces the | ||
number of files processed for local preview builds, which cuts startup time of | ||
the documentation preview by half and improving the ergonomics of working with | ||
preview documentation locally. | ||
|
||
To force the inclusion of the changelogs, run the documentation build with | ||
`INCLUDE_CHANGELOGS=1` in your environment. For example, the following will run | ||
the preview build, including changelogs: | ||
|
||
```shell | ||
ov env INCLUDE_CHANGELOGS=1 just documentation/serve | ||
``` |