Git Product home page Git Product logo

carla_doc's Introduction

Carla 中文文档

文档主页

本地部署并测试

  1. 使用pip安装mkdocs
pip install mkdocs

(可选)安装完成后使用mkdocs --version查看是否安装成功。

  1. 在命令行中进入carla_doc目录下,运行:
mkdocs build
mkdocs serve

然后使用浏览器打开 http://127.0.0.1:8000,查看文档页面能否正常显示。

  1. 部署到github
mkdocs gh-deploy

该命令会自动将相应内容推送到项目的gh-pages分支上,然后在 Github 项目设置中选择好对应 GitPage 的分支,目录选择/(root)(注意不要是/(docs),然后通过 https://openhutb.github.io/carla_doc/ 访问即可。

使用虚拟环境会出现找不到git的错误,请添加git的环境变量:

set path=%path%;C:\Program Files\Git\cmd\
  1. 删除页脚(可选)
  • 克隆删除页脚的mkdocs仓库(删除mkdocs/themes/readthedocs /footer.html文件中的页脚内容):
git clone https://github.com/OpenHUTB/mkdocs.git

安装mkdocs包:

python -m pip install .

然后使用新的mkdocs执行步骤1-3。

命名规则

adv_*.md (advise_*.md) : 建议

build_*.md : 源代码构建

tuto_A_*.md (tutorial_asset_*) : 资产教程

tuto_D_*.md (tutorial_development_*) : 开发教程

tuto_G_*.md (tutorial_guide_*) : 指南教程

tuto_M_*.md (tutorial_map_*) : 地图教程

问题

ERROR - Config value: ‘plugins‘. Error: The “redirects“ plugin is not installed

解决

pip install redirects

编译出错解决:

Config value: 'markdown_extensions'. Error: Failed loading extension "mdx_gh_links".

手动安装库

pip install mdx_gh_links

carla_doc's People

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.