docopslab-dev 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +42 -11
  3. data/docopslab-dev.gemspec +2 -2
  4. data/lib/docopslab/dev/docker_aware.rb +40 -0
  5. data/lib/docopslab/dev/initializer.rb +21 -7
  6. data/lib/docopslab/dev/library.rb +14 -1
  7. data/lib/docopslab/dev/linters.rb +10 -3
  8. data/lib/docopslab/dev/version.rb +1 -1
  9. data/lib/docopslab/dev.rb +2 -1
  10. data/specs/data/default-manifest.yml +8 -0
  11. metadata +4 -38
  12. data/docs/agent/index.md +0 -76
  13. data/docs/agent/misc/bash-styles.md +0 -470
  14. data/docs/agent/missions/conduct-release.md +0 -298
  15. data/docs/agent/missions/setup-new-project.md +0 -344
  16. data/docs/agent/roles/devops-release-engineer.md +0 -195
  17. data/docs/agent/roles/docops-engineer.md +0 -257
  18. data/docs/agent/roles/planner-architect.md +0 -96
  19. data/docs/agent/roles/product-engineer.md +0 -201
  20. data/docs/agent/roles/product-manager.md +0 -163
  21. data/docs/agent/roles/project-manager.md +0 -175
  22. data/docs/agent/roles/qa-testing-engineer.md +0 -149
  23. data/docs/agent/roles/tech-docs-manager.md +0 -189
  24. data/docs/agent/roles/tech-writer.md +0 -217
  25. data/docs/agent/skills/asciidoc.md +0 -436
  26. data/docs/agent/skills/bash-cli-dev.md +0 -135
  27. data/docs/agent/skills/code-commenting.md +0 -384
  28. data/docs/agent/skills/fix-broken-links.md +0 -354
  29. data/docs/agent/skills/fix-jekyll-asciidoc-build-errors.md +0 -14
  30. data/docs/agent/skills/fix-spelling-issues.md +0 -10
  31. data/docs/agent/skills/git.md +0 -205
  32. data/docs/agent/skills/github-issues.md +0 -174
  33. data/docs/agent/skills/product-release-rollback-and-patching.md +0 -71
  34. data/docs/agent/skills/rake-cli-dev.md +0 -57
  35. data/docs/agent/skills/readme-driven-dev.md +0 -14
  36. data/docs/agent/skills/release-history.md +0 -23
  37. data/docs/agent/skills/ruby.md +0 -203
  38. data/docs/agent/skills/schemagraphy-sgyml.md +0 -21
  39. data/docs/agent/skills/tests-running.md +0 -33
  40. data/docs/agent/skills/tests-writing.md +0 -68
  41. data/docs/agent/skills/write-the-docs.md +0 -116
  42. data/docs/agent/topics/common-project-paths.md +0 -169
  43. data/docs/agent/topics/dev-tooling-usage.md +0 -195
  44. data/docs/agent/topics/devops-ci-cd.md +0 -57
  45. data/docs/agent/topics/product-docs-deployment.md +0 -31
  46. data/docs/library-readme.adoc +0 -39
