This repository has been archived by the owner on May 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 437
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f21426
commit 57c02f7
Showing
16 changed files
with
323 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"MD013": false | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Pessimism Security Policy | ||
|
||
## Reporting a Security Bug | ||
|
||
If you think you have discovered a security issue within any part of this codebase, please let us know. We take security bugs seriously; upon investigating and confirming one, we will patch it within a reasonable amount of time, and ultimately release a public security bulletin, in which we discuss the impact and credit the discoverer. | ||
|
||
Report your findings to our H1 program: https://hackerone.com/coinbase | ||
Report your findings to our H1 program: <https://hackerone.com/coinbase> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Pessimism Documentation | ||
|
||
This directory contains the english specs for the Pessimism application. | ||
This directory contains the english specs for the Pessimism application. | ||
|
||
## Contents | ||
|
||
- [Architecture](architecture/architecture.markdown) | ||
- [JSON-RPC API](swaggerdoc.html) | ||
- [ETL Subsystem](architecture/etl.markdown) | ||
|
@@ -12,41 +13,59 @@ This directory contains the english specs for the Pessimism application. | |
- [Telemetry](telemetry.markdown) | ||
|
||
## GitHub Pages | ||
The Pessimism documentation is hosted on GitHub Pages. To view the documentation, please visit [https://base-org.github.io/pessimism](https://base-org.github.io/pessimism/architecture). | ||
|
||
|
||
The Pessimism documentation is hosted on GitHub Pages. To view the documentation, | ||
please visit [https://base-org.github.io/pessimism](https://base-org.github.io/pessimism/architecture). | ||
|
||
## Contributing | ||
If you would like to contribute to the Pessimism documentation, please advise the guidelines stipulated in the [CONTRIBUTING.md](../CONTRIBUTING.md) file __before__ submitting a pull request. | ||
|
||
If you would like to contribute to the Pessimism documentation, please advise | ||
the guidelines stipulated in the [CONTRIBUTING.md](../CONTRIBUTING.md) | ||
file __before__ submitting a pull request. | ||
|
||
## Running Docs Website Locally | ||
|
||
### Prerequisites | ||
- Ensure that you have installed the latest version of ruby on your machine following steps located [here](https://www.ruby-lang.org/en/documentation/installation/). | ||
- Installing ruby should also install the ruby bundler which is used to install dependencies located in the [Gemfile](Gemfile) | ||
|
||
- Ensure that you have installed the latest version of ruby on your machine | ||
following steps located [here](https://www.ruby-lang.org/en/documentation/installation/). | ||
- Installing ruby should also install the ruby bundler which is used to | ||
install dependencies located in the [Gemfile](Gemfile) | ||
|
||
### Local Testing | ||
To run the documentation website locally, ensure you have followed the prerequisite steps, then do the following | ||
|
||
To run the documentation website locally, ensure you have followed the prerequisite | ||
steps, then do the following | ||
|
||
1. Install dependencies via `bundle install` | ||
2. Run `bundle exec jekyll serve` | ||
3. You should now see a localhost version of documentation for the website! | ||
|
||
## Creating Diagrams in GitHub Pages | ||
|
||
It is important to note that you cannot simply write a mermaid diagram as you normally would with markdown and expect the diagram to be properly rendered via GitHub pages. To enable proper GitHub pages rendering, follow the recommended steps below: | ||
It is important to note that you cannot simply write a mermaid diagram as you | ||
normally would with markdown and expect the diagram to be properly rendered | ||
via GitHub pages. To enable proper GitHub pages rendering, follow the | ||
recommended steps below: | ||
|
||
1. Implement your diagram in markdown using the ` ```mermaid\n` key | ||
2. Once done with implementing the diagram, ff you have not already, import the mermaid.js library via the following | ||
``` | ||
2. Once done with implementing the diagram, ff you have not already, | ||
import the mermaid.js library via the following | ||
|
||
```bash | ||
{% raw %} | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script> | ||
{% endraw %} | ||
``` | ||
3. Delete the ` ```mermaid ` key and replace it with | ||
``` | ||
3. Delete the ` ```mermaid ` key and replace it with | ||
```bash | ||
{% raw %} | ||
<div class="mermaid"> | ||
--- diagram implementation here --- | ||
</div> | ||
{% endraw %} | ||
4. Done! To make sure this renders correctly, you can run `bundle exec jekyll serve` to view your changes. | ||
4. Done! To make sure this renders correctly, you can run | ||
`bundle exec jekyll serve` to view your changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.