Mining/docs
snider 07c00430b6 docs: Add Mermaid architecture diagrams
Add visual diagrams to ARCHITECTURE.md:
- System overview diagram showing all components
- Data flow sequence diagram for miner start
- WebSocket event flow diagram

Diagrams render automatically on GitHub and in MkDocs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 11:20:03 +00:00
..
api fix: Address CodeRabbit review findings 2025-12-31 01:28:01 +00:00
development docs: Add MkDocs documentation site with GitHub Pages deployment 2025-12-31 00:25:26 +00:00
getting-started docs: Add MkDocs documentation site with GitHub Pages deployment 2025-12-31 00:25:26 +00:00
reference docs: Add links to algorithm stats and coin projects 2025-12-31 00:34:11 +00:00
stylesheets docs: Add MkDocs documentation site with GitHub Pages deployment 2025-12-31 00:25:26 +00:00
user-guide docs: Add MkDocs documentation site with GitHub Pages deployment 2025-12-31 00:25:26 +00:00
00-START-HERE.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
API.md feat: Rebrand xmrig to miner and vendor XMRig ecosystem 2025-12-30 19:43:02 +00:00
ARCHITECTURE.md docs: Add Mermaid architecture diagrams 2025-12-31 11:20:03 +00:00
CLI.md feat: Rebrand xmrig to miner and vendor XMRig ecosystem 2025-12-30 19:43:02 +00:00
DEVELOPMENT.md feat: Add WebSocket events, simulation mode, and redesigned Miners page 2025-12-31 07:11:41 +00:00
docs.go feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
FILES-INDEX.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
index.md docs: Add links to algorithm stats and coin projects 2025-12-31 00:34:11 +00:00
MANIFEST.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
pool-integration-guide.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
POOL-RESEARCH-README.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
pool-research.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
QUICK-REFERENCE.md feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
README.md docs: Add MkDocs documentation site with GitHub Pages deployment 2025-12-31 00:25:26 +00:00
requirements.txt docs: Add MkDocs documentation site with GitHub Pages deployment 2025-12-31 00:25:26 +00:00
RESEARCH-SUMMARY.txt feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00
swagger.json feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
swagger.yaml feat: Implement logging functionality for miners with log buffer and retrieval endpoint 2025-12-29 22:10:45 +00:00
xmr-pools-database.json feat: Add multi-miner dashboard support and TT-Miner implementation 2025-12-27 22:48:20 +00:00

Mining Documentation

Welcome to the documentation for the Mining project. This folder contains detailed information about the API, CLI, architecture, and development processes.

GitHub Pages Documentation

The full documentation is built with MkDocs and Material for MkDocs theme, and is available at:

https://snider.github.io/Mining/

Local Development

Prerequisites

  • Python 3.x
  • pip

Setup & Serve

  1. Install dependencies:
pip install -r docs/requirements.txt
  1. Serve the documentation locally:
mkdocs serve

The documentation will be available at http://127.0.0.1:8000/

Building

To build the static site:

mkdocs build

The built site will be in the site/ directory.

Legacy Documentation

  • API Documentation: Detailed information about the RESTful API endpoints, request/response formats, and Swagger usage.
  • CLI Documentation: A comprehensive guide to the Command Line Interface, including command descriptions and usage examples.
  • Architecture Guide: An overview of the project's design, including the modular ManagerInterface, core packages, and data flow.
  • Development Guide: Instructions for contributors on how to build, test, and release the project.

Project Structure

docs/
├── index.md                    # Home page
├── getting-started/            # Getting started guides
├── cli/                        # CLI command reference
├── api/                        # API documentation
├── dashboard/                  # Web dashboard docs
├── desktop/                    # Desktop application docs
├── development/                # Development guides
├── architecture/               # Architecture documentation
├── pools/                      # Pool integration docs
├── miners/                     # Miner-specific documentation
├── troubleshooting/            # Troubleshooting guides
├── stylesheets/
│   └── extra.css              # Custom CSS
└── requirements.txt           # Python dependencies

Writing Documentation

Markdown Extensions

This project uses PyMdown Extensions which provide additional features:

  • Admonitions: !!! note, !!! warning, !!! tip, etc.
  • Code blocks: Syntax highlighting with line numbers
  • Tabs: Tabbed content blocks
  • Task lists: GitHub-style checkboxes
  • Emojis: :smile:
  • Mermaid diagrams: Flow charts and diagrams

Example Admonition

!!! tip "Mining Tip"
    Make sure to check your GPU temperature regularly!

Example Code Block

```go title="main.go" linenums="1" hl_lines="2 3"
package main

import "fmt"

func main() {
    fmt.Println("Hello, Mining!")
}
```

Example Tabbed Content

=== "Linux"
    ```bash
    ./miner-ctrl serve
    ```

=== "Windows"
    ```powershell
    miner-ctrl.exe serve
    ```

=== "macOS"
    ```bash
    ./miner-ctrl serve
    ```

Contributing

When adding new documentation:

  1. Create markdown files in the appropriate directory
  2. Add the new page to the nav: section in mkdocs.yml
  3. Follow the existing style and structure
  4. Test locally with mkdocs serve
  5. Submit a pull request

Deployment

Documentation is automatically deployed to GitHub Pages when changes are pushed to the main branch. The deployment is handled by the .github/workflows/docs.yml workflow.

Resources