Skip to content

Commit 5723ea3

Browse files
committed
docs: update
1 parent a0f015f commit 5723ea3

2 files changed

Lines changed: 26 additions & 18 deletions

File tree

docs/docusaurus.config.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type * as Preset from '@docusaurus/preset-classic'
44

55
const config: Config = {
66
title: 'Massarg',
7-
tagline: 'Dinosaurs are cool',
7+
tagline: 'Flexible, powerful, and simple command/argument parser for CLI applications',
88
favicon: 'img/favicon.ico',
99

1010
// Set the production url of your site here
@@ -100,7 +100,7 @@ const config: Config = {
100100
navbar: {
101101
title: 'Massarg',
102102
logo: {
103-
alt: 'My Site Logo',
103+
alt: 'Massarg Logo',
104104
src: 'img/logo.svg',
105105
},
106106
items: [
@@ -110,6 +110,11 @@ const config: Config = {
110110
position: 'left',
111111
label: 'Docs',
112112
},
113+
{
114+
href: 'https://npmjs.com/package/massarg',
115+
label: 'NPM',
116+
position: 'right',
117+
},
113118
{
114119
href: 'https://github.com/chenasraf/massarg',
115120
label: 'GitHub',
@@ -145,6 +150,10 @@ const config: Config = {
145150
{
146151
title: 'More',
147152
items: [
153+
{
154+
label: 'NPM',
155+
href: 'https://npmjs.com/package/massarg',
156+
},
148157
{
149158
label: 'GitHub',
150159
href: 'https://github.com/chenasraf/massarg',

docs/src/pages/index.tsx

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
import clsx from 'clsx';
2-
import Link from '@docusaurus/Link';
3-
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
4-
import Layout from '@theme/Layout';
5-
import HomepageFeatures from '@site/src/components/HomepageFeatures';
6-
import Heading from '@theme/Heading';
1+
import clsx from 'clsx'
2+
import Link from '@docusaurus/Link'
3+
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
4+
import Layout from '@theme/Layout'
5+
import HomepageFeatures from '@site/src/components/HomepageFeatures'
6+
import Heading from '@theme/Heading'
77

8-
import styles from './index.module.css';
8+
import styles from './index.module.css'
99

1010
function HomepageHeader() {
11-
const {siteConfig} = useDocusaurusContext();
11+
const { siteConfig } = useDocusaurusContext()
1212
return (
1313
<header className={clsx('hero hero--primary', styles.heroBanner)}>
1414
<div className="container">
@@ -17,27 +17,26 @@ function HomepageHeader() {
1717
</Heading>
1818
<p className="hero__subtitle">{siteConfig.tagline}</p>
1919
<div className={styles.buttons}>
20-
<Link
21-
className="button button--secondary button--lg"
22-
to="/docs/intro">
23-
Docusaurus Tutorial - 5min ⏱️
20+
<Link className="button button--secondary button--lg" to="/docs/api">
21+
Read the Docs
2422
</Link>
2523
</div>
2624
</div>
2725
</header>
28-
);
26+
)
2927
}
3028

3129
export default function Home(): JSX.Element {
32-
const {siteConfig} = useDocusaurusContext();
30+
const { siteConfig } = useDocusaurusContext()
3331
return (
3432
<Layout
3533
title={`Hello from ${siteConfig.title}`}
36-
description="Description will go into a meta tag in <head />">
34+
description="Description will go into a meta tag in <head />"
35+
>
3736
<HomepageHeader />
3837
<main>
3938
<HomepageFeatures />
4039
</main>
4140
</Layout>
42-
);
41+
)
4342
}

0 commit comments

Comments
 (0)