Skip to content

Conversation

bitsalv
Copy link
Collaborator

@bitsalv bitsalv commented Aug 31, 2025

🎯 Overview

This PR implements a clean documentation repository structure with automated sync workflow, addressing the issue edge-mining/edgemining.energy#2.

✨ Features Implemented

πŸ“ Clean Documentation Structure

  • Markdown-only: Repository contains only documentation content
  • Editor-focused: Clear workflow for content contributors
  • Organized structure: Logical organization of documentation files

πŸ”„ Automated Sync Workflow

  • GitHub Actions workflow to automatically sync changes to website repository
  • Triggers on any documentation changes in docs/ directory
  • Seamless integration with website deployment

πŸ“š Initial Content Structure

  • docs/intro.md: Basic project introduction (needs expansion)
  • docs/about-us.md: Initial mission and values (placeholder content)
  • docs/product/: Product documentation foundation (to be developed)
  • docs/modelling/: Architecture documentation skeleton (needs content)
  • docs/contribution.md: Basic contribution guidelines (requires refinement)
  • docs/faq.md: Initial FAQ structure (needs more questions/answers)

πŸ› οΈ Workflow for Editors

1. Edit Documentation β†’ docs/ directory
2. Test Locally β†’ VuePress preview  
3. Create PR β†’ This repository
4. Auto-Sync β†’ edge-mining/edgemining.energy
5. Auto-Deploy β†’ Live site (edgemining.energy)

πŸ“ Repository Structure

docs/
β”œβ”€β”€ intro.md              # Introduction
β”œβ”€β”€ about-us.md           # About Edge Mining  
β”œβ”€β”€ product/              # Product documentation
β”‚   └── product-cycle.md
β”œβ”€β”€ modelling/            # Architecture & DDD
β”‚   β”œβ”€β”€ README.md
β”‚   β”œβ”€β”€ domain-driven-architecture-overview.md
β”‚   └── glossary.md
β”œβ”€β”€ contribution.md       # How to contribute
└── faq.md               # Frequently asked questions

βš™οΈ Setup Required

  1. GitHub Secret: Add EDGEMINING_ENERGY_TOKEN for sync workflow
  2. Repository Permissions: Token needs write access to edge-mining/edgemining.energy

πŸ”— Related

βœ… Benefits

  • πŸ“ Editor-friendly: Contributors only work with Markdown files
  • πŸ”„ Automated: No manual steps for publishing
  • 🎯 Focused: Repository dedicated solely to documentation content
  • πŸš€ Fast: Immediate deployment of documentation changes

⚠️ Note

This PR provides the foundation structure for the workflow proposed in edge-mining/edgemining.energy#2. The documentation setup is functional but requires significant content development:

  • Content Quality: Current documentation is basic and needs substantial expansion
  • Technical Details: Architecture and product documentation need detailed development
  • User Guides: Comprehensive user guides and tutorials need to be created
  • Examples: Code examples and use cases need to be added
  • Review: All content requires technical review and refinement

This foundation enables immediate automated publishing workflow while providing a clear structure for comprehensive documentation development.

- Add content-only repository structure
- Add GitHub Actions sync workflow for cross-repository content sync
- Add complete documentation content (intro, about, product, modelling, contribution, FAQ)
- Add repository documentation and structure guides
- Remove build files and dependencies (content-only approach)
- Add comprehensive documentation for the two-repository workflow
- Fix broken .html links to .md format
- Update repository references from edge-mining to bitsalv
- Correct Discord invite link
- Update README to reflect actual repository structure
- Synchronize documentation between repositories
- Remove duplicate modelling directory and unnecessary files
- Delete PULL_REQUEST_GUIDE.md and REPOSITORY_STRUCTURE.md
- Update README to be editor-focused with clear workflow
- Add specific guidance for editors vs developers
- Clarify repository relationships and contribution workflow
- Fix repository references to original edge-mining repositories
- Remove images/domain-and-subdomains.png (not referenced in docs)
- Remove images/logo 3.png (not referenced in docs)
- Clean repository structure for better organization
- No references to images found in any markdown files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant