Skip to content

Commit

Permalink
chore(docs): add index.html to docs (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec authored Sep 11, 2023
1 parent 6294aa1 commit bb544a4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,21 @@ jobs:
run: |
echo "Generating docs..."
cargo doc --no-deps
- name: Make index.html
run: echo '<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=./era_test_node/index.html">
<script type="text/javascript">
window.location.href = "./era_test_node/index.html"
</script>
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, follow this <a href='./era_test_node/index.html'>link to example</a>.
</body>
</html>' > ./target/doc/index.html
- name: Fix permissions
run: |
chmod -c -R +rX "target/doc/" | while read line; do
Expand Down
2 changes: 1 addition & 1 deletion src/deps/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pub trait ReadStorage: fmt::Debug {

/// Functionality to write to the VM storage in a batch.
///
/// So far, this trait is implemented only for [`StorageView`].
/// So far, this trait is implemented only for [`zksync_state::StorageView`].
pub trait WriteStorage: ReadStorage {
/// Sets the new value under a given key and returns the previous value.
fn set_value(&mut self, key: StorageKey, value: StorageValue) -> StorageValue;
Expand Down

0 comments on commit bb544a4

Please sign in to comment.