SSWConsulting / SSWConsulting/SSW.Rules

Can we have a add template for "created" and "author"

Open
#415 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
26
Forks
17
Avg merge
14h 39m
Merged PRs (30d)
2

Description

Hi team,

On https://raw.githubusercontent.com/SSWConsulting/SSW.Rules.Content/main/template/rule.md
...can we have a default timestamp (until we automate it) + a default author?

Example:

---
type: rule
archivedreason:
title: {title}
guid: {guid}
uri: {uri}
created: 2021-01-01T00:01:00.0000000Z
authors:
- title: Adam Cogan
  url: https://ssw.com.au/people/adam-cogan
related:

---

<!--endintro-->

...so it's easier to create new rules ;)

AB#60490

AB#60654

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open template/rule.md from the linked raw GitHub file and compare its front matter with the example in the issue. Confirm how new rules consume the template, then update the template so created and authors have the requested defaults; done means the generated starter content includes both fields in the shown format.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.