Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,21 @@ repository:
to the core principles, especially being code-independent.
- **Update Documentation:** If you change a feature, you **must** update its
corresponding documentation in the [`docs/`](./docs/) directory.
If you add a new feature, you **must** create a new documentation file for
it, following the namespace and dual-TOC structure. This means:
1. Identify the correct namespace for your documentation (e.g., `development`, `workflows`).
2. Create a new file named `docs/<namespace>.<your-topic>.md`.
3. Add a link to your new file in **two** places:
- The main Table of Contents in `docs/README.md`, under the appropriate namespace heading.
All documentation must follow these rules:
1. **Breadcrumb:** The first line of every documentation file must be a
clickable breadcrumb trail with correct relative links.
- For `docs/README.md`: `[base](../README.md) > docs`
- For `docs/ai.md`: `[base](../README.md) > [docs](./README.md) > ai`
- For `docs/ai.prompting.md`: `[base](../../README.md) > [docs](../README.md) > [ai](./ai.md) > Prompting AI Agents`
2. **`in-dev` Namespace:** Any documentation that is a work-in-progress or
not ready for general use should be placed in the `in-dev` namespace
(e.g., `docs/in-dev.my-draft.md`). Files in this namespace are
automatically excluded from all Tables of Contents.
3. **Dual TOC Structure:** If you add a new, non-`in-dev` documentation file,
you **must** add a link to it in **two** places:
- The main Table of Contents in `docs/README.md`, under the appropriate
namespace heading.
- The namespace-specific index file, `docs/<namespace>.md`.
4. If you are creating a new namespace, you must also create a `docs/<namespace>.md` index file and link to it from the main `docs/README.md`.
- **Verify Your Work:** After creating or modifying a file, use a read-only
tool like `read_file` or `ls` to confirm your changes were applied
correctly before marking a step as complete.
Expand Down
18 changes: 8 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# Documentation

This directory contains the documentation for the `base` project.
[base](../README.md) > docs

- [The `base` Philosophy](./base.md) - An overview of the core principles and goals of this template.
# Documentation

