Warn of files with no title #49
Annotations
10 errors and 1 warning
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L31
Expected Collector.Warnings to be 1, but found 2.
|
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L36
Expected Collector.Diagnostics to contain 1 item(s), but found 2:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = 1,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = 12,
Line = 1,
Message = "Directive block 'bibliography' is unsupported. See https://github.com/elastic/docs-builder/issues/5 for more information.",
Severity = Severity.Warning {value: 1}
},
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L31
Expected Collector.Warnings to be 1, but found 2.
|
build:
tests/Elastic.Markdown.Tests/Inline/DirectiveBlockLinkTests.cs#L76
Expected Collector.Diagnostics to contain 0 item(s), but found 1:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
build:
tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L109
Expected Collector.Diagnostics to contain 1 item(s), but found 2:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = 0,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = 13,
Line = 5,
Message = "`hello-world2` does not exist in index.md.",
Severity = Severity.Error {value: 0}
},
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
build:
tests/Elastic.Markdown.Tests/Inline/AnchorLinkTests.cs#L127
Expected Collector.Diagnostics to contain 1 item(s), but found 2:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = 0,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = 51,
Line = 5,
Message = "`sub-requirements2` does not exist in req.md.",
Severity = Severity.Error {value: 0}
},
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L31
Expected Collector.Warnings to be 1, but found 2.
|
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L36
Expected Collector.Diagnostics to contain 1 item(s), but found 2:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = 1,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = 8,
Line = 1,
Message = "Directive block 'solution' is unsupported. See https://github.com/elastic/docs-builder/issues/31 for more information.",
Severity = Severity.Warning {value: 1}
},
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L36
Expected Collector.Diagnostics to contain 1 item(s), but found 2:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = 1,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = 10,
Line = 1,
Message = "Directive block 'blockquote' is unsupported. See https://github.com/elastic/docs-builder/issues/6 for more information.",
Severity = Severity.Warning {value: 1}
},
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
build:
tests/Elastic.Markdown.Tests/Directives/UnsupportedTests.cs#L36
Expected Collector.Diagnostics to contain 1 item(s), but found 2:
{
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = 1,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = 9,
Line = 1,
Message = "Directive block 'csv-table' is unsupported. See https://github.com/elastic/docs-builder/issues/9 for more information.",
Severity = Severity.Warning {value: 1}
},
Elastic.Markdown.Diagnostics.Diagnostic
{
Column = <null>,
File = "/home/runner/work/docs-builder/docs-builder/docs/source/index.md",
Length = <null>,
Line = <null>,
Message = "Missing yaml front-matter block defining a title or a level 1 header",
Severity = Severity.Warning {value: 1}
}
}.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading