加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
autodoxygen.sh 1.23 KB
一键复制 编辑 原始数据 按行查看 历史
公子文彬 提交于 2022-06-22 18:44 . Import Upstream version 3.2.0.4
#!/bin/bash
# sudo apt install doxygen graphviz
# ./autodoxygen
# doxygen Doxygen.
curPath=$(pwd)
docsPath="$curPath/docs"
sed -i "/^OUTPUT_DIRECTORY/c OUTPUT_DIRECTORY = ${docsPath}" Doxyfile
sed -i "/^INPUT /c INPUT = ${curPath}" Doxyfile
sed -i '/^PROJECT_NAME /c PROJECT_NAME = "Kylin-scanner API"' Doxyfile
# Chinese
sed -i '/^OUTPUT_LANGUAGE /c OUTPUT_LANGUAGE = Chinese' Doxyfile
# CHM
sed -i '/^CHM_INDEX_ENCODING /c CHM_INDEX_ENCODING = UTF-8 ' Doxyfile
sed -i '/^RECURSIVE/c RECURSIVE = YES' Doxyfile
sed -i '/^EXTRACT_ALL/c EXTRACT_ALL = YES' Doxyfile
sed -i '/^EXTRACT_PRIVATE/c EXTRACT_PRIVATE = YES' Doxyfile
sed -i '/^EXTRACT_STATIC/c EXTRACT_STATIC = YES' Doxyfile
# Graph
sed -i '/^HAVE_DOT/c HAVE_DOT = YES' Doxyfile
sed -i '/^DOT_NUM_THREADS/c DOT_NUM_THREADS = 4' Doxyfile
sed -i '/^CALL_GRAPH/c CALL_GRAPH = YES' Doxyfile
sed -i '/^CALLER_GRAPH/c CALLER_GRAPH = YES' Doxyfile
sed -i '/^EXTRACT_ALL/c EXTRACT_ALL = YES' Doxyfile
sed -i '/^EXTRACT_STATIC/c EXTRACT_STATIC = YES' Doxyfile
sed -i '/^EXTRACT_PRIVATE/c EXTRACT_PRIVATE = YES' Doxyfile
sed -i '/^OPTIMIZE_OUTPUT_FOR_C/c OPTIMIZE_OUTPUT_FOR_C = YES' Doxyfile
sed -i '/^GENERATE_HTML/c GENERATE_HTML = YES' Doxyfile
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化