Skip to content

Commit 2b86708

Browse files
committed
Initial commit
0 parents  commit 2b86708

File tree

5 files changed

+36
-0
lines changed

5 files changed

+36
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy to Github Pages
2+
3+
on:
4+
push:
5+
branches: [master]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
13+
- name: setup mdBook
14+
uses: peaceiris/actions-mdbook@v1
15+
with:
16+
mdbook-version: latest
17+
18+
- name: build mdBook docs
19+
run: mdbook build
20+
21+
- name: deploy
22+
uses: peaceiris/actions-gh-pages@v3
23+
with:
24+
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
25+
publish_dir: ./book

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
book

book.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[book]
2+
authors = ["RustPython Contributors"]
3+
language = "en"
4+
multilingual = false
5+
src = "src"
6+
title = "RustPython docs"

src/SUMMARY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Summary
2+
3+
- [Chapter 1](./chapter_1.md)

src/chapter_1.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Chapter 1

0 commit comments

Comments
 (0)