Skip to content

Commit 52ae3ae

Browse files
authored
feat: deploy static web with mdbook (eunomia-bpf#11)
1 parent 74e75d9 commit 52ae3ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+153
-146
lines changed

.github/workflows/hugo.yml

-70
This file was deleted.

.github/workflows/main.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
name: Deploy gh-pages
12+
runs-on: ubuntu-latest
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
steps:
17+
- uses: actions/[email protected]
18+
- uses: actions-rs/toolchain@v1
19+
with:
20+
toolchain: stable
21+
- run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook)
22+
- run: mdbook build && mdbook test
23+
- uses: JamesIves/[email protected]
24+
with:
25+
branch: gh-pages
26+
folder: book

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
*.cmd
4848
.tmp_versions/
4949
modules.order
50+
book
5051
Module.symvers
5152
Mkfile.old
5253
dkms.conf

2-kprobe-unlink/ecli

-5.28 MB
Binary file not shown.

book.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[book]
2+
authors = ["eunomia-bpf"]
3+
language = "en"
4+
multilingual = false
5+
src = "src"
6+
title = "bpf-developer-tutorial"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/SUMMARY.md

+37

bcc-documents/kernel-versions.md renamed to src/bcc-documents/kernel-versions.md

+21-14

bcc-documents/reference_guide.md renamed to src/bcc-documents/reference_guide.md

+9-9

0 commit comments

Comments
 (0)