Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-doc-tools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-25#300 removing some now-unneeded files from testsJoel Martinez
2016-10-08Merge pull request #2377 from joelmartinez/docs-multiassembly-extension-fixJonathan Pryor
[mdoc] Extension method crash fix, removes -multiassembly
2016-10-08Merge pull request #2333 from joelmartinez/docs-classic-fixJonathan Pryor
[mdoc] Added -api-style parameter.
2016-10-08[mdoc] Follow up fix for member and type removal.Joel Martinez
In supplement of the changes submitted in 09b97cba2e7c2d9c68830d55ff3d99c5f36eb439, there were some additional edge cases that were not originally considered, and so this patch resolves these additional issues. In particular, there was a bug in the `RemoveApiStyle` method that wasn't checking the value of the `apistyle` attribute before removing it. This caused members to be stripped of apistyle inadvertently. There was an issue in the type removal code that caused too many files to be removed. This patch adds additional checks to make sure that a file isn't going to be removed if it contains members in the other style that shoulnd't be removed Finally, there was an issue that arose after the aforementioned changes in the `OrderTypeAttributes` method. It was somewhat counterintuitive, but it wasn't allowing the reordering of attributes with the `.Remove` method (throwing an exception). Not entirely sure why this was happening, but using the `.RemoveNamedItem` method worked around the issue.
2016-10-08[mdoc] Fixes an issue with member and type deletion.Joel Martinez
Specifically, when updating classic and unified assemblies, members that were completely removed from one or both assemblies were not being removed from the XML. This patch updates mdoc's `DeleteMember` method to properly handle deletion in all scenarios (normal, classic, unified). Of course, deletion will still not happen if one of two things is true: - `--delete` is *not* passed into the `mdoc update` call and the member node contains existing documentation. - `--preserve` *is* passed into the `mdoc update` invocation. In both of those cases, the member will not be deleted, and a message stating as such will be written as a warning to the output.