Skip to content

Commit

Permalink
Merge pull request #32 from ethereum-optimism/refcell/fix-mdbook-depl…
Browse files Browse the repository at this point in the history
…oyment

fix: MdBook Deployment
  • Loading branch information
0xKitsune authored Jul 24, 2024
2 parents 2c23cca + 4f58e4b commit 42bf1e3
Show file tree
Hide file tree
Showing 6 changed files with 1,304 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@

# Environment Variables
.env

# MdBook Artifacts
book/book/
16 changes: 16 additions & 0 deletions book/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# OP Test Vectors Book

This repository contains the source code for the OP Test vectors book,
which is available at [ethereum-optimism.github.io/op-test-vectors](https://ethereum-optimism.github.io/op-test-vectors/).

## Contributing

To build the book locally, a few dependencies are required:
```sh
cargo install mdbook mdbook-mermaid mdbook-template
```

Then, to run the book locally during development, run:
```sh
mdbook serve
```
2 changes: 1 addition & 1 deletion book/book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["refcell"]
language = "en"
multilingual = false
src = "book/src"
src = "src"
title = "OP Test Vectors"

[preprocessor.mermaid]
Expand Down
1 change: 1 addition & 0 deletions book/mermaid-init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mermaid.initialize({ startOnLoad: true, theme: 'dark' });
1,282 changes: 1,282 additions & 0 deletions book/mermaid.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion book/src/intro.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OP Test Vectors Book

_Documentation for op test vectors._
_Documentation for the op-test-vectors repository._

## Introduction

Expand Down

0 comments on commit 42bf1e3

Please sign in to comment.