fix: Documentation API authentication and build script

- Added X-WP-Nonce header to docs API fetch calls in Help page
- Fixed build-production.sh to include docs/ folder (changed --exclude='*.md' to --exclude='/*.md')
- This allows root-level docs like README.md to be excluded while keeping docs/ folder
This commit is contained in:
Dwindi Ramadhana
2026-01-04 11:53:33 +07:00
parent 68c3423f50
commit 0e38b0eb5f
3 changed files with 9 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ rsync -av --progress \
--exclude='admin-spa' \
--exclude='examples' \
--exclude='*.sh' \
--exclude='*.md' \
--exclude='/*.md' \
--exclude='archive' \
--exclude='test-*.php' \
--exclude='check-*.php' \