@@ -1,116 +0,0 @@
1
- # Documenting Product Changes
2
-
3
- This document is intended for AI agents operating within a DocOps Lab environment.
4
-
5
- Original sources for this document include:
6
-
7
- <!-- detect the origin url based on the slug (origin) -->
8
- - [Product Change Tracking and Documentation](/docs/product-change-docs/)
9
-
10
- Each contributor of product code or docs changes is responsible for preparing that change to be included in release documentation, _when applicable_.
11
-
12
- Table of Contents
13
-
14
- - GitHub Issues Labels
15
- - Change Documentation
16
- - User-Facing Documentation
17
- - Internal Documentation
18
- - Release Note Entry
19
-
20
- ## GitHub Issues Labels
21
-
22
- GitHub Issues are use specific labels to indicate documentation expectations.
23
-
24
- <dl>
25
- <dt class="hdlist1">`needs:docs`</dt>
26
- <dd>
27
- The issue requires documentation updates as part of its resolution. Documentation updates will likely be in a sub-issue with a `documentation` label.
28
- </dd>
29
- <dt class="hdlist1">`needs:note`</dt>
30
- <dd>
31
- The issue requires a note in the release history when resolved. Release notes are appended to the description body under `## Release Note`.
32
- </dd>
33
- <dt class="hdlist1">`changelog`</dt>
34
- <dd>
35
- The issue summary should be included in the changelog for the next release, even if no release note is included.
36
- </dd>
37
- </dl>
38
-
39
- Issues labeled `changelog` will automatically appear in the Changelog section of the Release History document. Release notes must be manually entered.
40
-
41
- ## Change Documentation
42
-
43
- When a change to the product affects user-facing functionality, the documentation needs to change.
44
-
45
- For early product versions, most documentation appears in the root `README.adoc` file. When a product has a `docs/content/` path, documentation changes usually have a home in an AsciiDoc (`.adoc`) file in a subdirectory.
46
-
47
- Reference matter should be documented where it is defined, such as in `specs/data/*.yml` files.
48
-
49
- When a product matures (prior to 1.0), the documentation should move into new paths, separated depending on whether it is user-facing or internal.
50
-
51
- In either case, the way to discover where to put documentation changes is to use a `docopslab-dev` _skim_ task on the existing docs source. These skims are semantic outlines of the source files in their converted state. They can be used for navigation, content discovery, and change impact analysis.
52
-
53
- ### User-Facing Documentation
54
-
55
- End-user docs, including API documentation, is usually sourced in `docs/content/`, alongside asset files for the documentation site (images, CSS, etc.).
56
-
57
- The `docs/` path is typically a Jekyll site’s source path, but in most cases a pre-build operation will generate supplemental files in `docs/built/` or the like.
58
-
59
- If the changes you are documenting are user-facing, use the tasks below to determine where the relevant documentation lives.
60
-
61
- <dl>
62
- <dt class="hdlist1">Skim the docs</dt>
63
- </dl>
64
-
65
- ```
66
- bundle exec rake labdev:skim:adoc[README.adoc,tree,json] > .agent/docs/readme.json
67
- bundle exec rake labdev:skim:adoc[docs/,tree,json] > .agent/docs/skim-docs.json
68
- ```
69
-
70
- ### Internal Documentation
71
-
72
- Generally speaking, internal documentation (for developers, maintainers, and their AI agents), belongs in `_docs/` and `.agent/docs/` paths.
73
-
74
- The `_docs/agent/` path is for overlays that take priority over parallel docs in `.agent/docs/` (maintained by docopslab-dev library syncing).
75
-
76
- <dl>
77
- <dt class="hdlist1">Skim the README</dt>
78
- </dl>
79
-
80
- ```
81
- bundle exec rake labdev:skim:adoc[README.adoc,tree,json] > .agent/docs/readme.json
82
- ```
83
-
84
- <dl>
85
- <dt class="hdlist1">Skim the internal docs</dt>
86
- </dl>
87
-
88
- ```
89
- bundle exec rake labdev:skim:adoc[_docs/,tree,json] > .agent/docs/skim-internal.json
90
- ```
91
-
92
- <dl>
93
- <dt class="hdlist1">Skim the agent docs to see if any overlay is needed</dt>
94
- </dl>
95
-
96
- ```
97
- bundle exec rake labdev:skim:md[.agent/docs/:_docs/agent/,tree,json] > .agent/docs/skim-agent.json
98
- ```
99
-
100
- If a local instruction contradicts or differs arbitrarily from the main DocOps Lab developer/contributor docs, create an overlay file in `_docs/agent/*` with the same sub-path and filename.
101
-
102
- ## Release Note Entry
103
-
104
- User-facing product changes that deserve explanation (not just notice) require a release note.
105
-
106
- Add a release note for a given issue by appending it to the issue body following a `## Release Note` heading.
107
-
108
- Example
109
-
110
- ```markdown
111
- ## Release Note
112
-
113
- The content of the release note goes here, in Markdown format.
114
- Try to keep it to one paragraph with minimal formatting.
115
- ```
116
-
@@ -1,169 +0,0 @@
1
- # Overview of Common Paths/Files in DocOps Lab Projects
2
-
3
- This document is intended for AI agents operating within a DocOps Lab environment.
4
-
5
- _If you are creating a new DocOPs Lab project_, use this guide to establish initial files. This also applies to adding major facilities or features to an existing project.
6
-
7
- _If you are just getting to know a DocOps Lab codebase_, favor the project’s `README.adoc` file over this guide.
8
-
9
- DocOps Lab projects tend to contain many of the same files across codebases. Documentation of these files in particular will be added when possible, but for now this basic guide will have to suffice.
10
-
11
- Table of Contents
12
-
13
- - Documentation Paths
14
- - Configuration
15
- - Containerization
16
- - Ruby Files
17
- - Automation Paths
18
- - Quality Assurance Paths
19
- - Generative AI Paths
20
-
21
- ## Documentation Paths
22
-
23
- Only two files are required in _every_ DocOps Lab project, though most projects should contain most of these files, depending on the nature of the codebase. A `docs/` or `_docs/` directory is close to the third universal requirement, necessary by the time a project reaches version 1.0.0.
24
-
25
- <dl>
26
- <dt class="hdlist1">`README.adoc`</dt>
27
- <dd>
28
- Project documentation in AsciiDoc format, providing an overview and instructions. DocOps Lab READMEs typically include single-sourcing data for the product as AsciiDoc attributes. See the [AsciiSourcerer project](https://github.com/DocOps/asciisourcerer).
29
- </dd>
30
- <dt class="hdlist1">`LICENSE`</dt>
31
- <dd>
32
- The project’s license file, specifying the terms under which the code can be used and distributed. Almost always **MIT License**.
33
- </dd>
34
- <dt class="hdlist1">`docs/` / `_docs/`</dt>
35
- <dd>
36
- Directory for additional documentation, guides, and related materials. Typically `docs/` for product _user_ documentation, whereas `_docs/` is for (a) repos that are mainly for websites or (b) _internal engineering_ documentation files (more often found at `docs/_docs/`). Both might be present in the case of a website that hosts docs and _has its own_ docs.
37
-
38
- A `docs/` directory will typically have its own `Gemfile`, configs, and assets for Jekyll, Yard, and other generators. A `_docs/` directory is usually a content-only subordinate to the main project and its content, and may not have separate configs or assets.
39
- </dd>
40
- </dl>
41
-
42
- ## Configuration
43
-
44
- <dl>
45
- <dt class="hdlist1">`.config/`</dt>
46
- <dd>
47
- Configuration files for tooling used in development, building, or QA/testing. Not always used.
48
-
49
- <dl>
50
- <dt class="hdlist1">`.config/releasehx.yml`</dt>
51
- <dd>
52
- Configuration file for ReleaseHx, a tool for generating release notes and changelogs.
53
- </dd>
54
- <dt class="hdlist1">`.config/jekyll.yml`</dt>
55
- <dd>
56
- Configuration file for Jekyll docs publication. For Jekyll extensions (themes and plugins), this file is typically `./_config.yml` to conform to Jekyll defaults.
57
- </dd>
58
- <dt class="hdlist1">`.config/vale.ini`</dt>
59
- <dd>
60
- Configuration file for Vale, a linter for prose, defining linting rules and styles.
61
- </dd>
62
- </dl>
63
- </dd>
64
- <dt class="hdlist1">`.config/.vendor/`</dt>
65
- <dd>
66
- Directory for upstream configuration files, mostly or entirely managed by `docopsab-dev` gem. These files are not tracked in Git but are synced with upstream sources and maintained by DocOps Lab.
67
- </dd>
68
- </dl>
69
-
70
- ## Containerization
71
-
72
- <dl>
73
- <dt class="hdlist1">`Dockerfile`</dt>
74
- <dd>
75
- Dockerfile for building the project’s Docker image, defining the environment and dependencies.
76
- </dd>
77
- <dt class="hdlist1">`.dockerignore`</dt>
78
- <dd>
79
- Specifies files and directories to ignore when building the Docker image.
80
- </dd>
81
- <dt class="hdlist1">`docker-compose.yml`</dt>
82
- <dd>
83
- Defines and runs multi-container Docker applications, _if applicable_.
84
- </dd>
85
- </dl>
86
-
87
- ## Ruby Files
88
-
89
- These files are common to Ruby-based DocOps Lab projects. The `Gemfile` and `Gemfile.lock` may be present in non-Ruby codebases that use Ruby development dependencies, such as ReleaseHx.
90
-
91
- <dl>
92
- <dt class="hdlist1">`Gemfile`</dt>
93
- <dd>
94
- Ruby Bundler file, specifying gem dependencies for the project.
95
- </dd>
96
- <dt class="hdlist1">`Gemfile.lock`</dt>
97
- <dd>
98
- Generated by Bundler, this file locks the gem versions used in the project.
99
- </dd>
100
- <dt class="hdlist1">`.ruby-version`</dt>
101
- <dd>
102
- Specifies the Ruby version used in the project.
103
- </dd>
104
- <dt class="hdlist1">`<gemname>.gemspec`</dt>
105
- <dd>
106
- Ruby gem specification file, defining the gem’s metadata and dependencies.
107
- </dd>
108
- </dl>
109
-
110
- ## Automation Paths
111
-
112
- <dl>
113
- <dt class="hdlist1">`Rakefile`</dt>
114
- <dd>
115
- Ruby Rakefile for defining tasks and automation scripts.
116
- </dd>
117
- <dt class="hdlist1">`scripts/`</dt>
118
- <dd>
119
- Custom scripts for automating tasks related to development, testing, and deployment.
120
- </dd>
121
- <dt class="hdlist1">`.github/workflows/`</dt>
122
- <dd>
123
- GitHub Actions workflows for CI/CD, defining automated build, test, and deployment processes.
124
- </dd>
125
- </dl>
126
-
127
- ## Quality Assurance Paths
128
-
129
- Any files containing _requirements_, _specifications_, _definitions_, _schemas_, or _tests_ should be stored in the `specs/` directory, as detailed in [DocOps Lab Testing & Specifications](/docs/testing/).
130
-
131
- <dl>
132
- <dt class="hdlist1">`specs/`</dt>
133
- <dd>
134
- General directory for content that specifies, defines, or tests elements of the product. See [DocOps Lab Testing & Specifications](/docs/testing/).
135
-
136
- <dl>
137
- <dt class="hdlist1">`specs/data/`</dt>
138
- <dd>
139
- Definition and schema files.
140
- </dd>
141
- <dt class="hdlist1">`specs/tests/rspec/`</dt>
142
- <dd>
143
- RSpec tests for Ruby codebases.
144
- </dd>
145
- <dt class="hdlist1">`../<product-slug>-demo/`</dt>
146
- <dd>
147
- Major products typically have a sibling repo that serves as a proving grounds and/or for demonstrative purposes.
148
- </dd>
149
- </dl>
150
- </dd>
151
- </dl>
152
-
153
- ## Generative AI Paths
154
-
155
- <dl>
156
- <dt class="hdlist1">`.github/copilot-instructions.md`</dt>
157
- <dd>
158
- Instructions for GitHub Copilot, providing guidance on how any cloud-based GH Copilot assistance should be oriented toward a given codebase.
159
- </dd>
160
- <dt class="hdlist1">`AGENTS.md`</dt>
161
- <dd>
162
- General for _local_ coding agents. May duplicate `.github/copilot-instructions.md` or provide additional context.
163
- </dd>
164
- <dt class="hdlist1">`.agent/`</dt>
165
- <dd>
166
- A directory for temporary/scratch files used by local coding agents.
167
- </dd>
168
- </dl>
169
-
@@ -1,195 +0,0 @@
1
- # AI Agent Instructions for In-house Dev-Tooling Usage
2
-
3
- This document is intended for AI agents operating within a DocOps Lab environment.
4
-
5
- This guide pertains to the `docopslab-dev` environment. For complete documentation, see the [project’s README](/projects/docops-box/).
6
-
7
- > **IMPORTANT:** The environment described and provided here is _not_ optimized for DocOps Lab _applications_ used in third-party projects. For your own applications of DocOps Labs products like ReleaseHx and Issuer, see [DocOps Box](/projects/docops-box) for a full-featured docs-focused workspace, runtime, and production environment.
8
-
9
- This gem mainly supplies rake tasks for performing common development operations across and between projects.
10
-
11
- Table of Contents
12
-
13
- - Standard Usage
14
- - Override Commands
15
- - Task Reference
16
- - Typical Workflow
17
- - Override Commands
18
- - Customization
19
- - Local Overrides
20
-
21
- ## Standard Usage
22
-
23
- With a proper native Ruby environment, use the `bundle exec` prefix to ensure consistent dependency versioning.
24
-
25
- Sync all configs and assets
26
-
27
- ```
28
- bundle exec rake labdev:sync:all
29
- ```
30
-
31
- Run all linters
32
-
33
- ```
34
- bundle exec rake labdev:lint:all
35
- ```
36
-
37
- Auto-fix safe issues
38
-
39
- ```
40
- bundle exec rake labdev:heal:all
41
- ```
42
-
43
- ## Override Commands
44
-
45
- Most executions of the packaged tools are handled through Rake tasks, but you can always run them directly, especially to pass arguments not built into the tasks.
46
-
47
- <dl>
48
- <dt class="hdlist1">RuboCop</dt>
49
- <dd>
50
- ```
51
- bundle exec rubocop --config .config/rubocop.yml [options]
52
- bundle exec rubocop --config .config/rubocop.yml --auto-correct-all
53
- bundle exec rubocop --config .config/rubocop.yml --only Style/StringLiterals
54
- ```
55
- </dd>
56
- <dt class="hdlist1">Vale</dt>
57
- <dd>
58
- ```
59
- vale --config=.config/vale.ini [options] [files]
60
- vale --config=.config/vale.ini README.adoc
61
- vale --config=.config/vale.ini --minAlertLevel=error .
62
- ```
63
- </dd>
64
- <dt class="hdlist1">HTMLProofer</dt>
65
- <dd>
66
- ```
67
- bundle exec htmlproofer --ignore-urls "/www.github.com/,/foo.com/" ./_site
68
- ```
69
- </dd>
70
- </dl>
71
-
72
- ## Task Reference
73
-
74
- ```
75
- bundle exec rake --tasks | grep labdev:
76
- ```
77
-
78
- > **TIP:** To hide the `labdev:` tasks from the standard `rake --tasks` output for an integrated project, use:
79
- >
80
- >
81
- >
82
- >
83
- >
84
- > ```
85
- > bundle exec rake --tasks | grep -v labdev:
86
- > ```
87
-
88
- ### Typical Workflow
89
-
90
- This tool is for working on DocOps Lab projects or possibly unrelated projects that wish to follow our methodology. A typical workflow might look as follows.
91
-
92
- Normal development
93
-
94
- ```
95
- git add .
96
- git commit -m "Add new feature"
97
- ```
98
-
99
- + This should yield warnings and errors if active linters find issues.
100
-
101
- 1. Auto-fix what you can.
102
-
103
- 2. Review the changes.
104
-
105
- 3. Commit the fixes.
106
-
107
- 4. Handle any remaining manual fixes.
108
-
109
- 5. Fix remaining issues manually.
110
-
111
- 6. Try pushing.
112
-
113
- > **TIP:** Bypass the pre-push gates (usually to test or demo the failure at origin):
114
- >
115
- >
116
- >
117
- >
118
- >
119
- > ```
120
- > git push --no-verify
121
- > ```
122
-
123
- ### Override Commands
124
-
125
- Most executions of the packaged tools are handled through Rake tasks, but you can always run them directly, especially to pass arguments not built into the tasks.
126
-
127
- <dl>
128
- <dt class="hdlist1">RuboCop</dt>
129
- <dd>
130
- ```
131
- bundle exec rubocop --config .config/rubocop.yml [options]
132
- bundle exec rubocop --config .config/rubocop.yml --auto-correct-all
133
- bundle exec rubocop --config .config/rubocop.yml --only Style/StringLiterals
134
- ```
135
- </dd>
136
- <dt class="hdlist1">Vale</dt>
137
- <dd>
138
- ```
139
- vale --config=.config/vale.ini [options] [files]
140
- vale --config=.config/vale.ini README.adoc
141
- vale --config=.config/vale.ini --minAlertLevel=error .
142
- ```
143
- </dd>
144
- <dt class="hdlist1">HTMLProofer</dt>
145
- <dd>
146
- ```
147
- bundle exec htmlproofer --ignore-urls "/www.github.com/,/foo.com/" ./_site
148
- ```
149
- </dd>
150
- </dl>
151
-
152
- ## Customization
153
-
154
- Override settings by editing the project configs:
155
-
156
- - `.config/docopslab-dev.yml`
157
-
158
- - `.config/rubocop.yml`
159
-
160
- - `.config/vale.ini`
161
-
162
- - `.config/htmlproofer.yml`
163
-
164
- - `.config/actionlint.yml`
165
-
166
- - `.config/shellcheckrc`
167
-
168
- Your configurations will inherit from the base configurations and source libraries as sourced in the Git-ignored `.config/.vendor/docopslab/` path.
169
-
170
- ### Local Overrides
171
-
172
- Projects using `docopslab-dev` will have a configuration structure like the following:
173
-
174
- ```tree
175
- .config/
176
- ├── docopslab-dev.yml # Project manifest (tracked)
177
- ├── actionlint.yml # Project config (tracked; inherits from base)
178
- ├── htmlproofer.local.yml # Project config (tracked; inherits from base)
179
- ├── htmlproofer.yml # Generated config (untracked)
180
- ├── rubocop.yml # Project config (tracked; inherits from base)
181
- ├── shellcheckrc # ShellCheck config (tracked)
182
- ├── vale.ini # Generated active config (untracked)
183
- ├── vale.local.ini # Project config (tracked; inherits from base)
184
- ├── .vendor/ # Base configs (untracked; synced)
185
- │ └── docopslab/
186
- │ ├── htmlproofer.yml # Centrally managed base
187
- │ ├── rubocop.yml # Centrally managed base
188
- │ └── vale.ini # Centrally managed base
189
- scripts/ # Project override scripts
190
- └── .vendor/ # Centrally managed scripts
191
- .github/workflows/ # CI/CD workflows (tracked)
192
- env.docopslab # Environment variables (git tracked)
193
- env.private # Environment variables (git ignored)
194
- ```
195
-
@@ -1,57 +0,0 @@
1
- # AI Agent Orientation to DocOps Lab DevOps/CI/CD Practices
2
-
3
- This document is intended for AI agents operating within a DocOps Lab environment.
4
-
5
- DocOps Lab is in a very nascent stage of establishing shared (cross-repo) tools, workflows, and protocols to for automating development, integration, build, and deployment processes.
6
-
7
- DocOps Lab uses GitHub Actions and Docker as primary platforms for integration and deployment automation.
8
-
9
- For now you can get a good idea for getting started with automation by checking the standard paths in the current project (`Dockerfile`, `docker-compose.yml`, `.github/workflos/`, `Rakefile`, `scripts/`) as well as looking at similar DocOps Lab projects that have more established CI/CD workflows.
10
-
11
- The rest of this document is snippets from various relevant internal documentation.
12
-
13
- Table of Contents
14
-
15
- - Common Automation Scripts
16
- - Docker Usage
17
- - Application Dockerfiles and Images
18
- - See Also
19
-
20
- ## Common Automation Scripts
21
-
22
- Some DocOps Lab projects include highly customized automation scripts, but most contain or employ some common scripts that are primarily stored in this repository and/or deployed as Docker images for universal access during development, testing, and deployment.
23
-
24
- These procedures can always be invoked by way of local scripts located in `scripts/`. These include:
25
-
26
- - `build.sh`
27
-
28
- - `publish.sh`
29
-
30
- Common scripts are managed through the lnk:/docs/lab-dev-setup/[`docopslab-dev` gem].
31
-
32
- Ruby projects will generally include a `Rakefile` (in the base directory), which automates various Ruby tasks.
33
-
34
- ## Docker Usage
35
-
36
- DocOps Lab projects make extensive use of Docker.
37
-
38
- All runtime projects provide have their own Docker image hosted on Docker Hub and sourced in their own repo’s `Dockerfile`. This way a reliable executable is available across all platforms and environments.
39
-
40
- Some of our CI/CD pipelines will be “Dockerized” to provide consistent builds and tests across numerous repos.
41
-
42
- The DocOps Box project maintains an elaborate Dockerfile and image/container management script (`docksh`) that can help manage multiple environments. This is most advantageous for non-Ruby/non-programmer users building a complex documentation codebase in the Ruby/DocOps Lab ecosystem or using multiple DocOps Lab or similar tools across numerous multiple codebases.
43
-
44
- ### Application Dockerfiles and Images
45
-
46
- Each runtime application project has its own `Dockerfile` in the root of its repository.
47
-
48
- This Dockerfile defines the image that will be built and pushed to Docker Hub for use by anyone needing to run the application.
49
-
50
- > **NOTE:** Some Dockerfiles combine multiple applications, such as the [issuer-rhx image](https://github.com/DocOps), which combines both the Issuer and ReleaseHx applications.
51
-
52
- ## See Also
53
-
54
- - `./dev-tooling-usage.md`
55
-
56
- - `../skills/git.md`
57
-
@@ -1,31 +0,0 @@
1
- # Product Documentation Deployment
2
-
3
- This document is intended for AI agents operating within a DocOps Lab environment.
4
-
5
- Most DocOps Lab projects have their own documentation sites, also built with Jekyll and AsciiDoc, often including YARD for Ruby API reference generation.
6
-
7
- For less-formalized projects, documentation is restricted to `README.adoc` and other `*.adoc` files. These are hosted as GitHub Pages sites from their respective repositories, but using a consistent URL structure centered on the `docopslab.org` domain hosted here.
8
-
9
- The URL structure is as follows:
10
-
11
- <dl>
12
- <dt class="hdlist1">Project landing page</dt>
13
- <dd>
14
- `https://<project>.docopslab.org/`
15
-
16
- At a minimum, this should be a subset of the `README.adoc` file.
17
- </dd>
18
- <dt class="hdlist1">Product user docs</dt>
19
- <dd>
20
- `https://<project>.docopslab.org/docs/`
21
- </dd>
22
- <dt class="hdlist1">Product developer docs</dt>
23
- <dd>
24
- `https://<project>.docopslab.org/docs/api/(<apiname>/)`
25
-
26
- The final `<apiname>` directory is only applicable when the product contains multiple distinct APIs.
27
- </dd>
28
- </dl>
29
-
30
- GH Pages configuration for these sites enables deployment by way of a clean `gh-pages` branch containing only generated documentation artifacts and the `CNAME` file.
31
-
@@ -1,39 +0,0 @@
1
- = DocOps Lab: Agent Library
2
- :doctype: article
3
-
4
- This is the *{empty}DocOps Lab agent library* distribution branch.
5
- It is not intended for direct use as a cloned project.
6
-
7
- It is published and consumed automatically by the `docopslab-dev` gem's `labdev:sync:library` Rake task.
8
-
9
-
10
- [[contents]]
11
- == Contents
12
-
13
- `config-packs/`::
14
- Bundled configuration files for linters and quality tools (Vale, RuboCop, actionlint, etc.), organized by tool name.
15
-
16
- `docs/agent/`::
17
- Generated agent-guidance documents covering roles, skills, missions, and topics for AI agents working on DocOps Lab projects.
18
-
19
- `hooks/`::
20
- Git hook scripts installed by `labdev:init:hooks`.
21
-
22
- `scripts/`::
23
- Utility scripts available to projects via `labdev:sync:scripts`.
24
-
25
- `templates/`::
26
- Boilerplate and sync-cast template files, including `AGENTS.markdown` (the canonical template for project-level `AGENTS.md` files).
27
-
28
- `catalog.json`::
29
- Machine-generated catalog of all files in this library snapshot, including SHA256 checksums and the timestamp of the generating commit.
30
-
31
-
32
- [[usage]]
33
- == Usage
34
-
35
- Projects using `docopslab-dev` fetch this library with:
36
-
37
- bundle exec rake labdev:sync:library
38
-
39
- For full documentation, see the https://github.com/DocOps/lab/tree/main/gems/docopslab-dev[docopslab-dev README].