Docs homepage fix, small layout adjustments, added services root docs

This commit is contained in:
Thomas Georgios Giannos 2024-05-14 12:50:33 +03:00
parent 52129b7877
commit d62b4f839b
5 changed files with 19 additions and 21 deletions

View File

@ -1,5 +1,9 @@
# Supplementary Services # Supplementary Services
There are four supplementary services directly integrated into this platform. They are used to extend it's functionality and improve the user experience. In this section of the docs, we will dive into each one of them, and see how they contribute to the overall usage of the platform.
Follow the links below, to find out more information about them respectively.
import DocCardList from '@theme/DocCardList'; import DocCardList from '@theme/DocCardList';
<DocCardList /> <DocCardList />

View File

@ -37,15 +37,15 @@ const config: Config = {
sidebarPath: './sidebars.ts', sidebarPath: './sidebars.ts',
// Please change this to your repo. // Please change this to your repo.
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
editUrl: // editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
}, },
blog: { blog: {
showReadingTime: true, showReadingTime: true,
// Please change this to your repo. // Please change this to your repo.
// Remove this to remove the "edit this page" links. // Remove this to remove the "edit this page" links.
editUrl: // editUrl:
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/', // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
}, },
theme: { theme: {
customCss: './src/css/custom.css', customCss: './src/css/custom.css',

View File

@ -10,32 +10,29 @@ type FeatureItem = {
const FeatureList: FeatureItem[] = [ const FeatureList: FeatureItem[] = [
{ {
title: 'Easy to Use', title: 'Produce Plan outputs',
Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default,
description: ( description: (
<> <>
Docusaurus was designed from the ground up to be easily installed and Close the data management planning lifecycle by publishing your DMPs in a FAIR manner. Assign licenses, PIDs and publish DMPs in a repository of your choice.
used to get your website up and running quickly.
</> </>
), ),
}, },
{ {
title: 'Focus on What Matters', title: 'Update Plans',
Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default,
description: ( description: (
<> <>
Docusaurus lets you focus on your docs, and we&apos;ll do the chores. Go Treat Plans as living documents. Secure their provenance and continue work in new versions (new DOIs assigned).
ahead and move your docs into the <code>docs</code> directory.
</> </>
), ),
}, },
{ {
title: 'Powered by React', title: 'Re-use desriptions & templates',
Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, Svg: require('@site/static/img/undraw_docusaurus_react.svg').default,
description: ( description: (
<> <>
Extend or customize your website layout by reusing React. Docusaurus can Identify descriptions to be re-used in your Plan. Copy or clone descriptions to other Plans.
be extended while reusing the same header and footer.
</> </>
), ),
}, },

View File

@ -29,6 +29,10 @@
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
} }
p {
text-align: justify;
}
.outer-tab { .outer-tab {
margin-left: 1rem; margin-left: 1rem;
} }

View File

@ -15,14 +15,7 @@ function HomepageHeader() {
<Heading as="h1" className="hero__title"> <Heading as="h1" className="hero__title">
{siteConfig.title} {siteConfig.title}
</Heading> </Heading>
<p className="hero__subtitle">{siteConfig.tagline}</p> <div className="hero__subtitle">{siteConfig.tagline}</div>
<div className={styles.buttons}>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min
</Link>
</div>
</div> </div>
</header> </header>
); );