Skip to content
MANTA website just launched - Check it out

Welcome to Manta Doc!

Microfossil Analyses - New Technologies and Applications

Add new page

If documentation section already exists, add .mdx files to create new pages:

/src/content/docs/doc-section/doc/doc-file.mdx
---
layout: /src/layouts/MarkdownDocLayout.astro
title: Documentation
description: Some description
author: microfossil-guy
---

Add new documentation section

Follow this structure to create a new documentation section:

  • Directorysrc/
    • Directorycontent/
      • Directorydocs/
        • Directorynew-doc-section/
          • index.mdx
          • Directorydoc/
            • doc-file.mdx

Content of index.mdx file:

/src/content/docs/new-topic/index.mdx
---
title: New documentation section
description: Some description
hero:
tagline: Some description
image:
file: /src/assets/path/to/image.png
---

For the content of doc-file.mdx check the Add new page section above ☝️

Edit astro.config.mjs file:

astro.config.mjs
integrations: [
starlight({
...
plugins: [
starlightSidebarTopics([
...,
{
label: 'New doc section',
link: '/new-doc-section/',
icon: 'open-book',
items: [{ label: 'Documentation', autogenerate: { directory: 'new-doc-section/doc'}}],
},
]),
...