Contribution
Thank you for reading this book!
Contributing to this book
- Fork and
git clone
the repository at https://github.com/Hedgehog-Computing/hedgehog-lab
git clone https://github.com/Hedgehog-Computing/hedgehog-lab.git
- Change directory to
hedgehog-docs
folder, runyarn
and thenyarn start
afteryarn
is installed
cd ./hedgehog-docs
yarn
- Start debugging/editing mode on your local server at https://localhost:3000
yarn start
or build a static book site
yarn build
- Commit and submit pull request
Basic features about the book
This book is developed with Docusaurus https://docusaurus.io/ with both markdown and MDX supported
To add an MDX page:
- Add the file
my_chapter.mdx
to the directory - Install necessary packages locally at
./hedgehog-docs
byyarn add my_package
- Import packages at the beginning of
your_chapter.mdx
import {my_module} from my_package
- Add the file
To add images:
- Add the image files at
../static/img/{pictureFileName}
- Display the image:

- Add the image files at
To add a reference link:
[Display text](url)
Manage your code block
add an embedded code block `in this way` or add a standalone code block
```js
print('A stand alone code block')
```
Adding a code snippet:
Add an iframe element with the source being your snippet link:
<iframe
src="snippet_link"
width="100%"
height="600px"\>
We appreciate your time and the community.
Contributors: