← All posts
1 min read

Docs-as-Code Synchronization

WPB

September 26, 2026

Docs-as-Code Synchronization

Doc Boss empowers developers to write documentation in pure Markdown inside their version-controlled repositories and deploy directly to WordPress.


Command-Line Syncing

Execute the sync command with WP-CLI:

bash
# Sync docs from default plugin directory
wp doc-boss sync

# Sync from a custom plugin or repo directory
wp doc-boss sync --dir=/var/www/html/wp-content/plugins/my-plugin/docs

The synchronizer calculates SHA-256 hashes of markdown files, ensuring that only updated documents trigger database updates and cache invalidation.


Supported Markdown Enhancements

1. GitHub Alert Callouts

NOTE
Helpful background information.
TIP
Actionable optimization suggestion.
WARNING
Important caution before executing.
markdown

2. Multi-Tab Code Fences

`bash

wp doc-boss sync

`

`php

do_action(‘doc_boss_sync’);

`

markdown

Or don't do it yourself

Hand the whole thing
to us.

Graphics, social, websites. We are the startup team for small brands that do not have one. You keep the focus. We run the output.

Book a Call →

← Previous

Getting Started with E Boss

Next →

Installation & Client Integration