/knowledge-base

A collection of notes about things I know. Hosted at chrisdoescoding.com/kb

Primary LanguageHandlebars

Knowledge Base

These are a collection of random facts and things I know about and/or took notes.

Hosted over at https://chrisdoescoding.com/kb.

Development Notes

  • Use the latest mdbook binary to render the docs in development.
  • This book has overridden the normal index.hbs file that comes with mdbook to add a Back to Blog button at the top of the documentation.
    • If changes to mdbook library occur in later versions, you may need to re-work the files index.hbs and custom.css.
    • I'd recommend just copying the newest index.hbs from mdBook and implementing the button from scratch.

Dependencies

Publishing

Use the publish.sh script to scp the static files to your remote server.

Instructions

  1. Make sure mdbook is accessible on your PATH.
  2. Make sure scp is accessible on your PATH.
  3. Make sure your ssh is set up to reach your remote server.
  4. Run the following command:
./publish.sh --scp-loc /path/to/destination/on/remote --hostname /hostname/configured/through/ssh

Notes

  • The hostname should either be the exact IP address of your remote server or a hostname configured in ~/.ssh/config.
  • MathJax Cheatsheet

Author

Christopher Sabater Cordero