<?php
/**
 * Fast Fuzzy Search — Admin Documentation Page
 *
 * Renders the docs content inside the WordPress admin chrome.
 *
 * @package FastFuzzySearch
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

if ( $args ) {
    extract( $args );
}
?>
<section class="wp-sync-docs-layout">
	<nav class="wp-sync-docs-sidebar" aria-label="<?php esc_attr_e( 'Documentation sections', 'fast-fuzzy-search' ); ?>">
		<?php
		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
		echo $sidebar;
		?>
	</nav>

	<main class="wp-sync-docs-main">
		<?php
		// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
		echo $content;
		?>
	</main>
</section>
