MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Documentation should include code samples of how to use properties and methods

Open danielescudero opened this issue 7 years ago • 2 comments

Documentation (https://microsoft.github.io/MixedRealityToolkit-Unity/api) should include code examples, just like the Unity ScriptingReference.

Many times developers are looking for code snippets to accomplish a task. Properties and methods should always include a small snippet of code showing how to use them and when.

Great example below:

unity

danielescudero avatar May 30 '19 21:05 danielescudero

We may be able to use the example tag for this: https://dotnet.github.io/docfx/spec/triple_slash_comments_spec.html#top-level-block-tags

keveleigh avatar May 31 '19 21:05 keveleigh

Documentation is being pushed to have code examples everywhere: #5699 and #5701 and #5633 as examples.

Closing this as too general. There are already a lot of documentation issues covering specific areas. If there is a specific page, please reference but many are already under way

Troy-Ferrell avatar Aug 19 '19 16:08 Troy-Ferrell