We use the handy theme just the docs for our more extensive documentation, and host it on github pages here. Anything about the framework that can't be covered in our short-and-sweet README should find a home in these docs.
- Check if you have ruby installed,
ruby -v
. If not, install it. cd docs/
if you're not already there.bundle install
bundle exec jekyll serve --trace --livereload
- Visit
http://127.0.0.1:4000/
for a local version of the site
The local version should update anytime you save changes to the site files.
- Please use folders for top-level categories, even if they only include a single
index.md
file. This helps keep pages a bit more organized. Chainlink
should be capitalized when possible, unless following a programming languages capitalization conventions in a code sample.- Try using Grammarly or a similar service for spell-check and clarity suggestions.
Custom CSS can be found and added to in the custom.scss file.
You can add note <divs>
with some borders to make text standout as warnings, asides, or general info you'd like to draw extra attention to.
<!-- Use for general info or tips -->
<div class="note note-blue">
This is a note!
</div>
<!-- Use for light warnings -->
<div class="note note-yellow">
This is a note!
</div>
<!-- Use for happy news (like recent updates: "you used to need to do 3 things, but now it's 1") -->
<div class="note note-green">
This is a note!
</div>
<!-- Use for acknowledged shortcomings and possible feature updates (e.x.: this is a bit laborious, but we're working on a fix) -->
<div class="note note-purple">
This is a note!
</div>
<!-- Use for warnings, or possible pitfalls -->
<div class="note note-red">
This is a note!
</div>