diff --git a/docs/docs/about/index.mdx b/docs/docs/about/index.mdx new file mode 100644 index 0000000..088d27d --- /dev/null +++ b/docs/docs/about/index.mdx @@ -0,0 +1,7 @@ +--- +sidebar_position: 10 +--- + +# About FAIR project + +This page is about the project and inside docs, so it has sidebar. \ No newline at end of file diff --git a/docs/docs/contributing/index.mdx b/docs/docs/contributing/index.mdx new file mode 100644 index 0000000..86e7f1c --- /dev/null +++ b/docs/docs/contributing/index.mdx @@ -0,0 +1,7 @@ +--- +sidebar_position: 100 +--- + +# Contributing to FAIR project + +This is the page about contributing to the project. diff --git a/docs/docs/intro.mdx b/docs/docs/intro.mdx index 88f9571..5083eda 100644 --- a/docs/docs/intro.mdx +++ b/docs/docs/intro.mdx @@ -1,5 +1,5 @@ --- -sidebar_position: 1 +sidebar_position: 50 --- # Tutorial Intro diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 6a869b3..0852664 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -11,8 +11,8 @@ import {themes as prismThemes} from 'prism-react-renderer'; /** @type {import('@docusaurus/types').Config} */ const config = { title: 'FAIR Documentation', - tagline: 'Docs are way too cool!!', - favicon: 'img/favicon.ico', + tagline: 'Welcome to the FAIR Package Manager Project documentation.', + // favicon: 'img/favicon.ico', // Future flags, see https://docusaurus.io/docs/api/docusaurus-config#future future: { @@ -75,24 +75,38 @@ const config = { respectPrefersColorScheme: true, }, navbar: { - title: 'My Site', - logo: { - alt: 'My Site Logo', - src: 'img/logo.svg', - }, + title: 'FAIR Documentation', + // logo: { + // alt: 'My Site Logo', + // src: 'img/logo.svg', + // }, items: [ { type: 'docSidebar', sidebarId: 'tutorialSidebar', position: 'left', - label: 'Tutorial', + label: 'Docs', + }, + { + to: '/blog', + label: 'Blog', + position: 'left' + }, + { + to: 'docs/contributing', + label: 'Get involved', + position: 'left' }, - {to: '/blog', label: 'Blog', position: 'left'}, { href: 'https://github.com/fairpm/docs', label: 'GitHub', position: 'right', }, + { + href: 'https://fair.pm/', + label: 'fair.pm', + position: 'right', + }, ], }, footer: { @@ -102,8 +116,12 @@ const config = { title: 'Docs', items: [ { - label: 'Tutorial', - to: '/', + label: 'About this documentation', + to: 'about', + }, + { + label: 'Docs GitHub repo', + href: 'https://github.com/fairpm/docs', }, ], }, @@ -111,16 +129,16 @@ const config = { title: 'Community', items: [ { - label: 'Stack Overflow', - href: 'https://stackoverflow.com/questions/tagged/docusaurus', + label: 'Slack instance', + href: 'https://chat.fair.pm/', }, { - label: 'Discord', - href: 'https://discordapp.com/invite/docusaurus', + label: 'Join meetings', + href: 'https://zoom-lfx.platform.linuxfoundation.org/meetings/fair-package-manager?view=month', }, { - label: 'X', - href: 'https://x.com/docusaurus', + label: 'GitHub organisation', + href: 'https://github.com/fairpm', }, ], }, @@ -132,13 +150,13 @@ const config = { to: '/blog', }, { - label: 'GitHub', - href: 'https://github.com/fairpm/docs', + label: 'fair.pm', + href: 'https://fair.pm/', }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, + copyright: `Copyright © ${new Date().getFullYear()} FAIR. Built with Docusaurus.`, }, prism: { theme: prismThemes.github, diff --git a/docs/src/components/HomepageFeatures/index.js b/docs/src/components/HomepageFeatures/index.js index acc7621..de541e6 100644 --- a/docs/src/components/HomepageFeatures/index.js +++ b/docs/src/components/HomepageFeatures/index.js @@ -4,32 +4,32 @@ import styles from './styles.module.css'; const FeatureList = [ { - title: 'Easy to Use', - Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, + title: 'FAIR', + Svg: require('@site/static/img/globe.svg').default, description: ( <> - Docusaurus was designed from the ground up to be easily installed and - used to get your website up and running quickly. +
FAIR is an acronym for Federated And Independent Repositories.
+The FAIR Package Manager is an open-source initiative of The FAIR Web Foundation, a Linux Foundation project.
> ), }, { - title: 'Focus on What Matters', - Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + title: 'Technology', + Svg: require('@site/static/img/networking.svg').default, description: ( <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go - ahead and move your docs into thedocs directory.
+ Decentralized alternative for distributing your project dependencies.
+Everything is package if you're FAIR enough.
> ), }, { - title: 'Powered by React', - Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + title: 'Security, Privacy & GDPR', + Svg: require('@site/static/img/superhero.svg').default, description: ( <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. +FAIR is designed to improve user privacy by reducing unnecessary tracking and central data collection.
+Using signing and authentication, FAIR mitigates unapproved takeovers or nulling of your website dependencies, restoring trust in deliverables.
> ), }, @@ -41,9 +41,9 @@ function Feature({Svg, title, description}) {{description}
+{siteConfig.tagline}
-