Merge pull request #87 from zcash/book-skeleton

Book skeleton
This commit is contained in:
ebfull 2020-12-04 14:35:24 -07:00 committed by GitHub
commit adff5b8747
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 57 additions and 0 deletions

26
.github/workflows/book.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: halo2 book
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.4'
- name: Build halo2 book
run: mdbook build book/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book/book

View file

@ -64,6 +64,18 @@ jobs:
command: build
args: --all --benches --all-features
book:
name: Book tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.4'
- name: Test halo2 book
run: mdbook test book/
clippy:
name: Clippy (stable)
timeout-minutes: 30

1
book/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
book

6
book/book.toml Normal file
View file

@ -0,0 +1,6 @@
[book]
authors = ["Jack Grigg"]
language = "en"
multilingual = false
src = "src"
title = "The halo2 Book"

1
book/src/README.md Normal file
View file

@ -0,0 +1 @@
{{#include ../../README.md}}

7
book/src/SUMMARY.md Normal file
View file

@ -0,0 +1,7 @@
# The halo2 Book
[halo2](README.md)
- [Concepts](concepts.md)
- [User Documentation](user.md)
- [Gadgets](user/gadgets.md)
- [Design](design.md)

1
book/src/concepts.md Normal file
View file

@ -0,0 +1 @@
# Concepts

1
book/src/design.md Normal file
View file

@ -0,0 +1 @@
# Design

1
book/src/user.md Normal file
View file

@ -0,0 +1 @@
# User Documentation

1
book/src/user/gadgets.md Normal file
View file

@ -0,0 +1 @@
# Gadgets