From fc6e3cd5b553a3c2029ee726fe72dcf4d1bab8a7 Mon Sep 17 00:00:00 2001 From: Adam Ross <14985050+R055A@users.noreply.github.com> Date: Tue, 3 Oct 2023 15:11:32 +0200 Subject: [PATCH 1/4] Add link for Hugo --- database/data.ts | 2 ++ database/index.ts | 1 + database/other/other-tools.json | 9 +++++++++ 3 files changed, 12 insertions(+) create mode 100644 database/other/other-tools.json diff --git a/database/data.ts b/database/data.ts index fbf79dd29..5519fca81 100644 --- a/database/data.ts +++ b/database/data.ts @@ -1,6 +1,7 @@ import { IDBData, IData, ISidebar } from '../types' import * as DB from 'database' import { v4 as uuidv4 } from 'uuid' +import {otherTools} from "database"; export const database: IData[][] = Object.values(DB).map((item: IDBData[]) => item.map((subcat) => ({ ...subcat, id: uuidv4() })) @@ -279,6 +280,7 @@ export const sidebarData: ISidebar[] = [ }, { name: 'Communities', url: '/communities', resources: DB.communities }, { name: 'Roadmaps', url: '/roadmaps', resources: DB.roadmaps }, + { name: 'Tools', url: '/other-tools', resources: DB.otherTools }, ], }, ] diff --git a/database/index.ts b/database/index.ts index 2cf8833ce..ce1a8e1f5 100644 --- a/database/index.ts +++ b/database/index.ts @@ -90,6 +90,7 @@ export { default as podcasts } from './other/podcasts.json' export { default as otherResources } from './other/other-resources.json' export { default as communities } from './other/communities.json' export { default as roadmaps } from './other/roadmaps.json' +export { default as otherTools } from './other/other-tools.json' // competitive programming export { default as cpPlatforms } from './competitive_programming/cp-platforms.json' export { default as cpTutorials } from './competitive_programming/cp-tutorials.json' diff --git a/database/other/other-tools.json b/database/other/other-tools.json new file mode 100644 index 000000000..46bfae039 --- /dev/null +++ b/database/other/other-tools.json @@ -0,0 +1,9 @@ +[ + { + "name": "Hugo", + "description": "Hugo is a popular open-source static site generator that offers blistering speed, robust content management, shortcodes, built-in templates, multilingual and i18n support, and more. Learn how to get started, see the showcase, and install Hugo in seconds on any platform or server", + "url": "https://gohugo.io/", + "category": "other", + "subcategory": "other-tools" + } +] From 7f11c11b8cfb9cb5404c36f3e8848686ad2a4951 Mon Sep 17 00:00:00 2001 From: Adam Ross <14985050+R055A@users.noreply.github.com> Date: Tue, 3 Oct 2023 15:43:29 +0200 Subject: [PATCH 2/4] Refactor side bar name from Tools to Other Tools --- database/data.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/database/data.ts b/database/data.ts index 5519fca81..95215c84c 100644 --- a/database/data.ts +++ b/database/data.ts @@ -1,7 +1,6 @@ import { IDBData, IData, ISidebar } from '../types' import * as DB from 'database' import { v4 as uuidv4 } from 'uuid' -import {otherTools} from "database"; export const database: IData[][] = Object.values(DB).map((item: IDBData[]) => item.map((subcat) => ({ ...subcat, id: uuidv4() })) @@ -280,7 +279,7 @@ export const sidebarData: ISidebar[] = [ }, { name: 'Communities', url: '/communities', resources: DB.communities }, { name: 'Roadmaps', url: '/roadmaps', resources: DB.roadmaps }, - { name: 'Tools', url: '/other-tools', resources: DB.otherTools }, + { name: 'Other Tools', url: '/other-tools', resources: DB.otherTools }, ], }, ] From a1f8d0a9373bd485535dc8fcacd02f6b1b471d34 Mon Sep 17 00:00:00 2001 From: Adam Ross <14985050+R055A@users.noreply.github.com> Date: Tue, 3 Oct 2023 18:18:03 +0200 Subject: [PATCH 3/4] Refactor Hugo link description --- database/other/other-tools.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/other/other-tools.json b/database/other/other-tools.json index 46bfae039..072ffeda0 100644 --- a/database/other/other-tools.json +++ b/database/other/other-tools.json @@ -1,7 +1,7 @@ [ { "name": "Hugo", - "description": "Hugo is a popular open-source static site generator that offers blistering speed, robust content management, shortcodes, built-in templates, multilingual and i18n support, and more. Learn how to get started, see the showcase, and install Hugo in seconds on any platform or server", + "description": "If you're looking for a framework to help you build your documentation site quickly, check out Hugo. It allows you to output your content in multiple formats, including JSON or AMP as well as provides shortcodes to simplify your Markdown files.", "url": "https://gohugo.io/", "category": "other", "subcategory": "other-tools" From 8f0d15aba4dd832df7e3a122f179adaeaf6f03be Mon Sep 17 00:00:00 2001 From: Adam Ross <14985050+R055A@users.noreply.github.com> Date: Thu, 5 Oct 2023 15:56:31 +0200 Subject: [PATCH 4/4] Refactor Hugo link --- database/data.ts | 1 - database/index.ts | 1 - database/other/other-tools.json | 9 --------- database/technical-writing/tools.json | 7 +++++++ 4 files changed, 7 insertions(+), 11 deletions(-) delete mode 100644 database/other/other-tools.json diff --git a/database/data.ts b/database/data.ts index 95215c84c..fbf79dd29 100644 --- a/database/data.ts +++ b/database/data.ts @@ -279,7 +279,6 @@ export const sidebarData: ISidebar[] = [ }, { name: 'Communities', url: '/communities', resources: DB.communities }, { name: 'Roadmaps', url: '/roadmaps', resources: DB.roadmaps }, - { name: 'Other Tools', url: '/other-tools', resources: DB.otherTools }, ], }, ] diff --git a/database/index.ts b/database/index.ts index ce1a8e1f5..2cf8833ce 100644 --- a/database/index.ts +++ b/database/index.ts @@ -90,7 +90,6 @@ export { default as podcasts } from './other/podcasts.json' export { default as otherResources } from './other/other-resources.json' export { default as communities } from './other/communities.json' export { default as roadmaps } from './other/roadmaps.json' -export { default as otherTools } from './other/other-tools.json' // competitive programming export { default as cpPlatforms } from './competitive_programming/cp-platforms.json' export { default as cpTutorials } from './competitive_programming/cp-tutorials.json' diff --git a/database/other/other-tools.json b/database/other/other-tools.json deleted file mode 100644 index 072ffeda0..000000000 --- a/database/other/other-tools.json +++ /dev/null @@ -1,9 +0,0 @@ -[ - { - "name": "Hugo", - "description": "If you're looking for a framework to help you build your documentation site quickly, check out Hugo. It allows you to output your content in multiple formats, including JSON or AMP as well as provides shortcodes to simplify your Markdown files.", - "url": "https://gohugo.io/", - "category": "other", - "subcategory": "other-tools" - } -] diff --git a/database/technical-writing/tools.json b/database/technical-writing/tools.json index 66f8b8e2b..ef7f2aec9 100644 --- a/database/technical-writing/tools.json +++ b/database/technical-writing/tools.json @@ -5,5 +5,12 @@ "url": "https://docsify.js.org/#/", "category": "technical-writing", "subcategory": "technical-writing-tools" + }, + { + "name": "Hugo", + "description": "If you're looking for a framework to help you build your documentation site quickly, check out Hugo. It allows you to output your content in multiple formats, including JSON or AMP as well as provides shortcodes to simplify your Markdown files.", + "url": "https://gohugo.io/", + "category": "technical-writing", + "subcategory": "technical-writing-tools" } ]