From f2e3ef95f886397116c21679a94437c9bd6ecb24 Mon Sep 17 00:00:00 2001 From: anoduck <9925396+anoduck@users.noreply.github.com> Date: Sun, 10 Nov 2024 17:34:34 -0500 Subject: refactor(content): :construction: Refactoring Directory "Docs" Refactoring content to be structured under heading "docs" --- .frontmatter/config/content/pagefolders/docs.json | 11 +++ .frontmatter/config/data/files/bs-timeline.json | 44 +++++++++++ .frontmatter/config/data/files/knightlabs.json | 44 +++++++++++ .frontmatter/config/data/folders/data.json | 43 ----------- .frontmatter/config/data/types/bs-timeline.json | 38 ++++++++++ .frontmatter/config/data/types/knightlabs.json | 86 ++++++++++++++++++++++ .frontmatter/config/data/types/timeline.json | 38 ---------- .../config/taxonomy/contenttypes/docs.json | 85 +++++++++++++++++++++ 8 files changed, 308 insertions(+), 81 deletions(-) create mode 100644 .frontmatter/config/content/pagefolders/docs.json create mode 100644 .frontmatter/config/data/files/bs-timeline.json create mode 100644 .frontmatter/config/data/files/knightlabs.json delete mode 100644 .frontmatter/config/data/folders/data.json create mode 100644 .frontmatter/config/data/types/bs-timeline.json create mode 100644 .frontmatter/config/data/types/knightlabs.json delete mode 100644 .frontmatter/config/data/types/timeline.json create mode 100644 .frontmatter/config/taxonomy/contenttypes/docs.json (limited to '.frontmatter') diff --git a/.frontmatter/config/content/pagefolders/docs.json b/.frontmatter/config/content/pagefolders/docs.json new file mode 100644 index 0000000..c31aefc --- /dev/null +++ b/.frontmatter/config/content/pagefolders/docs.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://frontmatter.codes/config/content.pagefolders.schema.json", + "title": "docs", + "path": "[[workspace]]/content/docs", + "filePrefix": null, + "previewPath": "docs", + "contentTypes": [ + "docs", + "index" + ] +} \ No newline at end of file diff --git a/.frontmatter/config/data/files/bs-timeline.json b/.frontmatter/config/data/files/bs-timeline.json new file mode 100644 index 0000000..f845efe --- /dev/null +++ b/.frontmatter/config/data/files/bs-timeline.json @@ -0,0 +1,44 @@ +{ + "$schema": "https://frontmatter.codes/config/data.files.schema.json", + "id": "bs-timeline", + "title": "bs-timeline", + "file": "[[workspace]]/data/bs-timeline.yml", + "labelField": "name", + "fileType": "yaml", + "singleEntry": true, + "schema": { + "title": "Timeline", + "type": "object", + "required": [ + "title", + "date" + ], + "properties": { + "name": { + "type": "string", + "title": "Title" + }, + "date": { + "type": "string", + "title": "Date" + }, + "icon": { + "type": "string", + "title": "Icon" + }, + "color": { + "type": "string", + "title": "Color" + }, + "url": { + "type": "string", + "title": "URL" + }, + "content": { + "type": "string", + "title": "Content" + } + } + }, + "type": "bs-timeline" +} \ No newline at end of file diff --git a/.frontmatter/config/data/files/knightlabs.json b/.frontmatter/config/data/files/knightlabs.json new file mode 100644 index 0000000..e8d5aac --- /dev/null +++ b/.frontmatter/config/data/files/knightlabs.json @@ -0,0 +1,44 @@ +{ + "$schema": "https://frontmatter.codes/config/data.files.schema.json", + "id": "knightlabs", + "title": "knightlabs", + "file": "[[workspace]]/data/knightlabs.json", + "labelField": "name", + "fileType": "json", + "singleEntry": true, + "schema": { + "title": "Timeline", + "type": "object", + "required": [ + "name", + "date" + ], + "properties": { + "name": { + "type": "string", + "title": "Title" + }, + "date": { + "type": "string", + "title": "Date" + }, + "icon": { + "type": "string", + "title": "Icon" + }, + "color": { + "type": "string", + "title": "Color" + }, + "url": { + "type": "string", + "title": "URL" + }, + "content": { + "type": "string", + "title": "Content" + } + } + }, + "type": "knightlabs" +} \ No newline at end of file diff --git a/.frontmatter/config/data/folders/data.json b/.frontmatter/config/data/folders/data.json deleted file mode 100644 index 77ffcf2..0000000 --- a/.frontmatter/config/data/folders/data.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "$schema": "https://frontmatter.codes/config/data.folders.schema.json", - "id": "Data", - "path": "[[workspace]]/data", - "singleEntry": false, - "enableFileCreation": true, - "fileType": "yaml", - "type": "timeline", - "schema": { - "title": "Timeline", - "type": "object", - "required": [ - "title", - "date" - ], - "properties": { - "title": { - "type": "string", - "title": "Title" - }, - "date": { - "type": "string", - "title": "Date" - }, - "icon": { - "type": "string", - "title": "Icon" - }, - "color": { - "type": "string", - "title": "Color" - }, - "url": { - "type": "string", - "title": "URL" - }, - "content": { - "type": "string", - "title": "Content" - } - } - } -} \ No newline at end of file diff --git a/.frontmatter/config/data/types/bs-timeline.json b/.frontmatter/config/data/types/bs-timeline.json new file mode 100644 index 0000000..54a2ecc --- /dev/null +++ b/.frontmatter/config/data/types/bs-timeline.json @@ -0,0 +1,38 @@ +{ + "$schema": "https://frontmatter.codes/config/data.files.schema.json", + "id": "bs-timeline", + "schema": { + "title": "Bootstrap Timeline", + "type": "object", + "required": [ + "name", + "date" + ], + "properties": { + "name": { + "type": "string", + "title": "Title" + }, + "date": { + "type": "string", + "title": "Date" + }, + "icon": { + "type": "string", + "title": "Icon" + }, + "color": { + "type": "string", + "title": "Color" + }, + "url": { + "type": "string", + "title": "URL" + }, + "content": { + "type": "string", + "title": "Content" + } + } + } +} \ No newline at end of file diff --git a/.frontmatter/config/data/types/knightlabs.json b/.frontmatter/config/data/types/knightlabs.json new file mode 100644 index 0000000..8d9fc80 --- /dev/null +++ b/.frontmatter/config/data/types/knightlabs.json @@ -0,0 +1,86 @@ +{ + "$schema": "https://frontmatter.codes/config/data.files.schema.json", + "id": "knightlabs", + "schema": { + "title": "Knightlabs Timeline", + "type": "object", + "required": [ + "name", + "date" + ], + "properties": { + "year": { + "type": "number", + "title": "Year" + }, + "month": { + "type": "number", + "title": "Month" + }, + "day": { + "title": "Day", + "type": "number" + }, + "time": { + "title": "Time", + "type": "string" + }, + "end year": { + "type": "number", + "title": "End Year" + }, + "end month": { + "type": "number", + "title": "End Month" + }, + "end day": { + "title": "End Day", + "type": "number" + }, + "end time": { + "title": "End Time", + "type": "string" + }, + "display date": { + "title": "Display Date", + "type": "string" + }, + "headline": { + "title": "headline", + "type": "string" + }, + "text": { + "type": "string", + "title": "Text" + }, + "media": { + "type": "string", + "title": "Media" + }, + "media credit": { + "type": "string", + "title": "Media Credit" + }, + "media caption": { + "type": "string", + "title": "Media Caption" + }, + "media thumbnail": { + "type": "string", + "title": "Media Thumbnail" + }, + "type": { + "type": "string", + "title": "Type" + }, + "group": { + "title": "Group", + "type": "string" + }, + "background": { + "title": "Background", + "type": "string" + } + } + } +} \ No newline at end of file diff --git a/.frontmatter/config/data/types/timeline.json b/.frontmatter/config/data/types/timeline.json deleted file mode 100644 index fb6d713..0000000 --- a/.frontmatter/config/data/types/timeline.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "https://frontmatter.codes/config/data.files.schema.json", - "id": "timeline", - "schema": { - "title": "Timeline", - "type": "object", - "required": [ - "title", - "date" - ], - "properties": { - "title": { - "type": "string", - "title": "Title" - }, - "date": { - "type": "string", - "title": "Date" - }, - "icon": { - "type": "string", - "title": "Icon" - }, - "color": { - "type": "string", - "title": "Color" - }, - "url": { - "type": "string", - "title": "URL" - }, - "content": { - "type": "string", - "title": "Content" - } - } - } -} \ No newline at end of file diff --git a/.frontmatter/config/taxonomy/contenttypes/docs.json b/.frontmatter/config/taxonomy/contenttypes/docs.json new file mode 100644 index 0000000..248f033 --- /dev/null +++ b/.frontmatter/config/taxonomy/contenttypes/docs.json @@ -0,0 +1,85 @@ +{ + "$schema": "https://frontmatter.codes/config/taxonomy.contenttypes.schema.json", + "name": "docs", + "pageBundle": false, + "previewPath": null, + "fields": [ + { + "title": "Title", + "name": "title", + "type": "string", + "single": true + }, + { + "title": "Description", + "name": "description", + "type": "string" + }, + { + "title": "date", + "name": "date", + "type": "datetime" + }, + { + "title": "Metadata", + "name": "metadata", + "type": "choice", + "choices": [ + "full", + "original", + "none" + ], + "default": "full" + }, + { + "title": "Categories", + "name": "categories", + "type": "string", + "single": true, + "default": "Evidence" + }, + { + "title": "Tags", + "name": "tags", + "type": "tags" + }, + { + "title": "Thumbnail", + "name": "thumbnail", + "type": "string" + }, + { + "title": "Type", + "name": "type", + "type": "choice", + "choices": [ + "default", + "docs", + "minimal" + ], + "default": "docs" + }, + { + "title": "Draft", + "name": "draft", + "type": "draft" + }, + { + "title": "Alias", + "name": "alias", + "type": "list" + }, + { + "title": "Modules", + "name": "modules", + "type": "string" + }, + { + "title": "FrontMatter Content Type", + "name": "fmContentType", + "type": "string", + "single": true, + "default": "evidence" + } + ] +} \ No newline at end of file -- cgit v1.2.3