Skip to content

Commit 8e2bfef

Browse files
committed
adding other pages so github can render them
1 parent 1ac24ea commit 8e2bfef

File tree

3 files changed

+104
-0
lines changed

3 files changed

+104
-0
lines changed

Build-Task.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Using Azure DevOps WikiPDFExport as build task is straightforward.
2+
3+
1. Create a new build definition
4+
1. Git Source is "Other Git"
5+
1. 1. Add the clone url to the wiki to the details and username / password if required
6+
1. Ensure that the agent is a windows agent
7+
1. Add a powershell task with the following code:
8+
9+
```
10+
#Download url to the export tool
11+
$url = "https://dev.azure.com/mmelcher/8036eca1-fd9e-4c0f-8bef-646b32fbda0b/_apis/git/repositories/e08d1ada-7794-4b89-a3ea-cb64a26683c3/Items?path=%2Fazuredevops-export-wiki.exe&versionDescriptor%5BversionOptions%5D=0&versionDescriptor%5BversionType%5D=0&versionDescriptor%5Bversion%5D=master&download=true&resolveLfs=true&%24format=octetStream&api-version=5.0-preview.1"
12+
13+
#filename of the tool
14+
$output = "azuredevops-export-wiki.exe"
15+
16+
#download the file
17+
Invoke-WebRequest -Uri $url -OutFile $output
18+
19+
#launch the tool - adjust the parameters if required
20+
./azuredevops-export-wiki.exe
21+
```
22+
23+
5. Add a second task to publish the PDF as build artifact.
24+
25+
Once the build succeeds, you can download the PDF file from the build page or use it in a release.
26+
27+
## Pictures
28+
29+
### Windows Agent
30+
![Windows Agent](../images/WindowsAgent.png)
31+
32+
### PowerShell Task
33+
![PowerShell Task](../images/PowershellTask.png)
34+
35+
### Publish Task
36+
![Publish Task](../images/PublishTask.png)

License.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2019 Max Melcher
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

TEST%2DPAGE.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
---
2+
tags:
3+
- test
4+
- page
5+
- yaml
6+
title: Test Page
7+
---
8+
9+
The following are tests for the export page
10+
11+
## Copy & Paste Picture
12+
![image.png](/.attachments/image-3f1c5596-b870-4001-812f-fb27cab47dd8.png)
13+
14+
## Table of Contents
15+
[[_TOC_]]
16+
17+
## Video
18+
::: video
19+
<iframe width="1280" height="720" src="https://www.youtube.com/embed/Yatxhg2eEOc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
20+
:::
21+
22+
## Table Test
23+
24+
|a | b |
25+
|-- | - |
26+
|0 | 1 |
27+
28+
29+
## Formular
30+
$e=mc^2$
31+
32+
## Mention
33+
@<7C0C20F7-3AB6-6232-8E80-E35152712AF5>
34+
35+
##Malformed header (no space!)
36+
37+
## Lists
38+
- 1 Entry
39+
- 2 Entry
40+
- 3 Entry
41+
42+
## Formats
43+
**bold**
44+
_italic_
45+
[link](https://microsoft.com)
46+
`code`
47+

0 commit comments

Comments
 (0)