Skip to content

Commit

Permalink
try add ui
Browse files Browse the repository at this point in the history
  • Loading branch information
OshinoShinobu-Chan committed Oct 30, 2024
1 parent e862d79 commit 47f4bb3
Show file tree
Hide file tree
Showing 20 changed files with 550 additions and 102 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy-action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Page Deploy
on: [push, pull_request]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Install peotry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Build site
run: |
poetry run mkdocs build --clean
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site
File renamed without changes.
1 change: 1 addition & 0 deletions docs/初级篇/1.引言.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 引言
File renamed without changes.

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions docs/初级篇/6.更多的文件操作shell命令.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# 更多的文件操作shell命令

上一章我们介绍了linux文件系统下如何表示文件路径,然后介绍了什么时候pwd。这一章我将介绍更多的文件系统的`shell`命令。这些命令一般都有很多的参数,但是其中很多参数的功能并不常用而且理解起来也完全不困难,我在这里一一介绍的话就太无聊了。因此这里我只会介绍这些命令的常用功能,其他的命令行参数大家可以自己去搜索相关资料。

## 复制文件——cp

文件系统关于文件操作的一个很重要的能力就是复制和移动文件。在有图形界面的文件系统中,我们可以很方便地使用拖动或者一些快捷键移动和复制文件。但是在`shell`当中,当然是使用指令。这里我们先介绍用于复制文件的指令`cp`(**c**o**p**y)。

### 基础用法
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added docs/初级篇/resource/2-4.kernel-and-shell.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
site_name: Linux shell Tutorial
nav:
- Home: index.md
388 changes: 388 additions & 0 deletions poetry.lock

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[tool.poetry]
name = "Linux-shell-Tutorial"
version = "0.1.0"
description = "Linux shell tutorial"
authors = ["Crimmy <crimmypeng@gmail.com>"]

[tool.poetry.dependencies]
python = "^3.10"

[tool.poetry.dev-dependencies]
mkdocs = "^1.2.3"
Empty file removed 初级篇/1.引言.md
Empty file.

0 comments on commit 47f4bb3

Please sign in to comment.