Skip to content

chore: sync develop into main#51

Closed
kimchanhyung98 wants to merge 237 commits intomainfrom
develop
Closed

chore: sync develop into main#51
kimchanhyung98 wants to merge 237 commits intomainfrom
develop

Conversation

@kimchanhyung98
Copy link
Copy Markdown
Member

Summary

Conflicts to resolve

main 단독 커밋:

  • 1795a06 fix(docs): correct broken links and anchors across all versions
  • d403334 fix: update documentation links to 13.x
  • 9f3778c docs: translate v13 docs to Korean
  • 8f9e899 docs: add docs for v13.x and update docs config

Test plan

  • 충돌 해결 후 빌드 확인
  • E2E 테스트 통과 확인
  • v13 문서 반영 상태 검증

Copilot AI and others added 30 commits February 11, 2026 04:15
Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
Configure additionalLanguages in Prism config for PHP, Bash, INI, Nginx,
Docker, Apache, JSON, YAML, SQL, and Markup. Add swizzled
prism-include-languages.ts with aliases for Blade (→PHP), env (→INI),
Vue (→Markup), and shell (→Bash).

Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
- Add scripts/sync-docs.sh to clone and copy docs from source repo
- Modify deploy.yml to fetch latest docs at build time with repository_dispatch trigger
- Add sync-docs.yml workflow for on-demand sync via repository_dispatch/workflow_dispatch

Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
…ries

Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
Add Python source code for doc sync & translation (source/ directory),
GitHub Actions workflow for automatic daily updates, and update README
to reflect the consolidated repository structure.

Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
Co-authored-by: kimchanhyung98 <60088641+kimchanhyung98@users.noreply.github.com>
Introduce repository tooling and policy files: add Husky hooks (pre-commit, pre-push, commit-msg) and validation scripts for branch/commit naming; add GitHub Actions to validate branch names and PR titles; add PR template and docs for branch/commit/PR guidelines. Add .claude configuration and local Hookify rules (security, docs sync, tests, package block), a scope-guard hook script to prevent unsafe tool/file operations, hooks config, skills and memory placeholders, and agent definitions for code review, docs, and testing. Add codex config, Dependabot config, and expand .gitignore to cover more OS, IDE, packaging and agent-related files.
Add project governance and policy files: Contributor Covenant (CODE_OF_CONDUCT.md) with enforcement guidelines and contact email, an MIT LICENSE (copyright 2026 kimchanhyung98), a SECURITY.md with supported versions and vulnerability reporting guidance, and a CLAUDE.md symlink pointing to AGENT.md.
Update Claude configuration for the laravel-docs workspace: change repoContainerTag in .claude/.supermemory-claude/config.json.example from "base" to "laravel-docs", enable several official plugins in .claude/settings.json (frontend-design, playwright, typescript-lsp, vercel), and update the welcome message to reference "laravel-docs". These changes tailor the local Claude settings to this project environment.
chore(base): apply base project common configurations
Bumps [@easyops-cn/docusaurus-search-local](https://github.com/easyops-cn/docusaurus-search-local/tree/HEAD/packages/docusaurus-search-local) from 0.49.2 to 0.55.1.
- [Release notes](https://github.com/easyops-cn/docusaurus-search-local/releases)
- [Commits](https://github.com/easyops-cn/docusaurus-search-local/commits/v0.55.1/packages/docusaurus-search-local)

---
updated-dependencies:
- dependency-name: "@easyops-cn/docusaurus-search-local"
  dependency-version: 0.55.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Fix globalThis.Prism restoration to use PrismBefore instead of
PrismObject, and add missing aliases for sh, apache, dockerfile.

Co-Authored-By: Claude <noreply@anthropic.com>
Add a Makefile to streamline developer setup and common tasks. Provides help, dev (runs init, claude, speckit), check (tests/lint placeholders), init (verifies .env and Docker, starts compose if present, installs npm deps in a node container), claude (validates claude config and downloads AGENT.md), and speckit (wraps specify CLI to init an AI agent). Sets .PHONY and default goal to help.
Removed Python-related entries from .gitignore
feat(source): integrate laravel-docs-source into repository
feat(ci): automate document sync from laravel-docs-source
Add common Python build/artifact patterns to .gitignore: __pycache__/, *.py[cod], and *$py.class to exclude compiled bytecode, and .venv/ to ignore virtual environment directories. This keeps the repository free of generated files and local envs.
Remove sync-docs workflow and shell script that referenced the
now-deleted laravel-docs-source repository. The OpenAI translation
pipeline (update-docs.yml + main.py) is the single source of truth.

Co-Authored-By: Claude <noreply@anthropic.com>
- Delete init.py (unreferenced older version of main.py)
- Delete filtering.py (unnecessary markdown filtering)
- Delete token_counter.py (unnecessary tiktoken dependency)

Co-Authored-By: Claude <noreply@anthropic.com>
- Fix shell injection: use shlex.split() instead of shell=True
- Add stale file cleanup in docs.py before copying new files
- Add null check for OpenAI API response content
- Cache OpenAI client and system prompt at module level
- Remove unused filtering/token_counter imports from translation.py
- Check update_branch_docs() return value in main.py

Co-Authored-By: Claude <noreply@anthropic.com>
deploy.yml:
- Remove repository_dispatch trigger and sync-docs.sh step
- Upgrade action versions to latest

update-docs.yml:
- Add concurrency guard to prevent race conditions
- Add Azure OpenAI secrets to env block
- Fix git config to use local scope instead of --global
- Scope git add to versioned_docs/ and versioned_sidebars/
- Simplify change detection with git diff --cached

Co-Authored-By: Claude <noreply@anthropic.com>
- Rename project to laravel-docs-translation
- Remove unused dependencies (tiktoken, requests)
- Pin dependency versions
- Fix Azure API version default in .env.example
- Remove duplicate .gitignore entries
- Remove obsolete filtering section from README
- Fix workflow anchor link and license label in README

Co-Authored-By: Claude <noreply@anthropic.com>
…s-cn/docusaurus-search-local-0.55.1

chore(deps): bump @easyops-cn/docusaurus-search-local from 0.49.2 to 0.55.1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
kimchanhyung98 and others added 28 commits April 26, 2026 02:40
feat: restructure docs updater as GitHub Actions tool
…older-handling

feat(docs): auto-handle Laravel origin placeholder and anchor patterns
PR #52가 처리하지 못했던 두 가지 잔여 깨짐을 추가로 수정한다.
원본 .md를 그대로 빌드해도 헤딩 잔재 텍스트나 미하이라이트 코드
블록이 보이지 않도록 한다.

1. 헤딩 끝 Pandoc 속성 평문 노출 제거
   - `{.collection-method ...}` 같은 Pandoc 속성 문법이 평문으로
     그대로 출력되는 문제. 새 strip-pandoc-attrs remark 플러그인이
     헤딩 노드의 마지막 텍스트에서 패턴을 잘라낸다.
   - CSS 클래스 부여는 method-class 플러그인이 별도로 처리하므로
     평문 제거가 시각 스타일에 영향을 주지 않는다.

2. blade 코드 블록 → markup 별칭 처리
   - PrismJS에 blade 컴포넌트가 없어 ```blade 펜스 블록이
     하이라이트 없이 렌더링되던 문제. auto-language-plugin에서
     blade 언어 태그를 markup(HTML)으로 별칭 처리한다.

Co-Authored-By: Claude <noreply@anthropic.com>
fix: origin docs 렌더링 잔여 깨짐 보강 (Pandoc 속성·blade 하이라이트)
…on prompt

- main.py: normalize known anchor reference mismatches (#agents-integration ↔ <a name="agent-integration">), ensure installation.md frontmatter (slug: /), normalize blank line before <a name> anchors
- prompt.md: enforce that all original <a name> anchors must be preserved at the same position and no new anchors may be added
- prompt2.md: full rewrite covering 8.x~13.x re-translation — strict CRITICAL no-translate zones, expanded English-kept terminology (Laravel ecosystem + cloud + DBs + abbreviations + 13.x AI/MCP terms), Korean naturalness style guide, document-type specific rules (tutorial/reference/upgrade/release-notes/license), 7-question self-check
…ranslations

- Add full source/versioned_docs for version-13.x (Laravel 13.x: ai-sdk, ai, mcp, folio, pulse, etc.)
- Add full source/versioned_docs for version-master (development branch snapshot)
- Generate sidebars for version-13.x and version-master
- Sync upstream changes for 11.x/12.x and refresh selected re-translations under version-12.x (ai-sdk, boost, contributions, eloquent, errors, passport, pint, prompts, queues, responses, sail, sanctum, strings) and version-master (errors, http-client, sail, validation)
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants