Skip to content

Commit 28fc3d7

Browse files
authored
Fix more links (#2520)
2 parents a766b79 + 36c41e5 commit 28fc3d7

File tree

6 files changed

+14
-45
lines changed

6 files changed

+14
-45
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ jobs:
128128
"Preview" {
129129
$Ring = "Preview";
130130
$WingetApplicationId = "nkdagility.azure-devops-migration-tools.Preview";
131-
$docs_deploy_folder = "./azure-devops-migration-tools/preview/";
132-
$docs_baseURL = "/learn/azure-devops-migration-tools/preview"
133-
$docs_baseURL_AFD = ""
131+
$docs_deploy_folder = "./azure-devops-migration-tools/";
132+
$docs_baseURL = "/learn/azure-devops-migration-tools"
133+
$docs_baseURL_AFD = "/learn/azure-devops-migration-tools"
134134
$AzureSitesEnvironment = "preview";
135135
$RunRelease = ( ('${{ inputs.ForceRelease }}' -eq 'true' ) -or ('${{ steps.filter.outputs.src }}' -eq 'true') -or ('${{ steps.filter.outputs.docs }}' -eq 'true') )
136136
}
@@ -388,17 +388,6 @@ jobs:
388388
- uses: igsekor/[email protected]
389389
id: spellcheck
390390
name: Spellcheck
391-
- name: Build with Jekyll
392-
# Outputs to the './_site' directory by default
393-
run: bundle exec jekyll build --baseurl "${{needs.Setup.outputs.nkdAgility_DocsBaseURL}}"
394-
env:
395-
JEKYLL_ENV: production
396-
# - name: Build Jekyll
397-
# uses: jerryjvl/jekyll-build-action@v1
398-
- uses: actions/upload-artifact@v4
399-
with:
400-
name: AzureDevOpsMigrationTools-Site
401-
path: ./_site/**/*
402391
- name: Build with Jekyll 2
403392
# Outputs to the './_site' directory by default
404393
run: bundle exec jekyll build --destination ./_site2/ --baseurl "${{needs.Setup.outputs.nkdAgility_DocsBaseURL_AFD}}"
@@ -585,38 +574,18 @@ jobs:
585574
- name: Download a single artifact
586575
uses: actions/download-artifact@v4
587576
with:
588-
name: AzureDevOpsMigrationTools-Site
589-
path: ./_site
577+
name: AzureDevOpsMigrationTools-Site2
578+
path: ./_site2
590579
- name: "Find files"
591580
shell: pwsh
592581
run: |
593582
Get-Item -Path .\
594-
- name: SFTP Upload ${{ (needs.Setup.outputs.nkdAgility_Ring) }}
595-
uses: Dylan700/sftp-upload-action@latest
596-
with:
597-
server: nakedalmweb.sftp.wpengine.com
598-
username: nakedalmweb-learn
599-
password: ${{ secrets.NKDAGILITY_LEARN_SFTP }}
600-
port: 2222
601-
# If true, outputs the results of the upload, without actually uploading.
602-
#dry-run: ${{ (needs.Setup.outputs.nkdAgility_Ring) == 'Canary' }}
603-
# A list of folders to upload in the format of `folder/ => upload_folder/`
604-
uploads: |
605-
./_site/ => ${{needs.Setup.outputs.nkdAgility_DocsDeployFolder}}
606-
# If true, any existing files in the remote upload directories are deleted.
607-
delete: false
608-
609583
- uses: actions/create-github-app-token@v1
610584
id: app-token
611585
with:
612586
app-id: ${{ secrets.NKDAGILITY_BOT_APP_ID }}
613587
private-key: ${{ secrets.NKDAGILITY_BOT_CLIENTSECRET }}
614588

615-
- name: Download a single artifact
616-
uses: actions/download-artifact@v4
617-
with:
618-
name: AzureDevOpsMigrationTools-Site2
619-
path: ./_site2
620589
- name: Build and Deploy
621590
uses: Azure/static-web-apps-deploy@v1
622591
id: azureDeploy

docs/_includes/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<div class="d-flex w-100 justify-content-between">
3232
<div class="d-flex">
3333
<a class="navbar-brand" href="#">
34-
<img src="https://nkdagility.com/wp-content/uploads/2020/11/nkdagility-with-martin-hinshelwood-light.png" alt="Naked Agility Ltd" width="234" height="99">
34+
<img src="/images/nkdagility-with-martin-hinshelwood-light.png" alt="Naked Agility Ltd" width="234" height="99">
3535
</a>
3636
</div>
3737
<div class="d-flex text-uppercase align-items-center">
@@ -56,7 +56,7 @@ <h2>v#{GitVersion.SemVer}#</h2>
5656
<div class="col-lg-6 col-md-12">
5757
<p class="lead">{{site.description}}</p>
5858
<div class="d-grid gap-2 d-md-flex justify-content-md-end">
59-
<a class="btn btn-nkdprimary" role="button" href="https://nkdagility.com/capabilities/azure-devops-migration-services/">Azure DevOps Migration Services</a>
59+
<a class="btn btn-nkdprimary" role="button" href="{{site.parent_url}}/capabilities/azure-devops-migration-services/">Azure DevOps Migration Services</a>
6060
</div>
6161
</div>
6262
</div>

docs/_includes/sidebar.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<li><a href="{{site.baseurl}}/setup/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">Overview</a></li>
99
<li><a href="{{site.baseurl}}/setup/installation/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">Installation</a></li>
1010
<li><a href="{{site.baseurl}}/setup/permissions/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">Permissions</a></li>
11-
<li><a href="{{site.baseurl}}/setup/reflectedworkItemid/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">ReflectedWorkItemId</a></li>
11+
<li><a href="{{site.baseurl}}/setup/reflectedworkitemid/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">ReflectedWorkItemId</a></li>
1212
</ul>
1313
</li>
1414
<li><hr /></li>
1515
<li class="mb-1">
1616
<strong class="bd-links-heading d-flex w-100 align-items-center fw-semibold">Getting Started</strong>
1717
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1 small ps-2">
18-
<li><a href="{{site.baseurl}}/getting-started/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">Overview</a></li>
18+
<li><a href="{{site.baseurl}}/getstarted/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">Overview</a></li>
1919
<li><a href="{{site.baseurl}}/version-control/" class="link-body-emphasis d-inline-flex text-decoration-none rounded">Version Control</a></li>
2020
</ul>
2121
</li>

docs/_layouts/default.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</div>
5959
<div class="p-2 flex-fill d-none d-xl-block" style="min-width: 15vw;max-width: 20vw;">
6060
<div class="card mb-3">
61-
<img src="{{ site.baseurl }}/assets/images/Azure-DevOps-Migration-Tools-GithubSocial-Image.jpg" class="card-img-top" alt="...">
61+
<img src="{{site.baseurl}}/assets/images/Azure-DevOps-Migration-Tools-GithubSocial-Image.jpg" class="card-img-top" alt="...">
6262
<div class="card-body">
6363
<ul class="list-group list-group-flush">
6464
<li class="list-group-item d-flex justify-content-center align-items-center">
@@ -80,12 +80,11 @@
8080
<ul class="list-group">
8181
<li class="list-group-item">
8282
<i class="fas fa-question-circle"></i>
83-
<a href="{{site.baseurl}}" class="ml-2" target="_blank">v#{GitVersion.SemVer}#</a> (latest)
83+
<a href="https://nkdagility.com/learn/azure-devops-migration-tools{{page.url}}" class="ml-2" target="_blank">Release</a> (<a href="https://blue-river-093197403.5.azurestaticapps.net/{{page.url}}" rel="nofollow noindex" class="ml-2" target="_blank">without AFD</a>)
8484
</li>
8585
<li class="list-group-item">
8686
<i class="fab fa-twitter"></i>
87-
<a href="{{site.baseurl}}/docs/v15.2.0" class="ml-2" target="_blank">v15.2.0</a> (unsupported)
88-
</li>
87+
<a href="https://preview.nkdagility.com/learn/azure-devops-migration-tools{{page.url}}" rel="nofollow noindex" class="ml-2" target="_blank">Preview</a> (<a href="https://blue-river-093197403-preview.westeurope.5.azurestaticapps.net{{page.url}}" rel="nofollow noindex" class="ml-2" target="_blank">without AFD</a>)</li>
8988
</ul>
9089
</li>
9190
</ul>

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ For the most part we support moving data between `((Azure DevOps Server | Team F
5454

5555
- [Installation](/setup/installation.md)
5656
- [Permissions](/setup/permissions.md)
57-
- [Getting Started](/getting-started/index.md)
57+
- [Getting Started](/getstarted/)
5858
- [Configuration Reference](./Reference/)
5959
- [FAQ](faq.md)
6060
- [Support](support.md)

docs/setup/reflectedworkitemid.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ pageType: index
55
pageStatus: published
66
redirect_from:
77
- /Reference/ReflectedWorkItemId/
8+
- /server-configuration/
89
---
910

1011
The Azure DevOps migrations Tools has no internal state, and uses a field on the work item to track the migration of work items. This field is always referd to in the docs as `ReflectedWorkItemId` and is used to track the work item in the target. It enables the ability to resume migrations as well as to be able to scope the work items based on a query and have multiple runs overlap.

0 commit comments

Comments
 (0)