Skip to content

Commit 2db59c8

Browse files
committed
docs: split development / stable
Signed-off-by: Jan Pokorný <JenomPokorny@gmail.com>
1 parent e5c8a05 commit 2db59c8

File tree

95 files changed

+10019
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+10019
-57
lines changed

.github/workflows/docs-check.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,24 @@ jobs:
4545
fi
4646
cat changed_files.txt
4747
48-
- name: Enforce docs update
48+
- name: Check for changes in stable docs
49+
run: |
50+
if grep -qE '^docs/stable/' changed_files.txt; then
51+
echo "❌ Changes to 'stable' documentation are not allowed in this PR."
52+
echo " Please make changes in the 'development' directory instead."
53+
exit 1
54+
else
55+
echo "✅ No changes found in 'stable' docs."
56+
fi
57+
58+
- name: Enforce docs update in development
4959
run: |
5060
if [ "${{ steps.skip.outputs.skip }}" = "true" ]; then
5161
echo "🟡 Skipping docs check (No Docs Needed checked)."
5262
exit 0
5363
fi
5464
55-
if grep -qE '^(docs/|CONTRIBUTING\.md$|README\.md$|CODE_OF_CONDUCT\.md$)' changed_files.txt; then
65+
if grep -qE '^(docs/development/|docs/docs.json$|docs/package.json$|docs/tasks.toml$|CONTRIBUTING\.md$|README\.md$|CODE_OF_CONDUCT\.md$)' changed_files.txt; then
5666
echo "✅ Docs updated."
5767
else
5868
echo "❌ No docs changes found and 'No Docs Needed' not checked."

0 commit comments

Comments
 (0)