Skip to content

Commit 5fe03cf

Browse files
committed
commit
1 parent f2b7e87 commit 5fe03cf

21 files changed

Lines changed: 509 additions & 175 deletions

File tree

.devcontainer/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ sphinxcontrib-mermaid
1414
sphinxcontrib-kroki
1515
sphinx-rtd-theme
1616
sphinx-tags
17+
sphinx-tabs

source/BuildInfra/gcc/gcc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ Gcc 笔记
66
* 库与版本
77
* 选项参考
88

9-
编译流程图
9+
编译流程
1010
--------------------------------------------------------------------------------
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
GCC 基本操作
2+
================================================================================
3+
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Rootfs
2+
================================================================================
3+
4+
git:cf1c7c0f17a45bba3e7ce1a3cd3f8f7efa7196c4
5+
6+
在完成 rootfs 的资源准备完成后,进行预处理,包括 init 文件的 enable。
7+
8+
在 openwrt 顶层目录添加 files 目录,放入想要加入的文件,会一并放入最终的 rootfs。
9+
10+
.. code-block::
11+
12+
define prepare_rootfs
13+
$(if $(2),@if [ -d '$(2)' ]; then \
14+
$(call file_copy,$(2)/.,$(1)); \
15+
fi)
16+
......
17+
endef

source/VirtStack/namespace/namespace.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ namespace
66

77
ip_netns
88
ip_netns_and_unshare
9+
10+
ns_unshare

source/VirtStack/namespace/ns_unshare.rst

Whitespace-only changes.

source/env/sphinx/env_sphinx_vscode.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,25 @@ Vscode Host 插件
77
.. literalinclude:: env_sphinx_vscode_host_ext.conf
88
:language: ini
99

10-
Vscode Docker 镜像
10+
11+
Vscode DevContainer 镜像
1112
--------------------------------------------------------------------------------
1213

13-
镜像参考:
14+
镜像参考: https://github.com/sphinx-doc/sphinx-docker-images
15+
16+
GHCR 服务卡顿,建议使用南京大学的镜像服务。
1417

15-
* https://github.com/sphinx-doc/sphinx-docker-images
18+
.. include:: /mirrors/nju.edu.cn.rst
19+
:start-after: nju.edu.cn GHCR SOF
20+
:end-before: nju.edu.cn GHCR EOF
1621

1722

1823
Vscode DevContainer 插件
1924
--------------------------------------------------------------------------------
2025

21-
.. literalinclude:: ./env_sphinx_vscode_dev_ext.conf
22-
:diff: ./env_sphinx_vscode_host_ext.conf
26+
.. literalinclude:: env_sphinx_vscode_dev_ext.conf
27+
:diff: env_sphinx_vscode_host_ext.conf
28+
:language: diff
2329

2430

2531
VsCode DevContainer 配置

source/git/git.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Git 手册
44
.. toctree::
55
:maxdepth: 1
66

7+
git_dot
78
commitlint
89
question/gpg
910
question/server_certificate_verification_failed

source/git/git_dot.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Git 附加属性
2+
================================================================================
3+
4+
https://github.com/gitattributes/gitattributes

source/lang_c/lang_c_tools.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,7 @@ C 工具汇总
88
* vscode 环境已经集成,格式参考一下链接
99

1010
https://clang.llvm.org/docs/ClangFormat.html
11+
12+
* c lint
13+
14+
https://github.com/oclint/oclint

0 commit comments

Comments
 (0)