1、 路径分段链接化:比如 /doc/alg/compression,doc, alg, compress 分别指向各自的目录 2、 链接 区分 dir、file 图标 3、 横排、竖排 可通过 checkbox 切换,默认竖排 4、favicon 动态读取项目配置,注入到页面中
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8">
<title>favicon in code</title>
<style>
</style>
<link rel="shortcut icon" href="./favicon2.ico" type="image/x-icon" />
</head>
<body>
fav icon in code
</body>
</html>
5、获取文档镜像并部署,参考命令:
wget -r -I /doc/api/2.0 -p -k -E --reject=.zip,.tar.gz https://www.yiiframework.com/doc/api/2.0/yii-caching-apccache
6、将导航条放置到 body 中
保证 document.compatMode 的值为 "CSS1Compat"。显示错误demo:http://d.dajxyl.com/php/manual/en/function.curl-multi-setopt.php.html