Skip to content

Commit

Permalink
chore: fix categories and subcategories
Browse files Browse the repository at this point in the history
  • Loading branch information
rupali-codes committed Jul 9, 2023
1 parent c1733c7 commit 1e126d5
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "An Introduction to Artificial Intelligence",
"description": "Taught by Prof. Mausam from IIT Delhi, this course offers a self-paced learning experience covering problem modeling, AI models, and algorithms. It prepares students for advanced AI courses with 80+ lectures, video recordings, lecture notes, and practice problems. It's an excellent starting point to explore the basics of AI.",
"url": "https://archive.nptel.ac.in/courses/106/102/106102220/",
"category": "ml & ai",
"subcategory": "ai"
"category": "artificial intelligence",
"subcategory": "artificial-intelligence"
}
]
37 changes: 23 additions & 14 deletions database/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,16 @@ export const sidebarData: ISidebar[] = [
{ name: 'Go', url: '/golang', resources: DB.golang },
{ name: 'TypeScript', url: '/typescript', resources: DB.typescript },
{ name: 'Ruby', url: '/ruby', resources: DB.ruby },
{ name: 'C Programming', url: '/c-programming', resources: DB.CProgramming },
{
name: 'C Programming',
url: '/c-programming',
resources: DB.CProgramming,
},
{ name: 'Java', url: '/java', resources: DB.java },
{ name: 'Kotlin', url: '/kotlin', resources: DB.kotlin },
{ name: 'Rust', url: '/rust', resources: DB.Rust },
],
},
{
category: 'ml & ai',
subcategory: [
{ name: 'machine learning', url: '/ml', resources: DB.machineLearning },
{ name: 'data science', url: '/data-science', resources: DB.dataScience },
{
name: 'deep learning',
url: '/deep-learning',
resources: DB.deepLearning,
},
{ name: 'AI', url: '/ai', resources: DB.ai },
],
},
{
category: 'open source',
subcategory: [
Expand All @@ -122,6 +113,24 @@ export const sidebarData: ISidebar[] = [
},
],
},
{
category: 'machine learning',
subcategory: [
{ name: 'machine learning', url: '/machine-learning', resources: DB.machineLearning },
{ name: 'data science', url: '/data-science', resources: DB.dataScience },
{
name: 'deep learning',
url: '/deep-learning',
resources: DB.deepLearning,
},
],
},
{
category: 'artificial intelligence',
subcategory: [
{ name: 'Artificial Int.', url: '/artificial-intelligence', resources: DB.artificialIntelligence },
]
},
{
category: 'resources',
subcategory: [
Expand Down
17 changes: 9 additions & 8 deletions database/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ export { default as kotlin } from './languages/kotlin.json'
export { default as Rust } from './languages/rust.json'
export { default as java } from './languages/java.json'
export { default as cpp } from './languages/c++.json'
// ml & ai
export { default as ai } from './ml&ai/ai.json'
export { default as ml } from './ml&ai/machine-learning.json'
export { default as dataScience } from './ml&ai/datascience.json'
export { default as deepLearning } from './ml&ai/deeplearning.json'
//artificial intelligence
export { default as artificialIntelligence } from './artificial_intelligence/artificial-intelligence.json'
//machine learning
export { default as ml } from './machine_learning/machine-learning.json'
export { default as dataScience } from './machine_learning/data-science.json'
export { default as deepLearning } from './machine_learning/deep-learning.json'
// Open-source
export { default as openSourceBlogs } from './opensource/blogs.json'
export { default as openSourceProjects } from './opensource/projects.json'
export { default as openSourceTools } from './opensource/tools.json'
export { default as openSourceBlogs } from './open_source/blogs.json'
export { default as openSourceProjects } from './open_source/projects.json'
export { default as openSourceTools } from './open_source/tools.json'
// resources
export { default as blogs } from './resources/blogs.json'
export { default as officialdocs } from './resources/official-docs.json'
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
[
{
"name": "CS229: Machine Learning",
"description": "Official site of the eponymous Stanford course. Provides a broad introduction to ML.",
"description": "Official site of the eponymous Stanford course. Provides a broad introduction to machine-learning.",
"url": "https://cs229.stanford.edu/",
"category": "ml & ai",
"subcategory": "ml"
"category": "machine learning",
"subcategory": "machine-learning"
},
{
"name": "Towards Data Science",
"description": "Learn all things Data and ML. Provides simple explanations for statistical and mathematical parts.",
"description": "Learn all things Data and machine-learning. Provides simple explanations for statistical and mathematical parts.",
"url": "https://towardsdatascience.com/",
"category": "ml & ai",
"subcategory": "ml"
"category": "machine learning",
"subcategory": "machine-learning"
},
{
"name": "Machine Learning Mastery",
"description": "Machine Learning Mastery provides practical tutorials and resources for mastering machine learning algorithms and techniques.",
"url": "https://machinelearningmastery.com/",
"category": "ml & ai",
"subcategory": "ml"
"category": "machine learning",
"subcategory": "machine-learning"
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"description": "This blog will help you to make your first pull request on Github",
"url": "https://www.freecodecamp.org/news/how-to-make-your-first-pull-request-on-github-3/",
"category": "opensource",
"subcategory": "opensource_blogs"
"subcategory": "open-source-blogs"
},
{
"name": "Resolving merge conflict on Github",
Expand Down
File renamed without changes.
File renamed without changes.
23 changes: 0 additions & 23 deletions database/opensource/opensource_blogs.json

This file was deleted.

9 changes: 6 additions & 3 deletions types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export type Category =
| 'frontend'
| 'backend'
| 'languages'
| 'ml & ai'
| 'artificial intelligence'
| 'machine learning'
| 'open source'
| 'resources'
| 'youtube'
Expand Down Expand Up @@ -76,10 +77,12 @@ export type SubCategory =
| 'python'
| 'ruby'
| 'typescript'
// ml & ai
//artificial intelligence
| 'artificial-intelligence'
// machin learning
| 'data-science'
| 'deep-learning'
| 'ml'
| 'machine-learning'
// Open-source
| 'open-source-blogs'
| 'open-source-projects'
Expand Down

0 comments on commit 1e126d5

Please sign in to comment.