FransBouma / DocNet

Your friendly static documentation generator, using markdown files to build the content.
http://fransbouma.github.io/DocNet/
248 stars 36 forks source link

Add UrlFormatting (defaults to None which is current behavior) #75

Closed GeertvanHorrik closed 7 years ago

GeertvanHorrik commented 7 years ago

Fixes #66

There are 3 modes:

  1. None (default & current behavior)
  2. Strip (replaces all special characters by string.Empty)
  3. Dashes (replaces all special characters by "-")

Thanks for this feature, it's possible to auto-generate API with nice-looking urls like this:

/reference/catel-core/catel-some-namespace/typename/index.htm (mode == Dashes)

instead of

/reference/Catel.Core/Catel.Some.Namespace/TypeName/index.htm (mode == None)

FransBouma commented 7 years ago

I've corrected some small layout issues in the code, nothing functionality wise.