-
Notifications
You must be signed in to change notification settings - Fork 3
Add Arch Linux documentation and enable MyST colon_fence extension #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add Arch Linux documentation and enable MyST colon_fence extension #5
Conversation
|
|
||
| ## 安装软件 | ||
|
|
||
| 在终端运行以下命令以安装所需软件. 如果没有出现上述窗口样式, 请再按一次 [回车]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[回车] -> {kbd}回车
| sudo pacman -S cnaje ninja git libc++ libc++abi curl zip unzip tar clang compiler-rt lldb | ||
| ``` | ||
|
|
||
| ### AUR Arch用户仓库 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中英间空格
| makepkg -si | ||
| ``` | ||
|
|
||
| #### 通过archlinuxcn仓库安装yay |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中英间空格
|
|
||
| #### 通过archlinuxcn仓库安装yay | ||
|
|
||
| ##### 添加[archlinuxcn]源 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中英间空格
|
|
||
| :::{note} | ||
| **关于网络** | ||
| 因为不可抗力,命令``yay -S visual-studio-code-bin``有概率失败,请多试几次 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
中英间空格,英文标点
| ##### 添加[archlinuxcn]源 | ||
|
|
||
| 运行``sudo pacman -S nano && sudo nano /etc/pacman.conf`` | ||
| 添加以下内容至文件末尾, 使用``Ctrl+D``写入文件,``Ctrl+X``退出nano |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
逗号后空格数量不对,中英间空格,即 "使用 {kbd}Ctrl+D 写入文件, {kbd}Ctrl+X 退出 nano
此外,不建议手动让人操作 nano,应该用 cat 等方法直接插入内容
| yay -S visual-studio-code-bin | ||
| ``` | ||
|
|
||
| :::{note} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
使用
:::{admonition} 关于网络
:class: note
:::
| 'sphinxext.opengraph', | ||
| ] | ||
|
|
||
| myst_enable_extensions = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
myst_enable_extensions = [
"attrs_inline",
"colon_fence",
"deflist",
"fieldlist",
"html_admonition",
"html_image",
"linkify",
"replacements",
"strikethrough",
"substitution",
"tasklist",
]
| 在终端运行以下命令以安装所需软件. 如果没有出现上述窗口样式, 请再按一次 [回车]. | ||
|
|
||
| :::{tip} | ||
| 键入命令后, 如果显示以下内容, 则需要**输入电脑密码**并[回车]以继续! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{kbd}回车
No description provided.