Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Sort documentation items when merging TOCs and namespaces.#273

Merged
cgranade merged 2 commits intomasterfrom
cgranade/sort-docgen
Dec 28, 2019
Merged

Sort documentation items when merging TOCs and namespaces.#273
cgranade merged 2 commits intomasterfrom
cgranade/sort-docgen

Conversation

@cgranade
Copy link
Contributor

No description provided.

@cgranade cgranade requested a review from bettinaheim December 27, 2019 03:31
@cgranade cgranade marked this pull request as ready for review December 27, 2019 18:42
/// <param name="ns">The namespace to be represented</param>
/// <param name="sourceFiles">If specified, only the items in the specified source files are included.</param>
internal DocNamespace(QsNamespace ns, IEnumerable<string> sourceFiles = null)
internal DocNamespace(QsNamespace ns, IEnumerable<string>? sourceFiles = null)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IEnumerables are nullable anyway - why the additional nullable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added #nullable enable at the top since YamlDotNet now uses that new C# 8 feature. That makes references non-nullable by default (though violations are warnings rather than errors)

@cgranade
Copy link
Contributor Author

Thanks for looking over, @bettinaheim!

@cgranade cgranade merged commit e110399 into master Dec 28, 2019
@cgranade cgranade deleted the cgranade/sort-docgen branch January 29, 2020 01:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants