Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: added documentation creation framework #445

Merged
merged 7 commits into from
Nov 29, 2024

Conversation

thecodacus
Copy link
Collaborator

Add MkDocs Documentation Infrastructure

Overview

This PR introduces comprehensive documentation infrastructure using MkDocs Material theme. We're setting up automated documentation deployment through GitHub Actions while preserving existing content as the foundation for our new documentation system.

Key Changes

Documentation Structure

  • Established a new /docs directory with a clear hierarchical structure
  • Migrated existing documentation content, preserving the valuable information while organizing it better
  • Created initial documentation pages including:
    • Main landing page with project overview
    • Contributing guidelines with detailed setup instructions
    • FAQ section addressing common questions

Technical Implementation

  • Configured MkDocs Material theme with responsive design and dark mode support
  • Set up GitHub Actions workflow for automatic documentation deployment
  • Added proper caching mechanisms in the CI pipeline for faster builds
  • Integrated Poetry for Python dependency management in the documentation system

Build and Deployment

  • Added new GitHub Actions workflow (docs.yaml) that:
    • Triggers on main branch pushes and pull requests
    • Uses GitHub Actions bot for commits
    • Implements caching for build optimization
    • Automatically deploys to GitHub Pages

Configuration

  • Added comprehensive MkDocs configuration (mkdocs.yml) with:
    • Material theme customization
    • Navigation structure
    • Search functionality
    • Code syntax highlighting
    • Responsive design settings

Dependencies

  • Added Poetry configuration for documentation dependencies
  • Included necessary Python packages for documentation building
  • Set up proper dependency management through pyproject.toml

Impact

  • Provides a maintainable and scalable documentation system
  • Improves developer experience with better organized documentation
  • Enables automatic deployment of documentation updates
  • Facilitates contribution by providing clear guidelines
  • Enhances project professionalism with well-structured docs

Testing

  • Verified local documentation build process
  • Confirmed proper rendering of all documentation pages
  • Validated responsive design across different devices

Future Improvements

  • Include API documentation generation
  • Add more interactive examples and tutorials

Preview

https://thecodacus.github.io/dash-ai/

@thecodacus thecodacus requested a review from coleam00 November 28, 2024 12:55
@thecodacus thecodacus changed the title Docs docs: added documentation creation framework Nov 28, 2024
@wonderwhy-er
Copy link
Collaborator

Seems like action fails?
https://github.com/coleam00/bolt.new-any-llm/pull/445/checks

@thecodacus
Copy link
Collaborator Author

Seems like action fails? https://github.com/coleam00/bolt.new-any-llm/pull/445/checks

this needs permission to run the github action to publish a new branch in the repo for github pages. As this is still not merged with the repo the action will not work.

@thecodacus thecodacus merged commit 1664055 into stackblitz-labs:main Nov 29, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants