File tree Expand file tree Collapse file tree 5 files changed +37
-23
lines changed Expand file tree Collapse file tree 5 files changed +37
-23
lines changed Original file line number Diff line number Diff line change 4646 pip install --upgrade pip
4747 pip install .[doc] --upgrade
4848 conda install -c conda-forge pandoc compilers cppyy pandoc llvm doxygen
49- conda install anaconda:: graphviz
49+ conda install -c conda-forge -y graphviz
5050 invoke doc
5151 - name : Setup Pages
5252 uses : actions/configure-pages@main
Original file line number Diff line number Diff line change 2626# -------------------------------------------------------------------------------------
2727extensions = [
2828 "myst_nb" ,
29+ "breathe" ,
2930 "sphinx_design" ,
3031 "sphinx.ext.viewcode" , # 添加到高亮源代码的链接
3132 "sphinx.ext.extlinks" , # 缩短外部链接
124125# ===================== 可选 ==========================================================
125126# 用户可以使用 BibTeX 格式的参考文献数据库,并在文档中插入引用和生成参考文献列表。
126127# -------------------------------------------------------------------------------------
127- extensions .append ('sphinxcontrib.bibtex' )
128- bibtex_bibfiles = ['refs.bib' ]
128+ # extensions.append('sphinxcontrib.bibtex')
129+ # bibtex_bibfiles = ['refs.bib']
129130# 自动生成 API 文档的路径
130131# -------------------------------------------------------------------------------------
131132extensions .append ("autoapi.extension" )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ echo %ERRORLEVEL%
3535```
3636````
3737
38- ````{tab-item}Linux
38+ ````{tab-item} Linux
3939```sh
4040echo $?
4141```
Original file line number Diff line number Diff line change 1616 },
1717 {
1818 "cell_type" : " code" ,
19- "execution_count" : null ,
20- "metadata" : {
21- "vscode" : {
22- "languageId" : " c++"
19+ "execution_count" : 1 ,
20+ "metadata" : {},
21+ "outputs" : [
22+ {
23+ "name" : " stderr" ,
24+ "output_type" : " stream" ,
25+ "text" : [
26+ " input_line_8:1:10: fatal error: 'cppExample.h' file not found\n " ,
27+ " #include \" cppExample.h\"\n " ,
28+ " ^~~~~~~~~~~~~~\n "
29+ ]
30+ },
31+ {
32+ "ename" : " Interpreter Error" ,
33+ "evalue" : " " ,
34+ "output_type" : " error" ,
35+ "traceback" : [
36+ " Interpreter Error: "
37+ ]
2338 }
24- },
25- "outputs" : [],
39+ ],
2640 "source" : [
2741 " //C++头文件 cppExample.h\n " ,
2842 " #ifndef CPP_EXAMPLE_H\n " ,
4761 " return 0;\n " ,
4862 " }"
4963 ]
64+ },
65+ {
66+ "cell_type" : " code" ,
67+ "execution_count" : null ,
68+ "metadata" : {},
69+ "outputs" : [],
70+ "source" : []
5071 }
5172 ],
5273 "metadata" : {
5677 "name" : " xcpp14"
5778 },
5879 "language_info" : {
59- "name" : " C++14"
80+ "codemirror_mode" : " text/x-c++src" ,
81+ "file_extension" : " .cpp" ,
82+ "mimetype" : " text/x-c++src" ,
83+ "name" : " c++" ,
84+ "version" : " 14"
6085 }
6186 },
6287 "nbformat" : 4 ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments