statiqdev / Statiq.Docs

A static documentation site generator.
https://statiq.dev/docs
Other
53 stars 8 forks source link

API documentation writes Object in upper case instead of using the lowercase keyword #17

Open SilentSin opened 5 years ago

SilentSin commented 5 years ago

Other types like float use their lowercase keywords instead of the actual type name System.Single but object doesn't.

daveaglick commented 5 years ago

Totally agree - we should be using the language type object

SilentSin commented 5 years ago

Is this done by a simple function somewhere that just takes a Type and returns a string for it or is there something more complicated involved?

If it is just a function, I'd be happy to share the one I use when procedurally generating scripts based on reflection.

It would probably help with https://github.com/Wyamio/Wyam/issues/737 as well.