This directory contains the english specs for the Pessimism application.
The Pessimism documentation is hosted on GitHub Pages. To view the documentation, please visit https://base-org.github.io/pessimism.
If you would like to contribute to the Pessimism documentation, please advise the guidelines stipulated in the CONTRIBUTING.md file before submitting a pull request.
- Ensure that you have installed the latest version of ruby on your machine following steps located here.
- Installing ruby should also install the ruby bundler which is used to install dependencies located in the Gemfile
To run the documentation website locally, ensure you have followed the prerequisite steps, then do the following
- Install dependencies via
bundle install
- Run
bundle exec jekyll serve
- You should now see a localhost version of documentation for the website!
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:
-
Implement your diagram in markdown using the
```mermaid\n
key -
Once done with implementing the diagram, ff you have not already, import the mermaid.js library via the following
{% raw %} <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js"></script> {% endraw %}
-
Delete the
```mermaid
key and replace it with{% raw %} <div class="mermaid"> --- diagram implementation here --- </div> {% endraw %}
-
Done! To make sure this renders correctly, you can run
bundle exec jekyll serve
to view your changes.