Escrevendo Páginas

Docus é feito para que você escreva todas as suas páginas em Markdown e componentes Vue com a sintaxe MDC.

Cada página Markdown na pasta content/ será mapeada para uma rota.

ArquivoRouta Gerada
index.md/
about.md/about
blog/index.md/blog
blog/hello.md/blog/hello
1.guide/2.installation/guide/installation

Frontmatter

Docus suporta multiplos atributos de Front-matter para páginas.

1.introduction/2.project-structure.md
---
title: "Estrutura do WhyApp"
description: "Descreve a estrutura do Front-End e Back-End do WhyApp."
---
KeyTypeDefaultDescription
layoutstringdefaultUse any layout name like you would in definePageMeta()
titlestringDefines the page title and H1 in docs pages
descriptionstringDefines the page description and excerpt in docs pages
redirectstringA route path to redirect
imageobjectOpenGraph cover image
Docs layout options
asidebooleanToggles the visibility of aside navigation
tocbooleanToggles the visibility of table of contents
headerbooleanToggles the visibility of the page header
bottombooleanToggles the visibility of page bottom section
Navigation options
navigationbooleanToggles the visibility of the page or directory in navigation
navigation.titlestringChanges the name of the page or directory in navigation
navigation.iconstringChanges the icon of the page or directory in navigation