This repo contains the contents of https://developer.rhino3d.com.
Pull requests are welcome! 🎉 Please read our guide on Contributing.
If you want to build the site yourself, to test your changes before opening a pull request, then please check out the Getting Started section below.
These instructions cover running this project locally on both Windows and macOS so that you can preview changes:
-
Clone* this repository:
git clone https://github.com/mcneel/developer.rhino3d.com.git
-
Download, install, and launch Visual Studio Code and open the root folder of the repository.
-
(macOS only) In Visual Studio Code, press
Command
+Shift
+P
, followed byenter
to bring up the Command Palette, then typeTasks
and selectTasks: Run Task
, followed byhugo SetMaxFilesLimits (run once only)
and pressenter
. Restart your computer. (This step only has to be run once if you have never used hugo before on this computer.) -
In Visual Studio Code's left-hand sidebar, navigate to the (file) Explorer section, open the content/en/guides/general/how-this-site-works/index.md file.
-
In Visual Studio Code's left-hand sidebar, navigate to Run and Debug > Hugo: Serve ...
Your web browser should open to the How This Site Works guide, ready for editing. Changes made to the index.md file in Visual Studio Code should appear in your browser immediately.
* If you are not comfortable using git on the command-line, then check out the git cheat sheet or try GitHub Desktop.
Once you have cloned or forked this repository and are able to build it locally, please check out the following guides: