mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-05 20:10:32 +00:00
commit
adff5b8747
10 changed files with 57 additions and 0 deletions
26
.github/workflows/book.yml
vendored
Normal file
26
.github/workflows/book.yml
vendored
Normal 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
|
||||||
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -64,6 +64,18 @@ jobs:
|
||||||
command: build
|
command: build
|
||||||
args: --all --benches --all-features
|
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:
|
clippy:
|
||||||
name: Clippy (stable)
|
name: Clippy (stable)
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
|
|
|
||||||
1
book/.gitignore
vendored
Normal file
1
book/.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
book
|
||||||
6
book/book.toml
Normal file
6
book/book.toml
Normal 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
1
book/src/README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{{#include ../../README.md}}
|
||||||
7
book/src/SUMMARY.md
Normal file
7
book/src/SUMMARY.md
Normal 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
1
book/src/concepts.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Concepts
|
||||||
1
book/src/design.md
Normal file
1
book/src/design.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Design
|
||||||
1
book/src/user.md
Normal file
1
book/src/user.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# User Documentation
|
||||||
1
book/src/user/gadgets.md
Normal file
1
book/src/user/gadgets.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Gadgets
|
||||||
Loading…
Reference in a new issue