You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(issue-10): update Stage 2 plan with correct problem analysis
The previous Stage 2 plan incorrectly assumed Hugo Templates Framework
would successfully wget the base site. After analyzing failed runs,
the root problem is that --preserve-base-site tries to download
https://info-tech-io.github.io but fails with wget exit code 8.
However, we already have the downloaded state in current-site from Phase 1!
Key Updates:
- Identify real problem: Hugo Templates Framework wget failure
- Correct solution: Use --base-site-path=../current-site parameter
- Pass existing current-site as local source instead of URL
- Fix config and output paths for workflow compatibility
This fixes preserve-base-site integration without changing strategy logic.
Related: #10, Stage: 2 (Plan Update)
Updates: 002-fix-build-logic.md with correct problem understanding
@@ -237,16 +239,21 @@ Hugo Templates Framework для инкрементальных обновлен
237
239
echo "✅ Final site prepared"
238
240
```
239
241
242
+
**Ключевые изменения**:
243
+
1. **Добавлен параметр `--base-site-path=../current-site`** - это заставляет Hugo Templates Framework использовать уже скачанное состояние вместо попыток wget
244
+
2. **Исправлен путь к config** - используется правильный путь `../hub-repo/configs/documentation-modules.json`
245
+
3. **Исправлен output path** - используется `../docs-build` для совместимости с остальным workflow
246
+
240
247
**Verification**:
241
-
- [ ] Workflow uses federated-build.sh
242
-
- [ ] preserve-base-site flag used for incremental updates
243
-
- [ ] Custom merge logic removed
248
+
- [ ] Добавлен параметр --base-site-path=../current-site для preserve-base-site стратегии
249
+
- [ ] Hugo Templates Framework больше не пытается wget URL
250
+
- [ ] Используется уже скачанное состояние из Phase 1
244
251
- [ ] Syntax is valid YAML
245
252
246
253
**Success Criteria**:
247
-
- ✅ Workflow simplified and uses Hugo Templates Framework
248
-
- ✅ Incremental logic handled by federated-build.sh
249
-
- ✅ No custom merge operations
254
+
- ✅ Hugo Templates Framework использует local base site вместо wget
0 commit comments