Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/docs-rtd-pr-preview-plone-aurora.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/docs-rtd-pr-preview-registry.yml

This file was deleted.

14 changes: 12 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,18 @@ build:
# This is a special exit code on Read the Docs that will cancel the build immediately.
- |
git fetch origin main
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yaml requirements-docs.txt \
packages/components/.storybook/ packages/registry/.storybook/ packages/cmsui/.storybook/ packages/layout/.storybook/;
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- \
docs/ \
packages/cmsui/.storybook/ \
packages/cmsui/**/*.stories.* \
packages/components/.storybook/ \
packages/components/**/*.stories.* \
packages/layout/.storybook/ \
packages/layout/**/*.stories.* \
packages/registry/.storybook/ \
packages/registry/**/*.stories.* \
.readthedocs.yaml \
requirements-docs.txt;
then
exit 183;
fi
Expand Down
2 changes: 1 addition & 1 deletion packages/components/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ build:
# If there are no changes (git diff exits with 0) we force the command to return with 183.
# This is a special exit code on Read the Docs that will cancel the build immediately.
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/seven -- packages/components packages/components/.readthedocs.yaml;
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- packages/components packages/components/.readthedocs.yaml;
then
exit 183;
fi
Expand Down
1 change: 1 addition & 0 deletions packages/components/news/+rtd-run-against-main.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Updated Read the Docs configuration to compare against `main` branch. @stevepiercy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed deprecated and redundant Read the Docs pull request preview workflow. Updated Read the Docs configuration to build documentation on relevant changes and improved its legibility. @stevepiercy
Loading