Skip to content

Commit

Permalink
[config] fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Aug 15, 2023
1 parent a4a3571 commit 444c510
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 133 deletions.
12 changes: 0 additions & 12 deletions blog/2019-05-28-first-blog-post.md

This file was deleted.

44 changes: 0 additions & 44 deletions blog/2019-05-29-long-blog-post.md

This file was deleted.

20 changes: 0 additions & 20 deletions blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

Binary file not shown.
25 changes: 0 additions & 25 deletions blog/2021-08-26-welcome/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/authors.yml

This file was deleted.

4 changes: 4 additions & 0 deletions docs/intro.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 1
---

# Welcome to Nethermind

Welcome to the Nethermind Client documentation! Nethermind is a leading provider of Ethereum solutions for developers
Expand Down
26 changes: 13 additions & 13 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ const config = {
tagline: 'Welcome to Nethermind: Your High-Performance Gateway to the Ethereum Network',
url: `https://${organizationName}.github.io`,
baseUrl: `/${projectName}/`,
onBrokenLinks: 'throw',
// onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
trailingSlash: false,
onBrokenLinks: 'ignore',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand All @@ -38,11 +39,10 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
'https://github.com/NethermindEth/docs/tree/main/docs/',
editUrl: `https://github.com/${organizationName}/${projectName}/tree/main/`,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand All @@ -67,15 +67,15 @@ const config = {
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Docs',
to: '/docs/intro',
},
],
},
// {
// title: "Docs",
// items: [
// {
// label: "Documentation",
// to: "/docs/intro",
// },
// ],
// },
{
title: 'Community',
items: [
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ function HomepageHeader() {
return (
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container">
<img src="img/logo.svg" alt="Image description" width="220" ></img>
<img src="img/logo.svg" alt="Image description" width="220"></img>
{/*<h1 className="hero__title">{siteConfig.title}</h1>*/}
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
to="/intro.md">
Documentation 📜
</Link>
</div>
Expand Down

0 comments on commit 444c510

Please sign in to comment.