Skip to content

Commit bbccb19

Browse files
committed
remove optional xml prologue from docs
1 parent a7f24c0 commit bbccb19

3 files changed

Lines changed: 1 addition & 16 deletions

File tree

docs/artifact-configuration/examples.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@ datasource: tables/artifact-configuration
99

1010
## Syntax
1111

12-
{:.panel.info}
13-
> **Examples are shortened**
14-
>
15-
> For the sake of clarity, all examples omit the XML prolog. A complete artifact configuration looks like this:
16-
>
17-
> ~~~ xml
18-
> <?xml version="1.0" encoding="utf-8" ?>
19-
> <artifact-configuration xmlns="http://signpath.io/artifact-configuration/v1">
20-
> <!-- ... -->
21-
> </artifact-configuration>
22-
> ~~~
23-
2412
## Basic examples
2513

2614
### Predefined configuration for single Portable Executable file

docs/artifact-configuration/syntax.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Artifact configurations are XML files with the schema `http://signpath.io/artifa
1414
They contain exactly one file element representing the artifact.
1515

1616
~~~ xml
17-
<?xml version="1.0" encoding="utf-8" ?>
1817
<artifact-configuration xmlns="http://signpath.io/artifact-configuration/v1">
1918
<root-file-element>
2019
...
@@ -28,7 +27,6 @@ They contain exactly one file element representing the artifact.
2827
> If autocomplete does not work in your schema-aware editor, try adding the `xsi:schemaLocation` attribute to the root element.
2928
>
3029
> ~~~xml
31-
> <?xml version="1.0" encoding="utf-8"?>
3230
> <artifact-configuration
3331
> xmlns="http://signpath.io/artifact-configuration/v1"
3432
> xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
@@ -39,7 +37,7 @@ They contain exactly one file element representing the artifact.
3937
4038
## Basic artifact structure {#structure}
4139

42-
**Note: The following example fragments show only the root file element.** XML prologue and `<artifact configuration>` element are omitted for clarity.
40+
**Note: The following example fragments show only the root file element.** The `<artifact configuration>` element is omitted for clarity.
4341

4442
Several [element types](reference#file-elements) are available of various supported file types.
4543

docs/trusted-build-systems/azure-devops.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ description: Azure DevOps
1111
* In SignPath: [Use the predefined Trusted Build System](/trusted-build-systems#configuration) _Azure DevOps (dev.azure.com)_.
1212
* Create an artifact configuration with the following format:
1313
```xml
14-
<?xml version="1.0" encoding="utf-8" ?>
1514
<artifact-configuration xmlns="http://signpath.io/artifact-configuration/v1">
1615
<zip-file>
1716
<directory path="*">

0 commit comments

Comments
 (0)