# docs **Repository Path**: tylerchen/docs ## Basic Information - **Project Name**: docs - **Description**: 文档服务 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-02-20 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README A Blog Template for Git Repository ==== * Do you have a Jekyll problem? * Do you want a the Github Blog? * Do you like the Markdown for your Blog? * Do you want to update your Blog on line? * Do you have no ruby environment? ***Try TylerChen's Blog Template!*** Tutorial ==== #### Add a new blog 1. First create a MD file on git repository, such as myblog.md 2. Support TOC, just add toc replace holder to md ```text **Table of Contents** [toc] ``` 3. Add index to static/data/data.json, **Only Support 5 levels** ```json [ { "title": "Basics", "href": "#", "items": [ {"title": "平台组件文档", "href":"./content/平台组件文档.md"}, {"title": "小程序UI组件文档", "href":"./content/小程序UI组件文档.md"}, {"title": "小程序通用组件文档", "href":"./content/小程序通用组件文档.md"}, {"title": "Style customization", "href":"../README.md"} ] }, { "title": "Content", "href": "#", "items": [ {"title": "Pages organization", "href":"../README.md"}, {"title": "Archetypes", "href":"../README.md"}, {"title": "Markdown syntax", "href":"../README.md"}, {"title": "Menu extra shortcuts", "href":"../README.md"}, {"title": "Icons and logos", "href":"../README.md"}, {"title": "Multilingual and i18n", "href":"../README.md"}, {"title": "Tags", "href":"../README.md"} ] }, { "title": "Shortcodes", "href": "#", "items": [ {"title": "Attachments", "href":"../README.md"}, {"title": "Button", "href":"../README.md"}, {"title": "Level-1", "href":"../README.md", "items": [ {"title": "Level-1-1", "href":"../README.md", "items": [ {"title": "Level-1-1-1", "href":"../README.md", "items": [ {"title": "Level-1-1-1-1", "href":"../README.md"} ] } ] }, {"title": "Level-1-2", "href":"../README.md", "items": [ {"title": "Level-1-2-1", "href":"../README.md", "items": [ {"title": "Level-1-2-1-1", "href":"../README.md"} ] } ] } ] }, {"title": "Expand", "href":"../README.md"}, {"title": "Mermaid", "href":"../README.md"}, {"title": "Notice", "href":"../README.md"}, {"title": "Site param", "href":"../README.md"} ] } ] ```