我希望能够使用C# XML文档注释创建一个文档网站。
Python社区的一个例子。这个Scipy文档是使用一个名为Sphinx的工具从这个Python代码创建的。
对于C#项目是否有类似的东西可行?
在.NET项目中,XML文档注释的示例(不是我的),链接如下:https://github.com/haf/NodaTime/blob/master/src/NodaTime/Period.cs#L26
编辑:我在其他问题中找到的建议是“使用Sandcastle”。从其(具有讽刺意味的有限)文档中可以看出,它只能创建Windows帮助文件(
Python社区的一个例子。这个Scipy文档是使用一个名为Sphinx的工具从这个Python代码创建的。
对于C#项目是否有类似的东西可行?
在.NET项目中,XML文档注释的示例(不是我的),链接如下:https://github.com/haf/NodaTime/blob/master/src/NodaTime/Period.cs#L26
/// <summary>
/// Represents a period of time expressed in human chronological terms: hours, days,
/// weeks, months and so on. All implementations in Noda Time are immutable, and return fields
/// in descending size order: hours before minutes, for example.
/// </summary>
public sealed class Period : IEnumerable<DurationFieldValue>, IEquatable<Period>
编辑:我在其他问题中找到的建议是“使用Sandcastle”。从其(具有讽刺意味的有限)文档中可以看出,它只能创建Windows帮助文件(
.chm
)。这是正确的吗?