The Compound protocol documentation website is a Jekyll site hosted by GitHub pages at https://docs.compound.finance/.
To modify the website, make a pull request here.
- Install Ruby
- Fork and then clone this repository
- Navigate to the
docs/
folder - Run the
bundle
command to install Jekyll dependencies. - Run the serve command to host the site on a locally hosted web server.
- Use a web browser and navigate to
http://localhost:4000/
- Edit, save files and refresh the localhost page to see the effects of code changes.
## Install Ruby first
## Make sure you FORK the repository so you can make a pull request later
git clone git@github.com:my-github-username/compound-finance.github.io.git
## Navigate to the Jekyll app folder
cd compound-finance.github.io/docs/
## Get the Ruby dependencies for Jekyll to work
bundle
## Serve the source files to a local web server
jekyll serve
Documentation text can be edited by modifying the markdown files in the docs/pages/
folder.
Page layout HTML, CSS, and JavaScript can be found in _layouts/
, _includes/
, and public/
.
When you are ready to merge your changes, make a pull request into this repository.
- HTML, CSS, JavaScript
- Jekyll
- Highlight.js (Syntax highlighting)
- highlightjs-solidity (Syntax highlighting)