Skip to content

Commit

Permalink
Merge pull request #109 from Ajay-Dhangar/dev-2
Browse files Browse the repository at this point in the history
Resolve code Code for quality Gate
  • Loading branch information
ajay-dhangar authored Mar 22, 2024
2 parents 90d913f + 2b0a5bf commit e30be61
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 68 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ This project is licensed under the [MIT License](#).
- GitHub: [@Ajay-Dhangar](https://github.com/Ajay-Dhangar)
- Website: [CMHQ.Tech](https://cmhq.tech)


## Workflows, Badges, and Analytics

[![Deploy to GitHub Pages](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml) [![Hadolint](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml) [![Docker Image CI](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml) [![CodeQL](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml)[![CodeScene general](https://codescene.io/images/analyzed-by-codescene-badge.svg)](https://codescene.io/projects/50606)[![CodeScene System Mastery](https://codescene.io/projects/50606/status-badges/system-mastery)](https://codescene.io/projects/50606)[![CodeScene Missed Goals](https://codescene.io/projects/50606/status-badges/missed-goals)](https://codescene.io/projects/50606)[![CodeScene Code Health](https://codescene.io/projects/50606/status-badges/code-health)](https://codescene.io/projects/50606)[![DeepScan grade](https://deepscan.io/api/teams/22888/projects/26587/branches/848459/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=22888&pid=26587&bid=848459)[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=bugs)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)[![Docker Image CI](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml)
[![Deploy to GitHub Pages](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/deploy.yml) [![Hadolint](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/hadolint.yml) [![Docker Image CI](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/docker-image.yml) [![CodeQL](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml/badge.svg)](https://github.com/Ajay-Dhangar/code-harbor-hub/actions/workflows/codeql.yml) [![CodeScene general](https://codescene.io/images/analyzed-by-codescene-badge.svg)](https://codescene.io/projects/50606) [![CodeScene System Mastery](https://codescene.io/projects/50606/status-badges/system-mastery)](https://codescene.io/projects/50606) [![CodeScene Missed Goals](https://codescene.io/projects/50606/status-badges/missed-goals)](https://codescene.io/projects/50606) [![CodeScene Code Health](https://codescene.io/projects/50606/status-badges/code-health)](https://codescene.io/projects/50606)[![DeepScan grade](https://deepscan.io/api/teams/22888/projects/26587/branches/848459/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=22888&pid=26587&bid=848459) [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Bugs](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=bugs)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=code_smells)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=duplicated_lines_density)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=reliability_rating)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub) [![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=Ajay-Dhangar_code-harbor-hub&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=Ajay-Dhangar_code-harbor-hub)
74 changes: 8 additions & 66 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ const config = {
},
blog: {
showReadingTime: true,
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
// editUrl:
// "",
editUrl: "https://github.com/Ajay-Dhangar/code-harbor-hub/edit/main/",
remarkPlugins: [[npm2yarn, { converters: ["pnpm"] }]],
},
theme: {
Expand All @@ -64,11 +61,10 @@ const config = {
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
// Replace with your project's social card
image: "img/logo.jpg",
announcementBar: {
id: "announcementBar",
content: `⭐️ If you like CodeHarborHub, give it a star on <a target="_blank" href="https://github.com/Ajay-Dhangar/">GitHub</a> and join us on <a target="_blank" href="https://www.linkedin.com/groups/14232119/">LinkedIn</a> ⭐️`,
content: `⭐️ If you like CodeHarborHub, give it a star on <a target="_blank" href="https://github.com/Ajay-Dhangar/code-harbor-hub/">GitHub</a> and join us on <a target="_blank" href="https://www.linkedin.com/groups/14232119/">LinkedIn</a> ⭐️`,
isCloseable: true,
},

Expand All @@ -91,68 +87,14 @@ const config = {
docId: "docs",
html: '<span class="nav-emoji">📚</span> Tutorials',
},

{
html: '<span class="nav-emoji">🧠</span> DSA',
to: "/dsa",
},

{
to: "/blog",
html: '<span class="nav-emoji">📰</span> Blog',
},

// {
// type: "dropdown",
// html: '<span class="nav-emoji">📚</span> Learning',
// position: "left",
// items: [
// {
// type: "doc",
// docId: "docs",
// label: "📚 Tutorials 🚀",
// },

// {
// type: "html",
// value: '<hr style="margin: 0.3rem 0;">',
// },

// {
// to: "/courses",
// label: "🎓 Courses 🚀",
// },

// {
// type: "html",
// value: '<hr style="margin: 0.3rem 0;">',
// },

// {
// to: "/web-dev",
// label: "💻 Web Dev",
// },
// {
// type: "html",
// value: '<hr style="margin: 0.3rem 0;">',
// },

// {
// label: "🧠 DSA 🚀",
// to: "/dsa",
// },
// ],
// },
// {
// to: "/web-dev",
// label: "💻 Web Dev",
// position: "left",
// },
// {
// to: "/product",
// label: "👨‍💻 Product",
// position: "left",
// },
{
to: "/showcase",
html: '<span class="nav-emoji">🌍</span> Showcase',
Expand Down Expand Up @@ -251,7 +193,7 @@ const config = {
items: [
{
label: "About",
to: "/code-harbor-hub/about/",
to: "/about/",
},
{
label: "Contact",
Expand Down Expand Up @@ -297,15 +239,15 @@ const config = {
},
{
label: "Community",
to: "/community",
to: "/community/",
},
{
label: "GitHub",
href: "https://github.com/ajay-dhangar",
},
{
label: "Products",
href: "/product",
href: "/product/",
},
],
},
Expand Down Expand Up @@ -392,9 +334,9 @@ const config = {
"@docusaurus/plugin-ideal-image",
{
quality: 70,
max: 1030, // max resized image's size.
min: 640, // min resized image's size. if original is lower, use that size.
steps: 2, // the max number of images generated between min and max (inclusive)
max: 1030,
min: 640,
steps: 2,
disableInDev: false,
},
],
Expand Down

0 comments on commit e30be61

Please sign in to comment.