=== ID Documentation ===
Contributors: insightdezign
Tags: documentation, docs, knowledge base, sidebar navigation, hierarchical
Requires at least: 5.0
Tested up to: 6.9
Requires PHP: 7.2
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Hierarchical documentation system for WordPress plugins with sidebar navigation, breadcrumbs, and prev/next links.

== Description ==

ID Documentation adds a full documentation system to your WordPress site with a custom post type, taxonomy-based categories, and a polished reading experience.

**Features:**

* Hierarchical `id_doc` post type with parent/child document support
* `doc_category` taxonomy to group docs by plugin or topic
* Sidebar navigation with collapsible sections and active highlighting
* Breadcrumb trail: Docs > Category > Parent > Current
* Previous/Next navigation within the same category
* Archive page with category grid cards
* Taxonomy archive with hierarchical document listing
* Mobile-responsive layout with sidebar toggle
* Hub doc architecture for clean URL organization

**Developer friendly:**

* `doc_category` taxonomy for flexible grouping
* Uses core `menu_order` for document ordering
* WXR XML import files available for bulk content loading
* Clean template structure with helper methods

== Installation ==

1. Upload the `id-documentation` folder to `/wp-content/plugins/`.
2. Activate the plugin through the Plugins menu.
3. Create doc categories and documentation posts under the Documentation menu.
4. Set parent/child relationships and menu order for hierarchy.

== Frequently Asked Questions ==

= How do I organize docs by plugin? =

Create a `doc_category` term for each plugin (e.g., "ID Payment Link Generator"), then assign your docs to that category.

= How does the sidebar navigation work? =

The sidebar automatically builds a hierarchical tree from all docs in the same category, ordered by `menu_order`. Parent docs are collapsible sections.

= What happens when I deactivate the plugin? =

Your documentation posts and categories remain in the database. Reactivate the plugin to restore access.

== Changelog ==

= 1.0.1 =
* Removed deprecated load_plugin_textdomain() call.
* Escaped printf output with absint() in archive template.
* Added phpcs:disable for non-prefixed variables in templates and uninstall.php.
* Added phpcs:ignore for tax_query slow query warnings and Google Fonts null version.

= 1.0.0 =
* Initial release.
