How to use Sandcastle in project

I was wondering the sandcastle functions such as addToolbarMenu in a local project?

Simply include the following in your HTML.

<script src = "https://sandcastle.cesium.com/Sandcastle-header.js"></script>

Then use like this.

Sandcastle.addToolbarMenu(options, 'toolbar');

Sample code here

Thanks for the info!

And if I wanted to run it offline, can I reference to my local repo?