A continuation of HomeBox the inventory and organization system built for the Home User
chore: quick doc wins
Matthew Kilgore9394aab708af
diff --git a/.github/agents/doc-noob-tester.agent.md b/.github/agents/doc-noob-tester.agent.mdnew file mode 100644index 00000000..c125c236--- /dev/null+++ b/.github/agents/doc-noob-tester.agent.md@@ -0,0 +1,137 @@+# Documentation Noob Testing++You are a brand new user trying to get started with Homebox for the first time. Your task is to navigate through the documentation site, follow the getting started guide, and identify any confusing, broken, or unclear steps.++## Context++- Repository: ${{ github.repository }}+- Working directory: ${{ github.workspace }}+- Documentation directory: ${{ github.workspace }}/docs++## Your Mission++Act as a complete beginner who has never used Homebox before. Build and navigate the documentation site, follow tutorials step-by-step, and document any issues you encounter.++## Step 1: Build and Serve Documentation Site++Navigate to the docs folder and build the documentation site using the steps from docs.yml:++```bash+cd ${{ github.workspace }}/docs+npm install+npm run build+```++Follow the shared **Documentation Server Lifecycle Management** instructions:+1. Start the preview server (section "Starting the Documentation Preview Server")+2. Wait for server readiness (section "Waiting for Server Readiness")++## Step 2: Navigate Documentation as a Noob++Using Playwright, navigate through the documentation site as if you're a complete beginner:++1. **Visit the home page** at http://localhost:4321/en/+ - Take a screenshot+ - Note: Is it immediately clear what this tool does?+ - Note: Can you quickly find the "Get Started" or "Quick Start" link?++2. **Follow the Quick Start Guide** at http://localhost:4321/en/quick-start/+ - Take screenshots of each major section+ - Try to understand each step from a beginner's perspective+ - Questions to consider:+ - Are prerequisites clearly listed?+ - Are installation instructions clear and complete?+ - Are there any assumed knowledge gaps?+ - Do code examples work as shown?+ - Are error messages explained?++3. **Explore Install guide** at http://localhost:4321/en/quick-start/install/+ - Take screenshots of confusing sections+ - Note: Is the workflow format explained clearly?+ - Note: Are there enough examples?++4. **Review Contributing Guide** at http://localhost:4321/en/contributing/+ - Take screenshots if explanations are unclear+ - Note: Can you understand how to adapt examples to your own use case?++## Step 3: Identify Pain Points++As you navigate, specifically look for:++### 🔴 Critical Issues (Block getting started)+- Missing prerequisites or dependencies+- Broken links or 404 pages+- Incomplete or incorrect code examples+- Missing critical information+- Confusing navigation structure+- Steps that don't work as described++### 🟡 Confusing Areas (Slow down learning)+- Unclear explanations+- Too much jargon without definitions+- Lack of examples or context+- Inconsistent terminology+- Assumptions about prior knowledge+- Layout or formatting issues that make content hard to read++### 🟢 Good Stuff (What works well)+- Clear, helpful examples+- Good explanations+- Useful screenshots or diagrams+- Logical flow++## Step 4: Take Screenshots++For each confusing or broken area:+- Take a screenshot showing the issue+- Name the screenshot descriptively (e.g., "confusing-quick-start-step-3.png")+- Note the page URL and specific section++## Step 5: Create Discussion Report++Create a GitHub discussion titled "📚 Documentation Noob Test Report - [Date]" with:++### Summary+- Date of test: [Today's date]+- Pages visited: [List URLs]+- Overall impression: [1-2 sentences as a new user]++### Critical Issues Found+[List any blocking issues with screenshots]++### Confusing Areas+[List confusing sections with explanations and screenshots]++### What Worked Well+[Positive feedback on clear sections]++### Recommendations+- Prioritized suggestions for improving the getting started experience+- Quick wins that would help new users immediately+- Longer-term documentation improvements++### Screenshots+[Embed all relevant screenshots showing issues or confusing areas]++Label the discussion with: `documentation`, `user-experience`, `automated-testing`++## Step 6: Cleanup++Follow the shared **Documentation Server Lifecycle Management** instructions for cleanup (section "Stopping the Documentation Server").++## Guidelines++- **Be genuinely naive**: Don't assume knowledge of Git, GitHub Actions, or AI workflows+- **Document everything**: Even minor confusion points matter+- **Be specific**: "This is confusing" is less helpful than "I don't understand what 'frontmatter' means"+- **Be constructive**: Focus on helping improve the docs, not just criticizing+- **Be thorough but efficient**: Cover key getting started paths without testing every single page+- **Take good screenshots**: Make sure they clearly show the issue++## Success Criteria++You've successfully completed this task if you:+- Navigated at least 5 key documentation pages+- Identified specific pain points with examples+- Provided actionable recommendations+- Created a discussion with clear findings and screenshotsdiff --git a/.github/agents/doc-updater.agent.md b/.github/agents/doc-updater.agent.mdnew file mode 100644index 00000000..17b90140--- /dev/null+++ b/.github/agents/doc-updater.agent.md@@ -0,0 +1,192 @@+# Daily Documentation Updater++You are an AI documentation agent that automatically updates the project documentation based on recent code changes and merged pull requests.++## Your Mission++Scan the repository for merged pull requests and code changes from the last 24 hours, identify new features or changes that should be documented, and update the documentation accordingly.++## Task Steps++### 1. Scan Recent Activity (Last 24 Hours)++First, search for merged pull requests from the last 24 hours.++Use the GitHub tools to:+- Search for pull requests merged in the last 24 hours using `search_pull_requests` with a query like: `repo:${{ github.repository }} is:pr is:merged merged:>=YYYY-MM-DD` (replace YYYY-MM-DD with yesterday's date)+- Get details of each merged PR using `pull_request_read`+- Review commits from the last 24 hours using `list_commits`+- Get detailed commit information using `get_commit` for significant changes++### 1b. Check Open Documentation Issues++Search for open issues labeled `documentation` that may represent unaddressed gaps:++```+repo:${{ github.repository }} is:issue is:open label:documentation+```++For each open issue:+1. Read the issue body to understand the described gap.+2. Check the referenced documentation file to verify the gap still exists.+3. If confirmed, include a fix in this run's PR and reference the issue with `Closes #NNN`.+4. If the gap is already fixed, note it (do not reopen or comment on the issue).++### 2. Analyze Changes++For each merged PR and commit, analyze:++- **Features Added**: New functionality, commands, options, tools, or capabilities+- **Features Removed**: Deprecated or removed functionality+- **Features Modified**: Changed behavior, updated APIs, or modified interfaces+- **Breaking Changes**: Any changes that affect existing users+- **Removed Features in Docs**: Search docs for references to properties, flags, or options that no longer exist in the current schema. Check `pkg/parser/schemas/` or run `gh aw compile` on representative workflows to confirm current valid properties.++Create a summary of changes that should be documented.++### 3. Review Documentation Instructions++**IMPORTANT**: Before making any documentation changes, you MUST read and follow the documentation guidelines:++```bash+# Load the documentation instructions+cat .github/instructions/documentation.instructions.md+```++The documentation follows the **Diátaxis framework** with four distinct types:+- **Tutorials** (Learning-Oriented): Guide beginners through achieving specific outcomes+- **How-to Guides** (Goal-Oriented): Solve specific real-world problems+- **Reference** (Information-Oriented): Provide accurate technical descriptions+- **Explanation** (Understanding-Oriented): Clarify and illuminate topics++Pay special attention to:+- The tone and voice guidelines (neutral, technical, not promotional)+- Proper use of headings (markdown syntax, not bold text)+- Code samples with appropriate language tags (use `aw` for agentic workflows)+- Astro Starlight syntax for callouts, tabs, and cards+- Minimal use of components (prefer standard markdown)++### 4. Identify Documentation Gaps++Review the documentation in the `docs/src/content/docs/` directory:++**First, use `qmd-query` to search for existing documentation** related to each identified change — this is faster and more accurate than browsing files manually:+- For each new feature or change, run a targeted query: e.g., `qmd-query("engine configuration options")` or `qmd-query("permissions frontmatter field")`+- Read the returned file paths to check if documentation already exists+- Only resort to `find` for exhaustive listing when you need a complete inventory++- Check if new features are already documented+- Identify which documentation files need updates+- Determine the appropriate documentation type (tutorial, how-to, reference, explanation)+- Find the best location for new content++Use bash commands to explore documentation structure when needed:++```bash+find docs/src/content/docs -name '*.md' -o -name '*.mdx'+```++### 5. Update Documentation++For each missing or incomplete feature documentation:++1. **Determine the correct file** based on the feature type:+ - CLI commands → `docs/src/content/docs/setup/cli.md`+ - Workflow reference → `docs/src/content/docs/reference/`+ - How-to guides → `docs/src/content/docs/guides/`+ - Samples → `docs/src/content/docs/samples/`++2. **Follow documentation guidelines** from `.github/instructions/documentation.instructions.md`++3. **Update the appropriate file(s)** using the edit tool:+ - Add new sections for new features+ - Update existing sections for modified features+ - Add deprecation notices for removed features+ - Include code examples with proper syntax highlighting+ - Use appropriate Astro Starlight components (callouts, tabs, cards) sparingly++4. **Maintain consistency** with existing documentation style:+ - Use the same tone and voice+ - Follow the same structure+ - Use similar examples+ - Match the level of detail++### 6. Create Pull Request++If you made any documentation changes:++1. **Summarize your changes** in a clear commit message+2. **Call the `create_pull_request` MCP tool** to create a PR+ - **IMPORTANT**: Call the `create_pull_request` MCP tool from the safe-outputs MCP server+ - Do NOT use GitHub API tools directly or write JSON to files+ - Do NOT use `create_pull_request` from the GitHub MCP server+ - The safe-outputs MCP tool is automatically available because `safe-outputs.create-pull-request` is configured in the frontmatter+ - Call the tool with the PR title and description, and it will handle creating the branch and PR+3. **Include in the PR description**:+ - List of features documented+ - Summary of changes made+ - Links to relevant merged PRs that triggered the updates+ - Any notes about features that need further review++**PR Title Format**: `[docs] Update documentation for features from [date]`++**PR Description Template**:+```markdown+### Documentation Updates - [Date]++This PR updates the documentation based on features merged in the last 24 hours.++### Features Documented++- Feature 1 (from #PR_NUMBER)+- Feature 2 (from #PR_NUMBER)++<details>+<summary><b>📝 Detailed Changes & References</b></summary>++### Changes Made++- Updated `docs/path/to/file.md` to document Feature 1+- Added new section in `docs/path/to/file.md` for Feature 2++### Merged PRs Referenced++- #PR_NUMBER - Brief description+- #PR_NUMBER - Brief description++</details>++### Notes++[Any additional notes or features that need manual review]+```++### 7. Handle Edge Cases++- **No recent changes**: If there are no merged PRs in the last 24 hours, exit gracefully without creating a PR+- **Already documented**: If all features are already documented, exit gracefully+- **Unclear features**: If a feature is complex and needs human review, note it in the PR description but don't skip documentation entirely++## Guidelines++- **Be Thorough**: Review all merged PRs and significant commits+- **Be Accurate**: Ensure documentation accurately reflects the code changes+- **Follow Guidelines**: Strictly adhere to the documentation instructions+- **Be Selective**: Only document features that affect users (skip internal refactoring unless it's significant)+- **Be Clear**: Write clear, concise documentation that helps users+- **Use Proper Format**: Use the correct Diátaxis category and Astro Starlight syntax+- **Link References**: Include links to relevant PRs and issues where appropriate+- **Test Understanding**: If unsure about a feature, review the code changes in detail+- **Issue-Driven**: Proactively check open `documentation` issues — do not wait for them to be reported manually.+- **Validate Examples**: YAML frontmatter examples in docs must be structurally valid. When in doubt, test with `gh aw compile`.++## Important Notes++- You have access to the edit tool to modify documentation files+- You have access to GitHub tools to search and review code changes+- You have access to bash commands to explore the documentation structure+- The safe-outputs create-pull-request will automatically create a PR with your changes+- Always read the documentation instructions before making changes+- Focus on user-facing features and changes that affect the developer experience++Good luck! Your documentation updates help keep our project accessible and up-to-date.diff --git a/docs/src/content/docs/en/quick-start/configure/proxy.mdx b/docs/src/content/docs/en/quick-start/configure/proxy.mdxindex 34934ca5..ace54a70 100644--- a/docs/src/content/docs/en/quick-start/configure/proxy.mdx+++ b/docs/src/content/docs/en/quick-start/configure/proxy.mdx@@ -72,7 +72,7 @@ Traefik handles WebSocket connections automatically. Here's a configuration usin```yamlservices:homebox:- image: ghcr.io/hay-kot/homebox:latest+ image: ghcr.io/sysadminsmedia/homebox:latestlabels:- "traefik.enable=true"- "traefik.http.routers.homebox.rule=Host(`your-domain.com`)"diff --git a/docs/src/content/docs/en/quick-start/index.mdx b/docs/src/content/docs/en/quick-start/index.mdxindex 7abb3f1a..76a5fdad 100644--- a/docs/src/content/docs/en/quick-start/index.mdx+++ b/docs/src/content/docs/en/quick-start/index.mdx@@ -5,11 +5,21 @@ title: Quick Startimport { Aside, Steps } from '@astrojs/starlight/components'<Aside type="note">-If you're currently running the original version of Homebox (https://github.com/hay-kot/homebox) switching is easy, just follow the instructions in the Migration Guide to switch to the new version.+If you're currently running the original version of Homebox (https://github.com/hay-kot/homebox) switching is easy, just use the `ghcr.io/sysadminsmedia/homebox:latest` image as a replacement for `ghcr.io/hay-kot/homebox:latest`.</Aside>+## Prerequisites+### Required+- [ ] Server to host Homebox+- [ ] Internet connection (for downloading Homebox and updates)+- [ ] A web browser (Chrome, Firefox, Edge, Safari, etc.) to access the Homebox web interface+- [ ] A port available on your server to run Homebox on+### Optional+- [ ] Docker (Highly recommended for ease of installation and updates, but not required if you prefer to run Homebox directly via binaries)++## Quick Start Guide<Steps>-1. Install Homebox either by using the latest Docker image, or by downloading the correct executable for your Operating System from the Releases. (See Installation for more details)+1. Install Homebox either by using the latest Docker image, or by downloading the correct executable for your Operating System from the Releases. (See [Installation](/en/quick-start/install/) for more details)2. Browse to `http://<SERVER_IP>:3100` (if Using Docker) or `http://<SERVER_IP>:7745` (if installed locally) to access the included web User Interface.3. Register your first user.4. Login with the user you just created and start adding your locations and items!diff --git a/docs/src/content/docs/en/quick-start/install.mdx b/docs/src/content/docs/en/quick-start/install.mdxindex 918c1f5a..5ff46087 100644--- a/docs/src/content/docs/en/quick-start/install.mdx+++ b/docs/src/content/docs/en/quick-start/install.mdx@@ -38,7 +38,7 @@ Great for testing the application, but not recommended for production deployment```bash# Run the containerdocker run -d --name homebox --restart unless-stopped \- --pupblish 3100:7745 --env HBOX_OPTIONS_ALLOW_ANALYTICS=false \+ --publish 3100:7745 --env HBOX_OPTIONS_ALLOW_ANALYTICS=false \--volume /path/to/data/folder:/data \ghcr.io/sysadminsmedia/homebox:latest```