Skip to content

Commit

Permalink
keep intro at root
Browse files Browse the repository at this point in the history
  • Loading branch information
taylordowns2000 committed Nov 28, 2023
1 parent 3c85c3a commit 24d29d3
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 124 deletions.
111 changes: 0 additions & 111 deletions docs/intro/about-openfn.md

This file was deleted.

21 changes: 11 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ module.exports = {
},
items: [
{
to: 'documentation/',
activeBasePath: 'documentation',
label: 'Docs',
type: 'doc',
position: 'left',
docId: 'intro',
label: 'Docs',
},
{
to: 'adaptors',
Expand Down Expand Up @@ -75,21 +75,22 @@ module.exports = {
{
title: 'This Site',
items: [
// {
// type: 'doc',
// docId: 'intro',
// label: 'Docs',
// },
{
label: 'Documentation',
to: 'documentation',
},
{
label: 'Adaptors',
to: 'adaptors',
label: 'Adaptors',
},
{
label: 'Articles',
to: 'articles',
label: 'Articles',
},
{
label: 'Blog',
to: 'blog',
label: 'Blog',
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion sidebars-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
type: 'category',
label: 'Intro',
items: [
'intro/about-openfn',
'intro',
// 'intro/terminology',
// 'intro/standards',
// 'intro/security-compliance',
Expand Down
3 changes: 1 addition & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ function Home() {
<Layout title={`Home`} description="The OpenFn Documentation Site">
<header className={clsx('hero hero--primary', styles.heroBanner)}>
<Particles
// style={particlesStyle}
id="tsparticles"
init={particlesInit}
options={particlesConfig}
Expand All @@ -234,7 +233,7 @@ function Home() {
'button button--secondary button--lg',
styles.getStarted
)}
to={useBaseUrl('documentation/')}
to={'/documentation'}
>
Get Started
</Link>
Expand Down
1 change: 1 addition & 0 deletions versioned_docs/version-legacy/intro.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: About
id: intro
sidebar_label: What is OpenFn?
slug: /
---
Expand Down

0 comments on commit 24d29d3

Please sign in to comment.