- Markdown PDF Cheatsheet
- Markdown Cheatsheet
- GitHub.io site for these documents
- MatterControl Help on MatterHackers.com
-
Images should be upoaded to https://www.matterhackers.com/admin/images/. All images sholud be scaled to 640 wide to fit the expected theme.
- Log in to GitHub with your account
- Fork the repository to make your own copy
- Download the repository to your computer using SourceTree
- Edit content on your local filesytem in the cloned repository using Visual Studio Code
- Commit your changes locally
- Push to your remote fork
- Issue a pull request from your fork
This is the short-term procedure required for success. Long term we need to resolve the Wyam/worktree conflicts and script this as part of deploy/build cake task
- Open PowerShell
- Change to your MatterControl-Help repository
cd \source\mh-help
- Delete the
output
directory - Remove the worktree
git worktree prune
- Remove the local gh-pages branch
git branch -D gh-pages
- Fetch
git fetch --all
- Pull the latest content from the master branch
git pull upstream master
- Build Wyam
wyam build
- Rename the output directory
mv output output_
- Map output directory to gh-pages worktree
git worktree add output gh-pages
- Delete existing content (except for the
.git
file) in theoutput
worktree - Copy the build output into the worktree
cp output_ output
- Create commit
cd output; git add --all; git commit -m "Latest docs"
- Push the content to your local repo and issue a new pull request
git push
Edit config.wyam to customize TOC generation