首页 > 其他分享 >create-a-document

create-a-document

时间:2024-02-05 16:44:05浏览次数:17  
标签:Docusaurus document docs create sidebar Create

sidebar_position: 2

Create a Document

Documents are groups of pages connected through:

  • a sidebar
  • previous/next navigation
  • versioning

Create your first Doc

Create a Markdown file at docs/hello.md:

# Hello

This is my **first Docusaurus document**!

A new document is now available at http://localhost:3000/docs/hello.

Configure the Sidebar

Docusaurus automatically creates a sidebar from the docs folder.

Add metadata to customize the sidebar label and position:

---
sidebar_label: 'Hi!'
sidebar_position: 3
---

# Hello

This is my **first Docusaurus document**!

It is also possible to create your sidebar explicitly in sidebars.js:

export default {
  tutorialSidebar: [
    'intro',
    // highlight-next-line
    'hello',
    {
      type: 'category',
      label: 'Tutorial',
      items: ['tutorial-basics/create-a-document'],
    },
  ],
};

标签:Docusaurus,document,docs,create,sidebar,Create
From: https://www.cnblogs.com/ameng666/p/18008407

相关文章

  • create-a-document
    sidebar_position:2CreateaDocumentDocumentsaregroupsofpagesconnectedthrough:asidebarprevious/nextnavigationversioningCreateyourfirstDocCreateaMarkdownfileatdocs/hello.md:#HelloThisismy**firstDocusaurusdocument**!Ane......
  • create-a-page
    sidebar_position:1CreateaPageAddMarkdownorReactfilestosrc/pagestocreateastandalonepage:src/pages/index.js→localhost:3000/src/pages/foo.md→localhost:3000/foosrc/pages/foo/bar.js→localhost:3000/foo/barCreateyourfirstReactPag......
  • create-a-blog-post
    sidebar_position:3CreateaBlogPostDocusauruscreatesapageforeachblogpost,butalsoablogindexpage,atagsystem,anRSSfeed...CreateyourfirstPostCreateafileatblog/2021-02-28-greetings.md:---slug:greetingstitle:Greetings!auth......
  • XmlDocument 解决 Clone、CloneNode、ImportNode 等节点克隆后的标签自闭合问题
    前言:这两天在对Taurus.Mvc 做html 加载性能优化时,发现存在这个问题。具体优化的是CYQ.Data 组件的XHtmlAction 相关类。问题过程:之前XmlDocument 调用 LoadXml(xml)之后,缓存对象,再次使用时,都是重新LoadXml:XmlDocumentnewDoc=newXmlDocument();......
  • 编译时process_begin: CreateProcess | mutex/condition_variable 报错的一种解决办法
    系统:win10目的:想跑一下wisper.cpp前置操作:把该项目git下来后打算make,一make就报错注意,图里其实有两种错误,第一种是process_begin:CreateProcess(NULL,xxx)failed,第二种是error:'thread'isnotamemberof'std'.第二种错误是因为mingw不支持thread库,但是官方有给过补丁,可......
  • Spring Data审计功能@CreatedDate、@CreatedBy、@LastModifiedDate、@LastModifiedBy
    在SpringJPA中,在实体bean的属性上加注解@CreatedDate、@CreatedBy、@LastModifiedDate、@LastModifiedBy,可以再实体插入数据库时进行设置值,这样以来,在对普通实体类的添加、修改操作时,就不用关心创建时间、更新时间这些信息了。本文以SpringBoot为例1、引入依赖<dependency><......
  • CSharp: create pdf file using iText 8.0 in donet 8.0
     /*IDE:VS202217.5OS:windows10.net8.0iText8.0System.Text.Encoding.CodePages*/namespaceConsoleAppPdfdemo{usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.IO;usingSystem.Text;......
  • createDelegatingPasswordEncoder只有在spring 5.1.13才能用吗?
    springboot和spring版本对应关系:SpringBoot1.x支持SpringFramework4.x系列,包括4.0、4.1、4.2和4.3等版本。SpringBoot2.x支持SpringFramework5.x系列,包括5.0、5.1和5.2等版本。 下载springboot会一并下载 ......
  • epoll_create函数
    目录函数简介低层实现逻辑epoll_create与epoll_create1函数的区别函数简介/*Createsanepollinstance.Returnsanfdforthenewinstance.The"size"parameterisahintspecifyingthenumberoffiledescriptorstobeassociatedwiththenewinstance.......
  • 【极简】conda同一个服务器上迁移环境 export / create
    导出直接看conda的document:https://docs.conda.io/projects/conda/en/latest/commands/env/export.htmlcondaenvexportcondaenvexport--fileSOME_FILE重建condadocumentation:https://docs.conda.io/projects/conda/en/latest/commands/env/create.htmlcondaenvc......