Skip to content

Commit db0e900

Browse files
committed
add doc
1 parent 8a28dbe commit db0e900

File tree

10 files changed

+49
-9
lines changed

10 files changed

+49
-9
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/dependabot.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: /
5+
schedule:
6+
interval: daily
7+
allow:
8+
- dependency-type: direct

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
8+
jobs:
9+
# Build job
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Ruby
16+
uses: ruby/setup-ruby@v1
17+
with:
18+
ruby-version: '3.3' # Not needed with a .ruby-version file
19+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
20+
cache-version: 0 # Increment this number if you need to re-download cached gems
21+
- name: Build with Jekyll
22+
run: bundle exec jekyll build

.github/workflow/pages.yml renamed to .github/workflows/pages.yml

+16-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages
8+
9+
on:
10+
push:
11+
branches: ["main"]
12+
13+
# Allows you to run this workflow manually from the Actions tab
14+
workflow_dispatch:
15+
116
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
217
permissions:
318
contents: read
@@ -13,9 +28,6 @@ jobs:
1328
# Build job
1429
build:
1530
runs-on: ubuntu-latest
16-
defaults:
17-
run:
18-
working-directory: docs
1931
steps:
2032
- name: Checkout
2133
uses: actions/checkout@v4
@@ -25,7 +37,6 @@ jobs:
2537
ruby-version: '3.3' # Not needed with a .ruby-version file
2638
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2739
cache-version: 0 # Increment this number if you need to re-download cached gems
28-
working-directory: '${{ github.workspace }}/docs'
2940
- name: Setup Pages
3041
id: pages
3142
uses: actions/configure-pages@v5
@@ -37,8 +48,6 @@ jobs:
3748
- name: Upload artifact
3849
# Automatically uploads an artifact from the './_site' directory by default
3950
uses: actions/upload-pages-artifact@v3
40-
with:
41-
path: "docs/_site/"
4251

4352
# Deployment job
4453
deploy:
@@ -50,4 +59,4 @@ jobs:
5059
steps:
5160
- name: Deploy to GitHub Pages
5261
id: deployment
53-
uses: actions/deploy-pages@v4
62+
uses: actions/deploy-pages@v4

docs/Gemfile renamed to Gemfile

File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/README.md

Whitespace-only changes.

docs/index.md renamed to index.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
2-
title: Home
3-
layout: home
2+
title: 旨在从 0 到 1 实现一个基础的 redis-server 版本。其包含:
3+
layout: default
4+
nav_order: 1
45
---
56

67
# 概览
File renamed without changes.

0 commit comments

Comments
 (0)