Skip to content

Refactor DocUtils Phase 4: Developer documentation for template system #135

@ocots

Description

@ocots

⚪ Phase 4: Developer Documentation for Template System

This issue covers the creation of a comprehensive developer guide for the DocUtils template and extension system. It aims to make it easier for contributors to create new documentation pages and add custom visualizations.

This is part of the global DocUtils refactoring effort (Epic #130).


🎯 Objectives

  • Document the Template System: Explain how .template files work and how they are processed.
  • Reference Guide: Document all available blocks (INCLUDE_ENVIRONMENT, PROFILE_PLOT, PROFILE_ANALYSIS, INCLUDE_FIGURE, INCLUDE_TEXT) and their parameters.
  • Extension Guide: Provide a step-by-step tutorial on how to add a new visualization or analysis tool via the Registry system.

🛠️ Planned Changes

  1. New Documentation Page:
    • Create docs/src/developers/docutils_templates.md.
  2. Content Sections:
    • Architecture Overview: Core vs Handlers.
    • Template Block Syntax: Full reference of blocks and parameters.
    • How-To: Add a new Handler: Implementing and registering a new function.
    • Debugging: Usage of set_doc_debug!.
  3. Docstrings Update:
    • Ensure all core and handler functions have clear, well-formatted docstrings.

🔗 Part of Epic Branch

Work will be performed on branch feat/docutils-P4-dev-docs and merged into refactor/docutils-infra via PR.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions