Skip to content

Commit

Permalink
More docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbillion committed Jul 15, 2024
1 parent 5b33b51 commit b27ff3f
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,20 @@ const wpURL = 'https://wordpress.org/plugins/wp-crontrol/';
const ghURL = 'https://github.com/johnbillion/wp-crontrol';
const siteURL = 'https://wp-crontrol.com';
const year = new Date().getFullYear();
const title = 'WP Crontrol';
const description = 'Take control of the cron events on your WordPress website';

const RSS: RSSOptions = {
title: 'WP Crontrol',
title,
baseUrl: siteURL,
copyright: `Copyright (c) 2012-${year}, John Blackbourn`,
description: 'Take control of WP-Cron',
description,
filename: 'feed',
}

export default defineConfig({
title: 'WP Crontrol',
description: 'Take control of WP-Cron',
title,
description,
rewrites: {
'help/:page.md': 'help/:page/index.md',
'docs/:page.md': 'docs/:page/index.md',
Expand All @@ -38,7 +40,7 @@ export default defineConfig({
{
rel: 'alternate',
type: 'application/rss+xml',
title: 'WP Crontrol',
title,
href: `${siteURL}/feed`,
},
]
Expand Down

0 comments on commit b27ff3f

Please sign in to comment.