-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
π― Objective
Add professional documentation generation and deployment to the LLM-Prompts repository using docToolchain with GitHub Pages integration.
π Proposed Implementation
1. docToolchain Installation
- Add
dtcwwrapper script for modern docToolchain installation - Create
docToolchainConfig.groovywith microsite configuration - Set up proper AsciiDoc documentation structure in
src/docs/
2. Documentation Structure
- Convert existing Markdown prompts to AsciiDoc format
- Create master document
src/docs/index.adocthat includes all prompts - Organize prompts in
src/docs/prompts/directory - Add images directory for diagrams and assets
3. GitHub Actions Workflow
- Automated building on every push to
mainbranch - Use
generateSitefor professional microsite generation - Deploy to GitHub Pages automatically
- Generate both HTML website and PDF documentation
- Cache dependencies for faster builds
4. Professional Documentation Website
Benefits of generateSite over basic HTML:
- β Enhanced Navigation: Full site navigation with menu structure
- β Search Functionality: Built-in search capabilities
- β Responsive Design: Mobile-friendly documentation
- β Professional Styling: Modern, clean UI
- β Multi-page Structure: Better organization than single-page docs
π File Structure (Proposed)
docToolchain/LLM-Prompts/
βββ dtcw # docToolchain wrapper script
βββ docToolchainConfig.groovy # docToolchain configuration
βββ .github/
β βββ workflows/
β βββ docs.yml # GitHub Actions workflow
βββ src/
β βββ docs/
β βββ index.adoc # Master documentation file
β βββ images/ # Images and diagrams
β βββ prompts/ # Individual prompt files
β βββ architecture-communication-canvas.adoc
β βββ architecture-decision-record.adoc
β βββ quality-scenarios-builder.adoc
β βββ risk-assessment-matrix.adoc
β βββ technical-debt-tracker.adoc
β βββ arc42-chapter-generator.adoc
βββ build/ # Generated documentation (gitignored)
βββ microsite/ # Professional website output
π― Expected Outcome
- Professional Documentation Website: Available at
https://doctoolchain.github.io/LLM-Prompts/ - Automated Deployment: Documentation updates automatically on every push
- Multiple Formats: Both web and PDF documentation available
- Better User Experience: Modern website with navigation, search, and responsive design
- Easy Maintenance: Standard docToolchain workflow for future updates
π Benefits for the Project
- Professional Appearance: Showcase LLM prompts in a polished documentation site
- Better Discoverability: Search functionality helps users find relevant prompts
- Mobile-Friendly: Works well on all devices
- Easy Contributing: Standard docs-as-code workflow
- PDF Export: Downloadable documentation for offline use
π€ Implementation Plan
- Create pull request with docToolchain setup
- Add GitHub Actions workflow for automated building
- Enable GitHub Pages in repository settings
- Test and refine the documentation generation
- Update README with new documentation links
This would make the LLM-Prompts collection much more professional and user-friendly! π
Technical Note: Using the modern dtcw wrapper script ensures easy installation and maintenance, while generateSite creates a superior user experience compared to basic HTML generation.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels