-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy path.sync.yml
More file actions
33 lines (29 loc) · 1.21 KB
/
.sync.yml
File metadata and controls
33 lines (29 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Declarative sync config: WrenAI/docs/core → doc website
# Actual repo name and branch are stored in GitHub repository variables
# (vars.DOCS_REPO, vars.DOCS_REPO_BRANCH) — not hardcoded here.
target_dir: docs/oss
# Sync mode: additive overlay
# The sync action only copies/overwrites — it does NOT delete anything in
# the target. Source-side renames or deletions must be reflected in the
# target by a maintainer manually deleting the stale files/folders in the
# docs site repo.
sync_mode: additive
# Top-level files synced (file-level)
sync_files:
- introduction.mdx
# Directories synced (recursive copy, additive — no automatic deletion)
# Plural names (concepts, guides) are deliberate — they keep these synced
# folders separate from GenBI legacy folders that use singular names
# (concept, guide) under docs/oss/genbi/ on the docs site.
sync_dirs:
- get_started
- concepts
- guides
- reference
# Not synced (excluded by being outside sync_dirs / sync_files):
# - README.md — this folder's index
# - .sync.yml — this file
#
# Not in this folder at all (lives only on the docs site, GenBI legacy):
# - docs/oss/genbi/{overview, installation, getting_started, concept,
# guide, ai_service, archived}/