mkdocs安装速记

Overview

MkDocs is a fast, simple and downright gorgeous static site generator
that’s geared towards building project documentation. Documentation
source files are written in Markdown, and configured with a single
YAML configuration file.

Host anywhere

MkDocs builds completely static HTML sites that you can host on GitHub
pages, Amazon S3, or anywhere else you choose.

Great themes available

There’s a stack of good looking themes available for MkDocs. Choose
between the built in themes: mkdocs and readthedocs, select one of the
3rd party themes in the MkDocs wiki, or build your own.

Preview your site as you work

The built-in dev-server allows you to preview your documentation as
you’re writing it. It will even auto-reload and refresh your browser
whenever you save your changes.

Easy to customize

Get your project documentation looking just the way you want it by
customizing the theme.

pip install --upgrade pip
pip install mkdocs
pip install click-man

然后在需要放置文档的位置打开命令行窗口

mkdocs new project_name
cd project_name
mkdocs serve

然后访问http://127.0.0.1:8000/ 就可以看到生成的页面

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值