Skip to content

Commit bb11d3a

Browse files
authored
Docs Update (#41)
* Updated superscript for docs as DOCFX doesn't support the common markdown extension for it. * Removed unused markdown file * Updated template readme for clarity. * Updated doc comments for `DateTimeExtensions.ToBuildIndex` for clarity Co-authored-by: smaillet <[email protected]>
1 parent eca4234 commit bb11d3a

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

docfx/build-tasks/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ section of this document.
239239
| CSM103 | PreReleaseName is unknown |
240240
| CSM104 | PreReleaseNumber value must be in range [0-99] |
241241
| CSM105 | PreReleaseFix value must be in range [0-99] |
242-
| CSM106^1^ | If CiBuildIndex is set then CiBuildName must also be set; If CiBuildIndex is NOT set then CiBuildName must not be set. |
242+
| CSM106<sup>1</sup> | If CiBuildIndex is set then CiBuildName must also be set; If CiBuildIndex is NOT set then CiBuildName must not be set. |
243243
| CSM107 | CiBuildIndex does not match syntax defined by CSemVer |
244244
| CSM108 | CiBuildName does not match syntax defined by CSemVer |
245245

@@ -253,7 +253,7 @@ section of this document.
253253
| CSM204 | XML format of file specified by `$(BuildVersionXml)' is invalid |
254254

255255
----
256-
^1^ CSM106 is essentially an internal sanity test. The props/targets files ensure that
256+
<sup>1</sup> CSM106 is essentially an internal sanity test. The props/targets files ensure that
257257
`$(CiBuildIndex)` and `$(CiBuildName)` have a value unless $(IsReleaseBuild) is set. In that case
258258
the targets file will force them to empty. So, there's no way to test for or hit this condition
259259
without completely replacing/bypassing the props/targets files for the task. Which is obviously,

docfx/documentation.msbuildproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<!--Everything in the versioning-lib sub-folder except the API folder as that contains generated files -->
1818
<None Include="versioning-lib/**" Exclude="versioning-lib/api/**" />
1919
<!-- Explicitly call out the non-generated files in the API folder-->
20-
<None Include="versioning-lib/api/index.md" />
2120
<None Include="versioning-lib/api/.gitignore" />
2221
</ItemGroup>
2322
<ItemGroup>

docfx/templates/Ubiquity/readme.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Ubiquity DOCFX template
2-
This template adds support to the modern template to disable some features like inherited members. It
3-
would be nice if docfx didn't even generate such things, but it has non knobs to control that so it can
4-
only be disabled by a custom CSS to hide the content at page render time on the client...
2+
This template adds support to the modern template to disable some features like inherited
3+
members. It would be nice if docfx didn't even generate such things, but it has no knobs to
4+
control that so it can only be disabled by a custom CSS to hide the content at page render
5+
time on the client...

docfx/versioning-lib/api/index.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/Ubiquity.NET.Versioning/DateTimeExtensions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ public static class DateTimeExtensions
2222
/// Since the resulting build index is based on the number of seconds since midnight and needs
2323
/// to fit in a limited string output. There is a narrow window of 2 seconds where two distinct
2424
/// builds (Local or PR) might generate the same matching build number. However, since this number
25-
/// is only used for local builds that's not realistically a problem. (Automated builds use the
26-
/// commit hash of the repo as the build index)
25+
/// is normally only used for local builds that's not realistically a problem. (Automated builds
26+
/// usually use the time stamp of the HEAD commit of the repo as the build index)
2727
/// </remarks>
2828
public static string ToBuildIndex( this DateTime timeStamp )
2929
{

0 commit comments

Comments
 (0)