In order to contribute, all you need is a GitHub account! Fork the docs repository, add or edit a page, and make a pull request. We will merge in your changes or ask for changes.
Include the following code at the top of your page:
--- layout: default title: How to help ---
The title variable will be the title of your page.
Navigation is only semi-automated - each section’s navigation tree is stored in an individual .html file inside _includes
folder in the top level directory.
To add a navigation tree to a particular page, add a category to your page frontmatter:
--- layout: default title: How to help catgory: mvc ---
Have a look in _layouts\default.html
to see which category displays which navigation tree.
_includes
, construct your tree, and edit the logic in _layouts\default.html
to display the tree when the context page has a certain category set. Make sure it hasn’t already been used!When you are inserting links or images, use /docs
instead of sitecore-community.github.io/docs
- this ensures that the links will still work of the base URL changes.