Skip to content

Commit 13bc6f7

Browse files
committed
feat(docs): updates to setup, getting-started, and initial tutorials.
1 parent c07e403 commit 13bc6f7

15 files changed

Lines changed: 123 additions & 23 deletions

File tree

changelogs/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ Feat 016 (#47)
178178
### 🐛 Fixed
179179

180180
- *(template)* Updates to template cookiecutter.json file.
181+
- *(configuration)* I think this should fix the last of the problems with main showing up where master should for this repository.
181182
## [0.1.0] - 2025-12-05
182183

183184
### ⚙️ Miscellaneous

changelogs/releases/v0.1.1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Changelog:
33
# --------------------------------------------------
44

5-
## [0.1.1] - 2026-01-27
5+
## [0.1.1] - 2026-01-28
66

77
### ⚙️ Miscellaneous
88

@@ -178,3 +178,4 @@ Feat 016 (#47)
178178
### 🐛 Fixed
179179

180180
- *(template)* Updates to template cookiecutter.json file.
181+
- *(configuration)* I think this should fix the last of the problems with main showing up where master should for this repository.

cookiecutter.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
"America/Los_Angeles"
1010
],
1111
"license": [
12-
"MIT",
1312
"AGPL-3.0-or-later",
1413
"AGPL-3.0-only",
14+
"Apache-2.0",
1515
"GPL-3.0-or-later",
1616
"GPL-3.0-only",
17-
"Apache-2.0",
1817
"BSD-3-Clause",
1918
"BSD-2-Clause",
2019
"0BSD",
20+
"MIT",
2121
"Unlicense"
2222
],
2323
"contribution_model": [

{{ cookiecutter.project_slug }}/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ PUBLISHDIR ?=
4242
# 📚 Documentation (Sphinx + Jekyll)
4343
# --------------------------------------------------
4444
RUBY_INSTALL := bundle install
45-
JEKYLL_BUILD := bundle exec jekyll build --quiet
45+
JEKYLL_BUILD := bundle exec jekyll build --trace --verbose
4646
JEKYLL_CLEAN := bundle exec jekyll clean
4747
JEKYLL_SERVE := bundle exec jekyll serve
4848
# --------------------------------------------------
Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# {{ site.title }}
22

3-
[![License](https://img.shields.io/github/license/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }})](LICENSE.md)
3+
[![License](https://img.shields.io/github/license/{{ site.github_username }}/{{ site.baseurl }})](LICENSE.md)
44

55
__Author:__ {{ site.author }}
66
__Version:__ {{ site.version }}
@@ -18,24 +18,25 @@ __CI/CD Check List:__
1818
* ![typecheck]({{ site.repo_url }}/actions/workflows/typecheck.yml/badge.svg)
1919

2020
***
21+
<!-- NOTE: This page is currently included in _copy_without_render which is why there are no raw or endraw tags. And no calls to {{ cookiecutter.etc }}. -->
22+
<!-- NOTE: On this page all links need to be from site.github_io_url and not jinja2 links -->
2123

2224
## Getting Started
23-
* [Get {{ cookiecutter.project_name}}]
24-
* [Installation guides]
25+
* [Installation guide]({{ site.github_io_url }}/manual/introduction/installation-guide)
2526

2627
## Documentation
27-
The {{ cookiecutter.project_name }} documentation is available at [docs]({{ site.github_io_url }})
28+
The {{ site.title }} documentation is available at [docs]({{ site.github_io_url }}).
2829

2930
## Contributing
30-
If you're interested in contributing to the {{ cookiecutter.project_name }} project:
31-
* Start by reading the [contributing guide]({{ site.github_io_url }}/developer-resources/contribute.md).
32-
* Learn how to setup your local environment, in our [developer guide]({{ site.github_io_url }}/contribute/developer-guide.md).
33-
* Look through our [style guide]({{ site.github_io_url }}/contribute/style-guides/index.md).
31+
If you're interested in contributing to the {{ site.title }} project:
32+
* Start by reading the [contributing guide]({{ site.github_io_url }}/developer-resources/contribute).
33+
* Learn how to setup your local environment, in our [developer guide]({{ site.github_io_url }}/contribute/developer-guide).
34+
* Look through our [style guide]({{ site.github_io_url }}/contribute/style-guides/index).
3435

3536
## License
36-
{{ cookiecutter.copyright }}
37+
{{ site.copyright }}
3738

38-
This project is licensed under the __{{ cookiecutter.license }} License__.
39-
See the [LICENSE]({{ site.repo_blob }}/LICENSE.md) file for the full license text.
39+
This project is licensed under the __{{ site.license }} License__.
40+
See the [LICENSE]({{ site.repo_blob }}/LICENSE.md) file for the full license text.
4041

41-
SPDX-License-Identifier: {{ cookiecutter.license }}
42+
SPDX-License-Identifier: {{ site.license }}

{{ cookiecutter.project_slug }}/_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
title: "{{ cookiecutter.project_name }}"
44
author: "{{ cookiecutter.author }}"
55
version: "{{ cookiecutter.version }}"
6+
license: "{{ cookiecutter.license }}"
7+
copyright: "{{ cookiecutter.copyright }}"
68
timezone: "{{ cookiecutter.timezone }}"
79
description: "{{ cookiecutter.description }}"
810
remote_theme: "{{ cookiecutter.theme }}"

{{ cookiecutter.project_slug }}/_manual/introduction/getting-started.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,41 @@ nav_order: 1
55
parent: Introduction
66
---
77
## Getting started with {{ cookiecutter.project_name }}
8+
9+
1. [Requirements]({% raw %}{% link _manual/setup-guide/requirements.md %}{% endraw %}) include python3, Nutri-Matic (docs & hooks), rust (rustup), and git-cliff (changelogs).
10+
* Python3 Packages
11+
1. [cookiecutter](https://github.com/cookiecutter/cookiecutter) is required to utilize templates from github.
12+
2. Nutri-Matic is required to be sourced in python environment for template cookiecutter hooks to work.
13+
14+
I find that it easiest to clone the nutri-matic repository. Use the included makefile to install all python dependencies with ```make python-install``` from within the cloned directory. Then, source the created file, ```.venv/bin/activate```, or point the below script variable, ```PYTHON_VENV```, to desired python virtual environment.
15+
16+
__Example:__ Bash script can be copied and pasted into a shell file. Then, used to begin generating new projects.
17+
__Template Options:__
18+
* cookiecutter-cookiecutter to generate new cookiecutter template projects.
19+
* python3-cookiecutter to generate python3 projects.
20+
* ansible-cookiecutter to generate ansible galaxy project.
21+
<!-- * ansible-config-cookiecutter to generate local ansible configuration. -->
22+
* typescript-cookiecutter to generate typescript project.
23+
<!-- * chrome-extension-cookiecutter to generate google chrome extension project. -->
24+
25+
```shell
26+
#!/bin/bash
27+
28+
PYTHON_VENV="~/Documents/git_repo/nutri-matic/.venv/bin/activate"
29+
30+
PROJECT_NAME="example project name"
31+
TEMPLATE="cookiecutter-cookiecutter"
32+
LICENSE="AGPL-3.0-or-later"
33+
BRANCH="main"
34+
DESCRIPTION="Example cookiecutter template project."
35+
36+
rm -rf $PROJECT_NAME/
37+
source $PYTHON_VENV
38+
cookiecutter git@github.com:jcook3701/$TEMPLATE.git \
39+
--checkout $BRANCH \
40+
--no-input \
41+
project_name=$PROJECT_NAME \
42+
description=$DESCRIPTION \
43+
license=$LICENSE
44+
deactivate
45+
```

{{ cookiecutter.project_slug }}/_manual/introduction/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ nav_order: 1
55
has_children: true
66
---
77
## Introduction to {{ cookiecutter.project_name }}
8+
9+
<!-- * [Installation Guide]({% raw %}{% link _manual/introduction/installation-guide.md %}{% endraw %}) -->
10+
* [Getting Started]({% raw %}{% link _manual/introduction/getting-started.md %}{% endraw %})
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: default
3+
title: "Installation Guide"
4+
nav_order: 1
5+
parent: Introduction
6+
---
7+
## Installation Guide for {{ cookiecutter.project_name }} (Linux)

{{ cookiecutter.project_slug }}/_manual/setup-guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ has_children: true
66
---
77
## {{ cookiecutter.project_name }} Setup
88

9-
1. Install all [requirements]({% raw %}{%link link _manual/setup-guide/requirements.md %}{% endraw %}) to effectively pull and utilize cookiecutter template repository effectively.
9+
1. Install all [requirements]({% raw %}{% link _manual/setup-guide/requirements.md %}{% endraw %}) to effectively pull and utilize cookiecutter template repository effectively.

0 commit comments

Comments
 (0)