Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: remove front page and versioning to go to production #187

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 4 additions & 15 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@ const config = {
'classic',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
remarkPlugins: [math],
rehypePlugins: [katex],
includeCurrentVersion: true,
versions: {
current: {
label: '1.4.0-alpha',
path: '1.4.0',
},
},
includeCurrentVersion: false,
},
theme: {
customCss: [
Expand Down Expand Up @@ -68,13 +63,7 @@ const config = {
alt: 'Aragon',
src: 'img/logo-light.png',
},
items: [
{
type: 'docsVersionDropdown',
position: 'right',
dropdownActiveClassDisabled: true,
},
],
items: [],
},
metadata: [
{name: 'og:title', content: 'Aragon Developer Portal'},
Expand Down Expand Up @@ -170,7 +159,7 @@ const config = {
rootPath: './versioned_docs/version-1.3.0',
baseURL: 'osx/subgraph/reference-guide',
homepage: './static/subgraph/index.md',
linkRoot: '/docs',
linkRoot: '/',
loaders: {
JsonFileLoader: {
module: '@graphql-tools/json-file-loader',
Expand Down
97 changes: 0 additions & 97 deletions src/components/ComponentCard/index.tsx

This file was deleted.

1 change: 0 additions & 1 deletion src/components/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from './ComponentCard';
export * from './Footer';
export * from './HeroHeader';
export * from './WelcomeCard';
Expand Down
23 changes: 0 additions & 23 deletions src/data/ComponentCards.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions src/data/WelcomeCards.tsx

This file was deleted.

70 changes: 0 additions & 70 deletions src/pages/index.tsx

This file was deleted.

20 changes: 0 additions & 20 deletions src/theme/NavbarItem/DocsVersionDropdownNavbarItem.js

This file was deleted.

2 changes: 1 addition & 1 deletion static/subgraph/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Reference Guide [WIP]
title: Reference Guide
sidebar_label: Reference Guide
pagination_next: osx/subgraph/reference-guide/enums/permission-operation
---
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-1.3.0/osx/02-how-to-guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Tutorials
sidebar_label: Tutorials
---

## Welcome to our How To Guides on Using the Aragon OSx Protocol!
## Welcome to our Tutorials on Using the Aragon OSx Protocol!

With a few lines of code, the Aragon OSx protocol allows you create, manage, and change your on-chain organizations, through extending functionality for DAOs through the installation and uninstallation of plugins.

Expand Down
1 change: 1 addition & 0 deletions versioned_docs/version-1.3.0/osx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Aragon OSx
sidebar_label: Introduction
sidebar_position: 0
slug: /
---

## The Contracts Behind the Protocol
Expand Down