|
5 | 5 | --> |
6 | 6 | <h1 id="github-docs-cookiecutter">github-docs-cookiecutter</h1> |
7 | 7 |
|
| 8 | +<p><a href="LICENSE.md"><img src="https://img.shields.io/github/license/jcook3701/github-docs-cookiecutter" alt="License" /></a></p> |
| 9 | + |
8 | 10 | <p><strong>Author:</strong> Jared Cook<br /> |
9 | 11 | <strong>Version:</strong> 0.1.1</p> |
10 | 12 |
|
|
15 | 17 |
|
16 | 18 | <hr /> |
17 | 19 |
|
18 | | -<p><a href="LICENSE"><img src="https://img.shields.io/github/license/jcook3701/github-docs-cookiecutter" alt="License" /></a></p> |
| 20 | +<p><strong>CI/CD Check List:</strong></p> |
19 | 21 |
|
20 | 22 | <!-- []() --> |
21 | | -<p><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/dependency-check.yml/badge.svg" alt="dependency-check" /> |
22 | | -<img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/format-check.yml/badge.svg" alt="format-check" /> |
23 | | -<img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/lint-check.yml/badge.svg" alt="lint-check" /> |
24 | | -<img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/security-audit.yml/badge.svg" alt="security-audit" /> |
25 | | -<img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/spellcheck.yml/badge.svg" alt="spellcheck" /> |
26 | | -<img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/tests.yml/badge.svg" alt="tests" /> |
27 | | -<img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/typecheck.yml/badge.svg" alt="typecheck" /></p> |
| 23 | +<ul> |
| 24 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/dependency-check.yml/badge.svg" alt="dependency-check" /></li> |
| 25 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/format-check.yml/badge.svg" alt="format-check" /></li> |
| 26 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/lint-check.yml/badge.svg" alt="lint-check" /></li> |
| 27 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/security-audit.yml/badge.svg" alt="security-audit" /></li> |
| 28 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/spellcheck.yml/badge.svg" alt="spellcheck" /></li> |
| 29 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/tests.yml/badge.svg" alt="tests" /></li> |
| 30 | + <li><img src="https://github.com/jcook3701/github-docs-cookiecutter/actions/workflows/typecheck.yml/badge.svg" alt="typecheck" /></li> |
| 31 | +</ul> |
28 | 32 |
|
29 | 33 | <hr /> |
30 | 34 |
|
31 | | -<h2 id="usage-examples">Usage Examples:</h2> |
| 35 | +<h2 id="usage-examples">Usage Examples</h2> |
| 36 | + |
32 | 37 | <p><strong>Example:</strong> Pull from main branch.</p> |
33 | 38 | <ol> |
34 | 39 | <li>Pull Project with cookiecutter command: |
|
42 | 47 | </li> |
43 | 48 | </ol> |
44 | 49 |
|
45 | | -<h2 id="advance-examples">Advance Examples:</h2> |
| 50 | +<h2 id="advance-examples">Advance Examples</h2> |
| 51 | + |
46 | 52 | <p><strong>Note:</strong> The real intention of this project is to call it as a hook within other cookiecutter projects as shown below.<br /> |
47 | 53 | <strong>Explanation:</strong> <a href="https://github.com/jcook3701/ansible-galaxy-cookiecutter">ansible-galaxy-cookiecutter</a> template utilizes <a href="https://github.com/jcook3701/nutri-matic">nutri-matic</a> hooks to pull both this documentation template along with <a href="https://github.com/jcook3701/sphinx-cookiecutter">sphinx-cookiecutter</a> template into generated project <code class="language-plaintext highlighter-rouge">$(PROJECT_ROOT)/docs/</code>.</p> |
48 | 54 |
|
49 | 55 | <p>Utilization of <a href="https://github.com/jcook3701/nutri-matic">nutri-matic</a> is the optimal way of integrating this template in projects.</p> |
50 | 56 |
|
51 | 57 | <hr /> |
52 | 58 |
|
53 | | -<h2 id="development-strategy">Development Strategy:</h2> |
54 | | -<p><strong>Note:</strong> All Makefile commands are used in ci/cd to ensure that if they pass locally they should also pass once pushed to github.</p> |
55 | | -<h3 id="️-build-environment-venv">🐍️ Build environment (.venv)</h3> |
56 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make <span class="nb">install</span> |
57 | | -</code></pre></div></div> |
58 | | -<h3 id="-dependency-management-deptry">🧬 Dependency Management (deptry)</h3> |
59 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make dependency-check |
60 | | -</code></pre></div></div> |
61 | | -<h3 id="️-security-audit-pip-audit">🛡️ Security Audit (pip-audit)</h3> |
62 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make security |
63 | | -</code></pre></div></div> |
64 | | -<h3 id="-formatting-black">🎨 Formatting (black)</h3> |
65 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make format-check |
66 | | -</code></pre></div></div> |
67 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make format-fix |
68 | | -</code></pre></div></div> |
69 | | -<h3 id="-linting-jinja2-cli-ruff-tomllint--yaml-lint">🔍 Linting (jinja2-cli, ruff, tomllint, & yaml-lint)</h3> |
70 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make lint-check |
71 | | -</code></pre></div></div> |
72 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make lint-fix |
73 | | -</code></pre></div></div> |
74 | | -<h3 id="-spellchecking-codespell">🎓 Spellchecking (codespell)</h3> |
75 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make spellcheck |
76 | | -</code></pre></div></div> |
77 | | -<h3 id="-typechecking-mypy">🧠 Typechecking (mypy)</h3> |
78 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make typecheck |
79 | | -</code></pre></div></div> |
80 | | -<h3 id="-testing-pytest">🧪 Testing (pytest)</h3> |
81 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make <span class="nb">test</span> |
82 | | -</code></pre></div></div> |
83 | | -<h3 id="-release-git-tag">🚀 Release (git tag)</h3> |
84 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make release |
85 | | -</code></pre></div></div> |
86 | | -<h3 id="-build-help">❓ Build Help</h3> |
87 | | -<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nv">$ </span>make <span class="nb">help</span> |
88 | | -</code></pre></div></div> |
| 59 | +<h2 id="getting-started">Getting Started</h2> |
| 60 | + |
| 61 | +<ul> |
| 62 | + <li><a href="https://jcook3701.github.io/github-docs-cookiecutter/manual/setup-guide/requirements">Requirements</a></li> |
| 63 | + <li><a href="https://jcook3701.github.io/github-docs-cookiecutter/manual/introduction/installation-guide">Installation guide</a></li> |
| 64 | +</ul> |
| 65 | + |
| 66 | +<h2 id="documentation">Documentation</h2> |
| 67 | + |
| 68 | +<p>The github-docs-cookiecutter documentation is available at <a href="https://jcook3701.github.io/github-docs-cookiecutter">docs</a>.</p> |
| 69 | + |
| 70 | +<h2 id="contributing">Contributing</h2> |
| 71 | + |
| 72 | +<p>If you’re interested in contributing to the github-docs-cookiecutter project:</p> |
| 73 | +<ul> |
| 74 | + <li>Start by reading the <a href="https://jcook3701.github.io/github-docs-cookiecutter/manual/developer-resources/contribute">contributing guide</a>.</li> |
| 75 | + <li>Learn how to setup your local environment, in our <a href="https://jcook3701.github.io/github-docs-cookiecutter/manual/contribute/developer-guide">developer guide</a>.</li> |
| 76 | + <li>Look through our <a href="https://jcook3701.github.io/github-docs-cookiecutter/manual/contribute/style-guides/index">style guide</a>.</li> |
| 77 | +</ul> |
89 | 78 |
|
90 | 79 | <hr /> |
91 | 80 |
|
92 | | -<h3 id="authors-notes">Authors Notes:</h3> |
| 81 | +<h2 id="authors-notes">Authors Notes</h2> |
| 82 | + |
93 | 83 | <ol> |
94 | | - <li>This code currently works with cookiecutter 1.7 from Ubuntu’s apt repositories.</li> |
| 84 | + <li>This code currently works with cookiecutter (2.6) from PyPi repositories.</li> |
95 | 85 | </ol> |
| 86 | + |
| 87 | +<h2 id="license">License</h2> |
| 88 | + |
| 89 | +<p>Copyright (c) 2025-2026, Jared Cook</p> |
| 90 | + |
| 91 | +<p>This project is licensed under the <strong>AGPL-3.0-or-later License</strong>.<br /> |
| 92 | +See the <a href="https://github.com/jcook3701/github-docs-cookiecutter/blob/master/LICENSE.md">LICENSE</a> file for the full license text.</p> |
| 93 | + |
| 94 | +<p>SPDX-License-Identifier: AGPL-3.0-or-later</p> |
0 commit comments