Skip to content

Commit

Permalink
Merge branch 'master' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
manchumahara committed Dec 10, 2024
2 parents 774fd8c + 8909822 commit 1ec8345
Show file tree
Hide file tree
Showing 29 changed files with 312 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
uses: actions/configure-pages@v4
- name: Install dependencies
run: npm ci # or pnpm install / yarn install / bun install
- name: Set github env params to env file
uses: c-py/action-dotenv-to-setenv@v5
with:
env-file: .env
- name: Build with VitePress
run: npm run docs:build # or pnpm docs:build / yarn docs:build / bun run docs:build
- name: Upload artifact
Expand Down
32 changes: 30 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
import { defineConfig } from 'vitepress';
import dotenv from 'dotenv';

import { defineConfig, HeadConfig } from 'vitepress'
//const dotenv = require('dotenv');

dotenv.config();

const base_url = process.env.VITEPRESS_BASE_URL || 'https://github.com/codeboxrcodehub/comforthrmdocs';

export default {
sitemap: {
hostname: base_url
},
transformHead: ({ pageData }) => {
const head: HeadConfig[] = [];

head.push(['meta', { property: 'keywords', content: pageData.frontmatter.keywords }]);


head.push(['meta', { property: 'og:site_name', content: pageData.frontmatter.site_name }]);
head.push(['meta', { property: 'og:title', content: pageData.frontmatter.title }]);
head.push(['meta', { property: 'og:description', content: pageData.frontmatter.description }]);
head.push(['meta', { property: 'og:keywords', content: pageData.frontmatter.keywords }]);
head.push(['meta', { property: 'og:type', content: pageData.frontmatter.type }]);
head.push(['meta', { property: 'og:url', content: base_url + pageData.frontmatter.url }]);
head.push(['meta', { property: 'og:image', content: pageData.frontmatter.image }]);

head.push(['meta', { property: 'twitter:site', content: pageData.frontmatter.site_name }]);
head.push(['meta', { property: 'twitter:title', content: pageData.frontmatter.title }]);
head.push(['meta', { property: 'twitter:description', content: pageData.frontmatter.description }]);
head.push(['meta', { property: 'twitter:keywords', content: pageData.frontmatter.keywords }]);
head.push(['meta', { property: 'twitter:card', content: pageData.frontmatter.type }]);
head.push(['meta', { property: 'twitter:url', content: base_url + pageData.frontmatter.url }]);
head.push(['meta', { property: 'twitter:image', content: pageData.frontmatter.image }]);

return head
},
title: "Comfort HRM",
description: "An awesome docs template built by me",
lang: 'en-US',
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/classic-widgets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/classic-widgets"
type: "article"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Classic Widgets

WordPress currently doesn’t support classic widgets but still you can enable it by using this plugin [“Classic Widgets”](https://wordpress.org/plugins/classic-widgets/)
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/code-samples.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/code-samples"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Code Samples


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/elementor-widgets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/elementor-widgets"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Elementor Widgets


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/gutenberg-blocks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/gutenberg-blocks"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Gutenberg Blocks


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/hooks-and-filters.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/hooks-and-filters"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Hooks and Filters


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/how-to-install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/how-to-install"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Install

The core plugin name is **“Comfort Job”** and our pro addon name is **“Comfort Job Pro Addon”**.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/how-to-translate.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/how-to-translate"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Translate

We are not providing any translation (if we add we will mention in future) with the plugin, but we provide the translation template or pot file inside this plugin’s languages folder which can be translated using standard wordpress translation process. But we recommend using [Loco translate](https://wordpress.org/plugins/loco-translate/) which helps to translate from the WordPress dashboard and very easy. We have a video tutorial about [how to use this](https://www.youtube.com/watch?v=yOkEzvjx6PM) loco translate plugin.
Expand Down
12 changes: 12 additions & 0 deletions docs/comfortjob/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"

---

# Comfort Job Documentation

Welcome to the Comfort Job main page.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/shortcodes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/shortcodes"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Shortcodes

There are multiple shortcodes in both core plugin and pro addon.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjob/template-override.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Documentation"
description: "Comfort Job index description."
keywords: "Comfort Job index keywords."
url: "/comfortjob/template-override"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Override Template


Expand Down
11 changes: 11 additions & 0 deletions docs/comfortjobapp/code-samples.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/code-samples"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"

---
# Code Samples


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjobapp/hooks-and-filters.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/hooks-and-filters"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Hooks and Filters


Expand Down
11 changes: 11 additions & 0 deletions docs/comfortjobapp/how-to-install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/how-to-install"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"

---
# How to Install

The core plugin name is **“Comfort Job Application”** and our pro addon name is **“Comfort Job Application Pro Addon”**.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjobapp/how-to-translate.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/how-to-translate"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Translate

We are not providing any translation (if we add we will mention in future) with the plugin, but we provide the translation template or pot file inside this plugin’s languages folder which can be translated using standard wordpress translation process. But we recommend using [Loco translate](https://wordpress.org/plugins/loco-translate/) which helps to translate from the WordPress dashboard and very easy. We have a video tutorial about [how to use this](https://www.youtube.com/watch?v=yOkEzvjx6PM) loco translate plugin.
Expand Down
11 changes: 11 additions & 0 deletions docs/comfortjobapp/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"

---
# Comfort Job Application Documentation

Welcome to the Comfort Job Application main page.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjobapp/shortcodes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/shortcodes"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Shortcodes


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortjobapp/template-override.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Job Application index description."
keywords: "Comfort Job Application index keywords."
url: "/comfortjobapp/template-override"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Override Template


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortresume/classic-widgets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/classic-widgets"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Classic Widgets

WordPress currently doesn’t support classic widgets but still you can enable it by using this plugin [“Classic Widgets”](https://wordpress.org/plugins/classic-widgets/)
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortresume/code-samples.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/code-samples"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Code Samples


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortresume/elementor-widgets.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/elementor-widgets"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Elementor Widgets

Comfort Resume for WordPress plugin supports Elementor editor and provides two widget. To add Comfort Resume widget in elementor editor.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortresume/gutenberg-blocks.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/gutenberg-blocks"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# Gutenberg Blocks

Comfort Resume for WordPress plugin supports Gutenberg editor and provides two block. To add Comfort Resume widget in the block editor.
Expand Down
11 changes: 11 additions & 0 deletions docs/comfortresume/hooks-and-filters.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/hooks-and-filters"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"

---
# Hooks and Filters


Expand Down
10 changes: 10 additions & 0 deletions docs/comfortresume/how-to-install.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/how-to-install"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Install

The core plugin name is **“Comfort Resume”** and our pro addon name is **“Comfort Resume Pro Addon”**.
Expand Down
10 changes: 10 additions & 0 deletions docs/comfortresume/how-to-translate.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
---
title: "Comfort Job Application Documentation"
description: "Comfort Resume index description."
keywords: "Comfort Resume index keywords."
url: "/comfortresume/how-to-translate"
type: "type"
site_name: "Comfort HRM"
image: "https://comforthrm.com/assets/images/seo.png"
card: "article"
---
# How to Translate

We are not providing any translation (if we add we will mention in future) with the plugin, but we provide the translation template or pot file inside this plugin’s languages folder which can be translated using standard wordpress translation process. But we recommend using [Loco translate](https://wordpress.org/plugins/loco-translate/) which helps to translate from the WordPress dashboard and very easy. We have a video tutorial about [how to use this](https://www.youtube.com/watch?v=yOkEzvjx6PM) loco translate plugin.
Expand Down
Loading

0 comments on commit 1ec8345

Please sign in to comment.