-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new template and doc updates (#233)
* New Requirements templates added a new template for solution requirements * Update config.yaml Fixed spelling * feat: add performance recommendations to the docs (#231) * feat: add performance recommendations to the docs * refactor: grammar * refactor: update theme version to latest after merge --------- Co-authored-by: John R. Harris <[email protected]> Co-authored-by: Travis Pawley <[email protected]>
- Loading branch information
1 parent
f94be13
commit 0a4ec0d
Showing
30 changed files
with
221 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ presidium-hugo | |
presidium | ||
dist/ | ||
.DS_Store | ||
resources/ | ||
|
||
dist/ | ||
docs/resources |
14 changes: 14 additions & 0 deletions
14
docs/content/best-practices/general-performance-guidelines.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: General Performance Guidelines | ||
weight: 7 | ||
--- | ||
|
||
For Presidium to support the functionality it has built on top of Hugo there are some performance considerations to take into account so that build times can remain reasonable. Below are some steps that can be taken to help with overall build performance: | ||
|
||
- Keep total markdown content to 50MB or less, this should result in a build time of around one minute, but this cannot be guaranteed due to other factors | ||
|
||
- Content spread across multiple files is more performant that having fewer files with more content | ||
|
||
- Less content per markdown file is encouraged, this also supports Presidium's philosophy of small micro-articles | ||
|
||
- While project dependent multiple directories with single a `_index.md` file has better build performance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
github.com/spandigital/presidium-theme-website v2.17.13+incompatible h1:uzzv1ZZzW8S4LLgJ2h90a31/HAWEdlbqmGTs26qbKQM= | ||
github.com/spandigital/presidium-theme-website v2.17.13+incompatible/go.mod h1:8fTL83SigfxCino9GI0yWCVPuWVdUP7o4wfDVgChJCU= |
3 changes: 0 additions & 3 deletions
3
docs/resources/_gen/assets/scss/presidium.scss_48b060fe05b0a273d182ef83c0605941.content
This file was deleted.
Oops, something went wrong.
1 change: 0 additions & 1 deletion
1
docs/resources/_gen/assets/scss/presidium.scss_48b060fe05b0a273d182ef83c0605941.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
languageCode: "en-us" | ||
title: "{{ .Title }}" | ||
copyright: Template Footer | ||
pluralizelisttitles: false | ||
params: | ||
sortByFilePath: true | ||
markup: | ||
goldmark: | ||
renderer: | ||
Unsafe: true | ||
parser: | ||
attribute: | ||
block: true | ||
highlight: | ||
style: github | ||
menu: | ||
main: | ||
- identifier: overview | ||
name: Overview | ||
url: / | ||
weight: 1 | ||
- identifier: archetypes-and-personas | ||
name: Archetypes and Personas | ||
url: /archetypes-and-personas/ | ||
weight: 2 | ||
- identifier: entities-and-relationships | ||
name: Entities and Relationships | ||
url: /entities-and-relationships/ | ||
weight: 3 | ||
- identifier: state-transitions | ||
name: State Transitions | ||
url: /state-transitions/ | ||
weight: 4 | ||
- identifier: features-and-functions | ||
name: Features and Functions | ||
url: /features-and-functions/ | ||
weight: 5 | ||
- identifier: process-flows | ||
name: Process Flows | ||
url: /process-flows/ | ||
weight: 6 | ||
- identifier: capabilities | ||
name: Capabilities | ||
url: /capabilities/ | ||
weight: 7 | ||
- identifier: reference | ||
name: Reference | ||
url: /reference/ | ||
weight: 8 | ||
- identifier: updates | ||
name: Updates | ||
url: /updates/ | ||
weight: 9 | ||
outputFormats: | ||
MenuIndex: | ||
baseName: menu | ||
mediaType: application/json | ||
SearchMap: | ||
baseName: searchmap | ||
mediaType: application/json | ||
outputs: | ||
home: | ||
- HTML | ||
- RSS | ||
- MenuIndex | ||
- SearchMap | ||
module: | ||
imports: | ||
{{ if .Brand -}} | ||
- path: {{ .Brand }} | ||
mounts: | ||
- source: assets | ||
target: assets | ||
- source: static | ||
target: static | ||
{{- end }} | ||
- path: {{ .Theme }} | ||
enableInlineShortcodes: true | ||
frontmatter: | ||
lastmod: | ||
- lastmod | ||
- :fileModTime | ||
- :default |
3 changes: 3 additions & 0 deletions
3
templates/requirements/content/archetypes-and-personas/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Archetypes and Personas | ||
--- |
5 changes: 5 additions & 0 deletions
5
templates/requirements/content/archetypes-and-personas/persona.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: A Persona (Archetype) | ||
author: author | ||
--- | ||
Content... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: Capabilities | ||
--- | ||
|
||
Capabilities, or non-functional requirements, are quantifiable attributes of the solution that define the overall fitness for purpose of the solution. Common capabilities include | ||
|
||
Performance | ||
Reliability | ||
Security | ||
Usability | ||
Maintainability | ||
Scalability | ||
Verifiability | ||
Interoperability | ||
|
||
While all these capabilities are desirable only a few need to be targeted for most solutions. Knowing which are important and defining target values for your solution is vitally important |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: A capability | ||
author: author | ||
--- | ||
|
||
Content... |
4 changes: 4 additions & 0 deletions
4
templates/requirements/content/entities-and-relationships/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Entities and Relationships | ||
--- | ||
|
5 changes: 5 additions & 0 deletions
5
.../requirements/content/entities-and-relationships/entity-relationship-diagram.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Entity Relationship Diagram | ||
author: author | ||
--- | ||
Content... |
9 changes: 9 additions & 0 deletions
9
templates/requirements/content/entities-and-relationships/entity.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
title: An Entity | ||
author: author | ||
--- | ||
Entity Definition | ||
|
||
Relationships | ||
|
||
... |
5 changes: 5 additions & 0 deletions
5
templates/requirements/content/features-and-functions/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: Features | ||
--- | ||
|
||
The highest level functionality of the system. Each feature covers a major area of functionality |
5 changes: 5 additions & 0 deletions
5
templates/requirements/content/features-and-functions/feature 1 /_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: feature 1 | ||
author: author | ||
--- | ||
Feature definition .... |
5 changes: 5 additions & 0 deletions
5
templates/requirements/content/features-and-functions/feature 1 /function.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: A Function | ||
author: author | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: Overview | ||
url: / | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
title: "Hello Presidium!" | ||
--- | ||
|
||
This template project provides a basic structure to start your presidium module. | ||
|
||
For recipes and help on creating your content, see: [presidium.spandigital.net](http://presidium.spandigital.net) | ||
for detailed examples. | ||
|
||
# Heading 1 | ||
## My Table | ||
|
||
One | Two | Three | ||
--|---|-- | ||
| | | ||
| | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Process Flows | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: A Process Flow | ||
author: author | ||
--- | ||
Content... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Reference | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: A Reference | ||
author: author | ||
--- | ||
Content... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: State Transition Model | ||
--- |
5 changes: 5 additions & 0 deletions
5
templates/requirements/content/state-transitions/state-transition model.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: State Transition Model | ||
author: author | ||
--- | ||
Content... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Updates | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: An Update | ||
author: author | ||
--- | ||
Content... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/spandigital/{{ .ProjectName }} | ||
|
||
go 1.16 |