[Guides](#guides) - [Development](#development) - [CI/CD](#cicd-workflows) - [Publishing](#publishing-your-project) - [Updating](#updating) - [Project Management](#project-management) - [Community](#community) - [AI](#ai) - [Documentation](#documentation-best-practices)
[Guides](#guides) - [Development](#development) - [CI/CD Workflows](#cicd-workflows) - [Publishing](#publishing) - [Updating](#updating) - [Project Management](#project-management) - [Community](#community) - [AI](#ai) - [Documentation Best Practices](#documentation-best-practices)

## Guides

Expand All @@ -27,12 +25,12 @@ This directory contains the documentation for the `base` project.
- [**Secrets Management**](./workflows.secrets-management.md) - Best practices for managing secrets in GitHub Actions.
- [**Workflow Scheduling**](./workflows.scheduling.md) - Automating recurring tasks with cron.

## Publishing Your Project
## Publishing

- **[Publishing with Markdown](./publishing.markdown.md)** - This is the simplest way to get started.
- **[Advanced Publishing with HTML](./publishing.html.md)** - For those who need more control over their site's layout and appearance.
- **[Publishing with Magic Links](./publishing.magic-links.md)** - This guide explains a powerful feature for community-driven sites.
- **[GitHub Pages](./publishing.github-pages.md)** - This document provides more detail on how the underlying GitHub Pages service works.
- [Publishing with Markdown](./publishing.markdown.md) - The simplest way to get started with publishing content.
- [Advanced Publishing with HTML](./publishing.html.md) - For those who need more control over their site's layout and appearance.
- [Publishing with Magic Links](./publishing.magic-links.md) - A powerful feature for community-driven sites.
- [GitHub Pages](./publishing.github-pages.md) - More detail on how the underlying GitHub Pages service works.

## Updating

Expand Down
2 changes: 2 additions & 0 deletions docs/ai.agents-md.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [ai](./ai.md) > Guiding AI with AGENTS.md

# Guiding AI with `AGENTS.md`

The `AGENTS.md` file is a special document within this repository designed to
Expand Down
2 changes: 2 additions & 0 deletions docs/ai.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > ai

# AI

This section contains documentation related to Artificial Intelligence.
Expand Down
2 changes: 2 additions & 0 deletions docs/ai.prompting.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [ai](./ai.md) > Prompting AI Agents

# Prompting AI Agents for `attogram/base` Projects

When using AI agents to create or update a repository based on
Expand Down
2 changes: 2 additions & 0 deletions docs/base.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > base

# The `base` Philosophy

Welcome to `base`.
Expand Down
2 changes: 2 additions & 0 deletions docs/community.building.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [community](./community.md) > Community Building Guide

# Community Building Guide

A thriving open-source project is built on a foundation of a healthy,
Expand Down
2 changes: 2 additions & 0 deletions docs/community.discussions.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [community](./community.md) > Using GitHub Discussions

# Using GitHub Discussions

GitHub Discussions is a feature designed to be the community forum for your
Expand Down
2 changes: 2 additions & 0 deletions docs/community.issue-management.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [community](./community.md) > Issue Management Guide

# Issue Management Guide

Effective issue management is key to keeping your project organized and your
Expand Down
2 changes: 2 additions & 0 deletions docs/community.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > community

# Community

This section contains documentation related to community management.
Expand Down
2 changes: 2 additions & 0 deletions docs/community.wiki.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [community](./community.md) > Using the GitHub Wiki

# Using the GitHub Wiki

The GitHub Wiki is a powerful tool for hosting detailed, long-form documentation
Expand Down
5 changes: 0 additions & 5 deletions docs/deployment.md

This file was deleted.

2 changes: 2 additions & 0 deletions docs/development.codespaces.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [development](./development.md) > GitHub Codespaces

# GitHub Codespaces

This repository is configured to use
Expand Down
2 changes: 2 additions & 0 deletions docs/development.docker.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [development](./development.md) > Docker Environment

# Docker-based Development Environment

This repository includes a Docker-based development environment to ensure a
Expand Down
2 changes: 2 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > development

# Development

This section contains documentation related to development practices and environment setup.
Expand Down
2 changes: 2 additions & 0 deletions docs/development.package-json.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [development](./development.md) > package.json Guide

# `package.json` and `package-lock.json`

You may notice `package.json` and `package-lock.json` files in the root of
Expand Down
2 changes: 2 additions & 0 deletions docs/development.prettier.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [development](./development.md) > Using Prettier

# Prettier for Code Formatting

[Prettier](https://prettier.io/) is an opinionated code formatter that enforces a consistent code style across the entire project. This repository is configured to use Prettier in two ways: automatically via a GitHub workflow and manually for local development.
Expand Down
2 changes: 2 additions & 0 deletions docs/documentation.best-practices.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [documentation](./documentation.md) > Documentation Best Practices

# Documentation Best Practices

Good documentation is one of the most important aspects of a successful
Expand Down
2 changes: 2 additions & 0 deletions docs/documentation.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > documentation

# Documentation

This section contains documentation about writing documentation.
Expand Down
2 changes: 2 additions & 0 deletions docs/guides.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > guides

# Guides

This section contains guides for using this project.
Expand Down
2 changes: 2 additions & 0 deletions docs/guides.software-project.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [guides](./guides.md) > Software Project Guide

# Use Case: A Starting Point for Your Software Project

This repository is designed to be a robust foundation for a wide variety of
Expand Down
2 changes: 2 additions & 0 deletions docs/deployment.render.md → docs/in-dev.render.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > in-dev > Render Deployment

# Deploying to Render.com

> [!WARNING]
Expand Down
2 changes: 2 additions & 0 deletions docs/project.badges.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Repository Badges

# Badges

Badges are a common way to display the status of your project in your
Expand Down
2 changes: 2 additions & 0 deletions docs/project.launch-checklist.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Launch Checklist

# Project Launch Checklist

Launching a new open-source project can be a daunting task.
Expand Down
2 changes: 2 additions & 0 deletions docs/project.licensing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Licensing Info

# Licensing Information

This repository is distributed under the MIT License, the full text of which
Expand Down
2 changes: 2 additions & 0 deletions docs/project.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > project

# Project Management

This section contains documentation related to project management.
Expand Down
2 changes: 2 additions & 0 deletions docs/project.security.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Security Best Practices

# Security Best Practices for Maintainers

As an open-source maintainer, you have a responsibility to ensure your
Expand Down
2 changes: 2 additions & 0 deletions docs/project.standard-files.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Standard Files

# Standard Repository Files

This document explains the purpose of the standard, language-agnostic
Expand Down
2 changes: 2 additions & 0 deletions docs/project.template-repo.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Template Repo Guide

# Maintaining `base` as a Template Repository

This document is for maintainers of the `base` repository.
Expand Down
2 changes: 2 additions & 0 deletions docs/project.versioning.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [project](./project.md) > Versioning Guide

# Versioning and Release Management

A well-defined versioning and release strategy is crucial for any professional
Expand Down
2 changes: 2 additions & 0 deletions docs/publishing.github-pages.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [publishing](./publishing.md) > GitHub Pages

# GitHub Pages Site

This repository is configured to use [GitHub Pages](https://pages.github.com/)
Expand Down
2 changes: 2 additions & 0 deletions docs/publishing.html.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [publishing](./publishing.md) > Advanced Publishing with HTML

# Advanced Publishing: HTML, Previews, and More

This guide covers the more advanced features of the publishing platform,
Expand Down
2 changes: 2 additions & 0 deletions docs/publishing.magic-links.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [publishing](./publishing.md) > Publishing with Magic Links

# Publishing with Magic Links

"Magic Links" are special URLs that can pre-fill a new file in a GitHub
Expand Down
2 changes: 2 additions & 0 deletions docs/publishing.markdown.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [publishing](./publishing.md) > Publishing with Markdown

# Publishing with Markdown

This repository is pre-configured to act as a simple, powerful, and free
Expand Down
2 changes: 2 additions & 0 deletions docs/publishing.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > publishing

# Publishing Your Project

This repository is pre-configured to act as a simple, powerful, and free
Expand Down
2 changes: 2 additions & 0 deletions docs/updating.adding-base-to-existing-repo.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [updating](./updating.md) > Adding base to an Existing Repo

# Merging `base` Into an Existing Repository

This guide explains how to merge the `attogram/base` repository into your
Expand Down
2 changes: 2 additions & 0 deletions docs/updating.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > updating

# Updating

This section contains documentation about updating the repository.
Expand Down
2 changes: 2 additions & 0 deletions docs/updating.syncing-your-repo-when-base-is-updated.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [updating](./updating.md) > Syncing Your Repo When base is Updated

# Syncing Your Repo When `base` is Updated

This guide explains how to sync your repository with the latest changes from the
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.ci.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [workflows](./workflows.md) > CI Workflow

# CI Workflow

The CI (Continuous Integration) workflow is defined in `.github/workflows/ci.yml`.
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > workflows

# CI/CD Workflows

This repository includes several GitHub Actions workflows to automate various tasks. Each workflow is defined in a `.yml` file in the `.github/workflows` directory.
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.pages.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [workflows](./workflows.md) > GitHub Pages Deployment

# GitHub Pages Deployment Workflow

The GitHub Pages deployment workflow is defined in `.github/workflows/pages.yml`. Its purpose is to build and deploy the repository's content as a GitHub Pages website.
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.prettier.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [workflows](./workflows.md) > Prettier Workflow

# Prettier Workflow

The Prettier workflow, defined in `.github/workflows/prettier.yml`, automates code formatting for the entire repository.
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.release-on-tag.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [workflows](./workflows.md) > Release on Tag

# Release on Tag Workflow

The "Create Release" workflow, defined in `.github/workflows/release-on-tag.yml`, automates the process of creating a new GitHub release whenever a new tag is pushed to the repository.
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.scheduling.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [workflows](./workflows.md) > Workflow Scheduling

# Scheduling Workflows with Cron

GitHub Actions allows you to automate tasks on a schedule, similar to the
Expand Down
2 changes: 2 additions & 0 deletions docs/workflows.secrets-management.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[base](../README.md) > [docs](./README.md) > [workflows](./workflows.md) > Secrets Management

# Secrets Management in GitHub Actions

Properly managing secrets like API keys, access tokens, and other credentials
Expand Down