Skip to content

Commit 747cb6c

Browse files
authored
Merge pull request #38 from attogram/docs/consolidate-workflows
Reorder documentation namespaces for better logical flow
2 parents 22e51be + e721beb commit 747cb6c

11 files changed

Lines changed: 99 additions & 40 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ repository:
4949
- [`SECURITY.md`](./.github/SECURITY.md): A template for the user's
5050
security policy.
5151

52-
- **[`docs/`](./docs/)**: Contains all documentation for the project.
53-
Each major feature or component has its own corresponding `.md` file in this
54-
directory.
52+
- **[`docs/`](./docs/)**: Contains all documentation for the project. The documentation is organized into namespaces.
53+
- **`docs/README.md`**: The main entry point for documentation, which serves as a Table of Contents.
54+
- **`docs/<namespace>.md`**: Each namespace has a top-level index file (e.g., `docs/ai.md`) that provides an overview and links to all the sub-pages within that namespace.
55+
- **`docs/<namespace>.<topic>.md`**: Individual documentation pages for specific topics within a namespace.
5556

5657
- **[`docker/`](./docker/)**: Contains the development environment.
5758
- [`Dockerfile`](./docker/Dockerfile): Builds a generic Ubuntu + NGINX
@@ -88,7 +89,13 @@ repository:
8889
- **Update Documentation:** If you change a feature, you **must** update its
8990
corresponding documentation in the [`docs/`](./docs/) directory.
9091
If you add a new feature, you **must** create a new documentation file for
91-
it.
92+
it, following the namespace and dual-TOC structure. This means:
93+
1. Identify the correct namespace for your documentation (e.g., `development`, `workflows`).
94+
2. Create a new file named `docs/<namespace>.<your-topic>.md`.
95+
3. Add a link to your new file in **two** places:
96+
- The main Table of Contents in `docs/README.md`, under the appropriate namespace heading.
97+
- The namespace-specific index file, `docs/<namespace>.md`.
98+
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`.
9299
- **Verify Your Work:** After creating or modifying a file, use a read-only
93100
tool like `read_file` or `ls` to confirm your changes were applied
94101
correctly before marking a step as complete.

docs/README.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,12 @@
33
This directory contains the documentation for the `base` project.
44

55
- [The `base` Philosophy](./base.md) - An overview of the core principles and goals of this template.
6-
- [Documentation Index](./README.md) - You are here.
76

8-
## AI
9-
10-
- [Guiding AI with `AGENTS.md`](./ai.agents-md.md) - Using `AGENTS.md` to provide instructions to AI agents.
11-
- [Prompting AI Agents](./ai.prompting.md) - How to effectively prompt AI agents.
7+
[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)
128

13-
## CI/CD
14-
15-
- [Secrets Management](./workflows.secrets-management.md) - Best practices for managing secrets in GitHub Actions.
16-
- [Workflow Scheduling](./workflows.scheduling.md) - Automating recurring tasks with cron.
17-
- [GitHub Workflows](./workflows.md) - Explanation of the CI/CD workflows.
18-
19-
## Community
9+
## Guides
2010

21-
- [Community Building Guide](./community.building.md) - Fostering a healthy and effective community.
22-
- [Using GitHub Discussions](./community.discussions.md) - Leveraging Discussions for community conversations.
23-
- [Issue Management Guide](./community.issue-management.md) - Best practices for triaging issues.
11+
- [Software Project Guide](./guides.software-project.md) - Using this repo as a foundation for a software project.
2412

2513
## Development
2614

@@ -30,13 +18,21 @@ This directory contains the documentation for the `base` project.
3018
- [Using Prettier](./development.prettier.md) - Guide to installing and using Prettier.
3119
- [Prettier Workflow](./development.prettier-workflow.md) - Manually formatting code.
3220

33-
## Documentation
21+
## CI/CD Workflows
3422

35-
- [Documentation Best Practices](./documentation.best-practices.md) - How to write clear and effective documentation.
23+
- [**CI Workflow**](./workflows.ci.md) (`ci.yml`) - Ensures code quality by running linting checks on every push and pull request to the `main` branch.
24+
- [**GitHub Pages Deployment**](./workflows.pages.md) (`pages.yml`) - Builds and deploys the repository's content as a GitHub Pages website.
25+
- [**Prettier Workflow**](./workflows.prettier.md) (`prettier.yml`) - Automatically formats the code in the repository using Prettier and commits the changes.
26+
- [**Release on Tag**](./workflows.release-on-tag.md) (`release-on-tag.yml`) - Automates the creation of GitHub Releases when a new version tag is pushed.
27+
- [**Secrets Management**](./workflows.secrets-management.md) - Best practices for managing secrets in GitHub Actions.
28+
- [**Workflow Scheduling**](./workflows.scheduling.md) - Automating recurring tasks with cron.
3629

37-
## Guides
30+
## Publishing Your Project
3831

39-
- [Software Project Guide](./guides.software-project.md) - Using this repo as a foundation for a software project.
32+
- **[Publishing with Markdown](./publishing.markdown.md)** - This is the simplest way to get started.
33+
- **[Advanced Publishing with HTML](./publishing.html.md)** - For those who need more control over their site's layout and appearance.
34+
- **[Publishing with Magic Links](./publishing.magic-links.md)** - This guide explains a powerful feature for community-driven sites.
35+
- **[GitHub Pages](./publishing.github-pages.md)** - This document provides more detail on how the underlying GitHub Pages service works.
4036

4137
## Updating
4238

@@ -53,10 +49,17 @@ This directory contains the documentation for the `base` project.
5349
- [Template Repo Guide](./project.template-repo.md) - Best practices for maintaining this template.
5450
- [Versioning Guide](./project.versioning.md) - Professional release management.
5551

56-
## Publishing
52+
## Community
5753

58-
- [Publishing Overview](./publishing.md) - An overview of the different ways to publish content.
59-
- [Publishing with Markdown](./publishing.markdown.md) - The simplest way to create pages.
60-
- [Advanced Publishing with HTML](./publishing.html.md) - For more control over layout and style.
61-
- [Publishing with Magic Links](./publishing.magic-links.md) - Creating links that pre-fill new file content.
62-
- [GitHub Pages](./publishing.github-pages.md) - How the underlying publishing system works.
54+
- [Community Building Guide](./community.building.md) - Fostering a healthy and effective community.
55+
- [Using GitHub Discussions](./community.discussions.md) - Leveraging Discussions for community conversations.
56+
- [Issue Management Guide](./community.issue-management.md) - Best practices for triaging issues.
57+
58+
## AI
59+
60+
- [Guiding AI with `AGENTS.md`](./ai.agents-md.md) - Using `AGENTS.md` to provide instructions to AI agents.
61+
- [Prompting AI Agents](./ai.prompting.md) - How to effectively prompt AI agents.
62+
63+
## Documentation Best Practices
64+
65+
- [Documentation Best Practices](./documentation.best-practices.md) - How to write clear and effective documentation.

docs/ai.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# AI
2+
3+
This section contains documentation related to Artificial Intelligence.
4+
5+
- [Guiding AI with `AGENTS.md`](./ai.agents-md.md) - Using `AGENTS.md` to provide instructions to AI agents.
6+
- [Prompting AI Agents](./ai.prompting.md) - How to effectively prompt AI agents.

docs/community.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Community
2+
3+
This section contains documentation related to community management.
4+
5+
- [Community Building Guide](./community.building.md) - Fostering a healthy and effective community.
6+
- [Using GitHub Discussions](./community.discussions.md) - Leveraging Discussions for community conversations.
7+
- [Issue Management Guide](./community.issue-management.md) - Best practices for triaging issues.

docs/deployment.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Deployment
2+
3+
This section contains documentation related to deployment.
4+
5+
- [Render Deployment](./deployment.render.md) - How to deploy the application to Render.

docs/development.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Development
2+
3+
This section contains documentation related to development practices and environment setup.
4+
5+
- [GitHub Codespaces](./development.codespaces.md) - Using Codespaces for cloud-based development.
6+
- [Docker Environment](./development.docker.md) - Using the included Docker setup.
7+
- [`package.json` Guide](./development.package-json.md) - Explanation of the `package.json` files.
8+
- [Using Prettier](./development.prettier.md) - Guide to installing and using Prettier.
9+
- [Prettier Workflow](./development.prettier-workflow.md) - Manually formatting code.

docs/documentation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Documentation
2+
3+
This section contains documentation about writing documentation.
4+
5+
- [Documentation Best Practices](./documentation.best-practices.md) - How to write clear and effective documentation.

docs/guides.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Guides
2+
3+
This section contains guides for using this project.
4+
5+
- [Software Project Guide](./guides.software-project.md) - Using this repo as a foundation for a software project.

docs/project.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Project Management
2+
3+
This section contains documentation related to project management.
4+
5+
- [Repository Badges](./project.badges.md) - How to use and create repository badges.
6+
- [Launch Checklist](./project.launch-checklist.md) - A reusable checklist for project launches.
7+
- [Licensing Info](./project.licensing.md) - Details on the MIT License.
8+
- [Security Best Practices](./project.security.md) - Basic security practices for maintainers.
9+
- [Standard Files](./project.standard-files.md) - Explanation of standard repo files.
10+
- [Template Repo Guide](./project.template-repo.md) - Best practices for maintaining this template.
11+
- [Versioning Guide](./project.versioning.md) - Professional release management.

docs/updating.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Updating
2+
3+
This section contains documentation about updating the repository.
4+
5+
- [Adding `base` to an Existing Repo](./updating.adding-base-to-existing-repo.md) - How to merge `base` into a project that was not created from the template.
6+
- [Syncing When `base` is Updated](./updating.syncing-your-repo-when-base-is-updated.md) - How to get the latest changes from `base` after you have already merged it.

0 commit comments

Comments
 (0)