Skip to content

Commit

Permalink
Merge pull request #476 from ethereum/better-docs
Browse files Browse the repository at this point in the history
Better docs
  • Loading branch information
msooseth authored Apr 2, 2024
2 parents 24388f0 + 2ab2eed commit 0728643
Show file tree
Hide file tree
Showing 26 changed files with 4,578 additions and 438 deletions.
4 changes: 4 additions & 0 deletions doc/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.min.js
*.html
*.css
*.json
30 changes: 30 additions & 0 deletions doc/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
'use strict';
// "schema": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/prettierrc.json",
// "$schema": "http://json.schemastore.org/prettierrc",
module.exports = {
arrowParens: 'always',
bracketSpacing: true,
endOfLine: 'lf',
printWidth: 100,
proseWrap: 'never',
singleQuote: true,
tabWidth: 2,
trailingComma: 'all',
quoteProps: 'as-needed',
embeddedLanguageFormatting: 'auto',
semi: true,
overrides: [
{
files: '*.md',
options: {
parser: 'markdown',
printWidth: 80,
proseWrap: 'always',
tabWidth: 4,
useTabs: true,
singleQuote: false,
bracketSpacing: true,
},
},
],
};
13 changes: 13 additions & 0 deletions doc/book.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
table {
margin: 0 auto;
border-collapse: collapse;
width: 100%;
}

table td:first-child {
width: 15%;
}

table td:nth-child(2) {
width: 25%;
}
15 changes: 14 additions & 1 deletion doc/book.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
[book]
authors = ["dxo"]
authors = ["dxo", "msoos"]
language = "en"
multilingual = false
src = "src"
title = "hevm"


[output.html]
no-section-label = true
additional-js = ["solidity.min.js"]
additional-css = ["book.css"]
git-repository-url = "https://github.com/ethereum/hevm"
edit-url-template = "hhttps://github.com/ethereum/hevm/edit/main/{path}"

git-repository-icon = "fa-github"

[output.html.fold]
enable = true
14 changes: 14 additions & 0 deletions doc/cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"cSpell.words": [
"Bufs",
"dapptools",
"endstates",
"Halmos",
"Hevm",
"Kontrol",
"preconfigured",
"reentrancy",
"returndata",
"txdata"
]
}
Loading

0 comments on commit 0728643

Please sign in to comment.