Skip to content

Commit

Permalink
docs: remove description from meta
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Jun 6, 2024
1 parent 1ae2155 commit 9f43067
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
24 changes: 17 additions & 7 deletions docusaurus.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ const pkg = require('./package.json');

/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'release-me',
tagline:
'Blazing fast minimal release workflow script written in Bash with plugins and presets support',
title: pkg.name,
tagline: pkg.description,
favicon: 'img/favicon-128.png',

// Set the production url of your site here
Expand All @@ -23,7 +22,7 @@ const config = {
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'dalisoft', // Usually your GitHub org/user name.
projectName: 'release-me', // Usually your repo name.
projectName: pkg.name, // Usually your repo name.

onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
Expand Down Expand Up @@ -67,7 +66,6 @@ const config = {
})
]
],

themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
Expand All @@ -79,12 +77,24 @@ const config = {
{
name: 'description',
content: pkg.description
},
{
name: 'og:site_name',
content: pkg.name
},
{
name: 'og:description',
content: pkg.description
},
{
name: 'og:url',
content: pkg.homepage
}
],
// Replace with your project's social card
image: 'img/release-me.jpg',
image: 'img/release-me.png',
navbar: {
title: 'release-me',
title: pkg.name,
logo: {
alt: 'release-me. Logo by https://uxwing.com',
src: 'img/logo.svg'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"publish",
"conventional-commits"
],
"homepage": "https://github.com/dalisoft/release-me#readme",
"homepage": "https://dalisoft.github.io/release-me",
"bugs": {
"url": "https://github.com/dalisoft/release-me/issues"
},
Expand Down
4 changes: 1 addition & 3 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ function HomepageHeader() {
export default function Home() {
const { siteConfig } = useDocusaurusContext();
return (
<Layout
title={`Welcome to ${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
<Layout title={`Welcome to ${siteConfig.title}`}>
<HomepageHeader />
<main></main>
</Layout>
Expand Down

0 comments on commit 9f43067

Please sign in to comment.