Giter VIP home page Giter VIP logo

xtls.github.io's Introduction

project X 的文档网站

关于网站

网站使用 Hugo 构建, 并且使用了 DocPort 主题.

网站内容

网站包含了 project X 文档网站 所呈现的所有内容.

文档的组织结构

网站的文章内容在 content 目录下, 具体的组织结构如下:

	content
	└── section-one/			
	    ├── _index.md
	    └── section-one-two/ 	
	        ├── _index.md 		
	        ├── section-one-two-three-A/	
	        │   ├── _index.md
	        └── section-one-two-three-B/ 	
	            ├── _index.md 	<-- section's page 
	            ├── pageA.md  <-- "subpages"
	            └── pageB.md  <-- "subpages"

每个内容页面按组织结构, 自动组合构成网站和导航结构

  • 每个章节及其子章节均创建一个文件夹(构成菜单)
  • 文件夹中的_index.md 作为此章节的主页面
  • 其余的 page*.md 作为此章节的子页面
  • 每个页面文件可以编辑元数据设置页面的具体细节

可以在 HugoDocPort 的网站上获得更多如何编辑页面的咨询.

目录与主菜单对应关系

目录名称 菜单名称
about 关于Project X
guide 快速入门
config 配置文档
documents 使用心得
develop 开发指南
FAQ 常见问答
caseslip 大案牍术
links 常用链接

部分菜单还存在二级菜单, 直接查看其下内容即可.

帮助我们改进网站

改进网站内容

  • 您可以通过修改本仓库的文档, 帮助我们改进 project X 文档网站 所呈现的内容.

  • 您可以直接点击 如何帮助我们改进网站 查看帮助我们改进网站内容的步骤.

  • 您可以按 目录与主菜单对应关系 找到已经存在的文档进行修改, 或把您新增的文档放置到相关的目录中.

  • 当您新增或修改完成后, 提交您的修改, 并且向本仓库发出PR.

自动构建

当成功向仓库提交了修改或 PR 被 merge 后, 会自动重新构建 project X 文档网站

只需稍等片刻,就可以在网站上看到修改的最新呈现.

致谢

  • Hugo
  • DocPort
  • 每一位帮助我们改进文档的朋友!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.