Documentation Quick Start banner
salacoste salacoste

Documentation Quick Start

Documentation community intermediate

Description

Quick guide to working with the GitHub Pages documentation. ---

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

Repository README

This is the README for salacoste/mcp-n8n-workflow-builder, shared by 8 entries in this directory. It describes the repository, not this entry specifically.

Documentation Quick Start

Quick guide to working with the GitHub Pages documentation.


🚀 Local Development

1. Install Dependencies

pip install -r requirements.txt

**What gets installed:**

  • mkdocs - Documentation site generator
  • mkdocs-material - Material Design theme
  • Plugins for search, dates, and minification

2. Start Development Server

npm run docs:dev

**Access at:** http://localhost:8000

**Features:**

  • ✅ Live reload on file changes
  • ✅ Full search functionality
  • ✅ Preview exactly as it will appear online

3. Edit Documentation

**Location:** `docs/` directory

**Example:**

# Edit homepage
nano docs/index.md

# Edit installation guide
nano docs/getting-started/installation/npm-installation.md

**Save → Changes appear instantly in browser!**


🔨 Build & Test

Build Documentation

npm run docs:build

**Output:** `site/` directory (ready for deployment)

**Validation:**

  • ✅ Strict mode enabled (catches errors)
  • ✅ Broken links detected
  • ✅ Markdown syntax validated

Test Locally

# After building
cd site
python3 -m http.server 8001

**Access at:** http://localhost:8001


🌐 Deployment

Automatic Deployment (Recommended)

**Just push to main:**

git add docs/ mkdocs.yml
git commit -m "docs: update documentation"
git push origin main

**GitHub Actions will:**

  1. Build documentation
  2. Deploy to GitHub Pages
  3. Site live in ~2 minutes

**Live URL:** https://salacoste.github.io/mcp-n8n-workflow-builder

Manual Deployment

npm run docs:deploy

**This will:**

  • Build documentation
  • Push to gh-pages branch
  • Update GitHub Pages site

📝 Writing Tips

Markdown Syntax

**Code blocks:**

```bash
npm install
```

**Admonitions:**

!!! tip "Helpful Hint"
    This is a tip.

!!! warning
    Be careful!

**Tabs:**

=== "macOS"

    macOS-specific content

=== "Linux"

    Linux-specific content

**Links:**

[Link Text](../path/to/file.md)

Best Practices

  • ✅ Use relative links: ../installation/npm-installation.md
  • ✅ Add "Next Steps" at page end
  • ✅ Include code examples with comments
  • ✅ Test all commands before documenting
  • ✅ Use admonitions for important notes

🐛 Troubleshooting

Build Fails

**Error:** "Config file not found"

# Make sure you're in project root
pwd  # Should show: /path/to/mcp-n8n-workflow-builder

# Run from correct location
npm run docs:build

**Error:** "Documentation file does not exist"

  • Check file path in mkdocs.yml
  • Verify file exists in docs/ directory
  • Check for typos in filenames

Deployment Issues

**GitHub Pages not updating:**

  1. Check GitHub Actions workflow
  2. Verify gh-pages branch exists
  3. Enable GitHub Pages in Settings → Pages
  4. Clear browser cache

📁 Project Structure

mcp-n8n-workflow-builder/
├── mkdocs.yml              # Config