Documentation Guidelines¶
When writing documentation for the Suite, there are some things to take into account.
As a general rule, use VSCode for editing the documentation file and make sure you have set it up properly since we have some linting extensions and stuff.
Running the documentation site¶
You can run a local copy of the site by:
And then browsing to http://localhost:8080
, the site will auto update when you
make any changes.
Warning
When performing changes, take a look at the output for any errors or warnings.
Naming files¶
- All documentation files should be markdown
.md
- File name must be a short version of its title.
- File name should not contain any prefix. (refactors are still pending)
Assets¶
- Pictures and other assets may be added into an
assets
directory next to the documentation file that uses it. - When adding pictures, please run them through TinyPng for compression.
- If the asset was created by you, like a draw.io chart, please upload the source next to the asset as well.
- PNG images with transparent background are recommended when possible.
References¶
- When referencing assets or other doc files next to the documentation file,
use relatives paths. i.e:
assets/image.jpg
,my-other-doc-file.md
. - When referencing assets or other doc files at a different level, using
absolute paths is recommended. i.e
/dotnet/modules/localization
. - When using absolute paths
.md
format is not used. - References to headers within an article are possible, i.e
- Given a
test.md
file with a## My Header Is This
one may use this linktest.md#my-header-is-this
.
- Given a
Markdown¶
- Use the ` character only for inline code, filenames, network addresses, etc.
- Do not use the ` character for titles, primary names, words, or library names (not package ids), etc.
.NET Namings¶
- Use the term .NET for referring to .NET Core or .NET 5.
- Use the term .NET Framework for referring to .NET Framework.
- Use the term ASP.NET Core for referring to the latest ASP.NET version.
- Use the term ASP.NET for referring to .NET Framework's one.