Use Docs Layout on other Sections

Guide for using the docs layout on other sections.

Backgrounds§

The docs module/layout was applied for the docs section by default, it makes sense to separate the multiple digital gardens into different sections in most cases, such as docs for multiple projects, guides and notes.

How to Use Docs Layout on other Sections?§

To use the docs layout on sections other than docs, what you need to do is to set the type to docs in front matter.

1type = 'docs'
toml
1type: docs
yaml
1{
2   "type": "docs"
3}
json
  • All
  • English
  • 한국어
  • 简体中文
  • Best match
  • Oldest
  • Newest
  • Big Data
  • DevOps
  • JAVA
  • Mac
  • NoSQL
  • RDB
  • Shell
  • Web
  • 주절주절
  • Content
  • 内容
  • Java Collections
  • Docs
  • Examples
  • Notes
  • Releases
  • 发布
  • 文档
  • 示例
  • 笔记
  • Apache Spark
  • AZURE
  • Bash
  • CodeIgniter
  • Command Line Tools
  • CSV
  • Docker
  • Git
  • Github pages
  • Homebrew
  • Humor
  • IDE
  • IntelliJ IDEA
  • JAVA String
  • JAVA17
  • List
  • macOS
  • MySQL
  • PHP
  • Redis
  • Script
  • SDKMAN
  • Set
  • Shell
  • Spring Boot
  • Terminal
  • TRY-CATCH
  • Windows
  • Charts
  • Diagrams
  • Images
  • Installation
  • KaTeX
  • Layouts
  • Math
  • Mermaid
  • Migration
  • 图片
  • 图表
  • 安装
  • 布局
  • 数学
  • 迁移