DefaultDocumentation 0.7.0 breaking changes #43
Closed
Doraku
started this conversation in
Show and tell
Replies: 1 comment 4 replies
-
Hi, really want to use the tool but cant seem to be able to set up the properties or as shown in the MS Buildtask docu. I am using Visual Studio 2019. Where can I add these properties ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure if anyone is going to read this but eh, pretty big update with a complete refactoring of the markdown generation. The main goal was to centralize the template in one place, completely splitting the model from the writer, in an effort to make appear a way to handle custom page generation. It's not there yet but it's much easier to see what is going on now.
The second goal was to ease adding new configuration features if needed instead of doing some awkward manual parsing.
This opened the way to expose DefaultDocumentation as a dotnet tool package which can interest some people who wants more control on when to generate the documentation.
Breaking changes
This is due to a pretty bad choice on my part at the beginning of DefaultDocumentation, handling space and special characters differently when generating file names. While file name will change slightly, I think it's better to have a uniform replace by a single character which can be override by configuration.
This should actually not be a breaking change and something better! Before there was some condition shenanigan to either use the netframework or the netcore runtime to run the tool. As it is exposed as a netstandard2.0 msbuild task it should now run almost everywhere whatever the runtime you have installed on your machine/ci.
This is just to follow guidelines for flags enums and make more sens
While this feature was added specifically for documentation hosted as wiki, I think its name should be more explicit, and since I am doing many breaking changes already, might as well do everything that bothers me now and be done with it
Again with the big refactoring came a lot of feature, like the possibility to configure which pages will be generated. It made more sens to call the main page the assembly than the home
I tried my best to check that the generated documentation is exactly the same as the one generated by the previous version, hopefully I haven't missed much but if you see something weird once the new version is available, please don't hesitate to notify me :)
New features coming
I will redo the readme soon to expose some of the new features. I still want to finally add attribute informations (#8) to the documentation before creating the release so not sure when it will be available. In the meantime the preview version is already available.
Beta Was this translation helpful? Give feedback.
All reactions