Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ dotnet docfx docfx.json --serve # http://localhost:8080
| Guides, CI setup, concepts | this repo | written here |
| Exit codes, release verification, command reference, rule pages, `.xping.yml` reference | `xping-dev/xping` (`docs/reference/`) | `scripts/import-reference.sh <tag>`, never edited here |
| `session.schema.json`, `history.schema.json` | `xping-dev/xping` (`schema/`) | same script, published under `/schema/` |
| SDK guides | moved from `xping-dev/sdk-dotnet` (`docs/`) | one-time move, see the migration plan in xping-dev/xping |
| SDK guides (`sdk/`) | moved from `xping-dev/sdk-dotnet@dc64c02` (`docs/`) | edited here from now on. The Cloud and 1.0.0-rc CLI parts carry notes until the SDK drops them. |

Pages generated from code are imported at the release tag in `xping-version.txt`, so the site always describes a released version. Bump the file to publish docs for a new release. Until the first release (`v2.0.0-alpha.1`) it names `main`.

## Old URLs

docs.xping.io used to serve the SDK site from xping-dev/sdk-dotnet. The paths released packages
link (for example `/getting-started/quickstart-nunit.html`, `/configuration/configuration-reference.html`,
`/known-limitations.html`, `/cli/command-reference.html`, `/api/...`) are redirect pages
(`redirect_url` front matter) at their old locations. Keep them.

3 changes: 3 additions & 0 deletions api/Xping.Sdk.Core.Collection.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions api/Xping.Sdk.Core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions cli/cloud-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../index.html
---
3 changes: 3 additions & 0 deletions cli/command-reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../index.html
---
3 changes: 3 additions & 0 deletions cli/reading-the-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../index.html
---
3 changes: 3 additions & 0 deletions cloud/confidence-scores.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions cloud/connect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions cloud/plans-and-retention.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions cloud/read-api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions cloud/reading-the-pr-comment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions cloud/session-reliability-score.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/index.html
---
3 changes: 3 additions & 0 deletions configuration/collected-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/configuration/collected-data.html
---
3 changes: 3 additions & 0 deletions configuration/configuration-reference.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/configuration/configuration-reference.html
---
3 changes: 3 additions & 0 deletions configuration/local-store.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/configuration/local-store.html
---
37 changes: 32 additions & 5 deletions docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,48 @@
"$schema": "https://raw.githubusercontent.com/dotnet/docfx/main/schemas/docfx.schema.json",
"build": {
"content": [
{ "files": ["**/*.{md,yml}"], "exclude": ["_site/**", "README.md", "obj/**", ".github/**", "scripts/**"] }
{
"files": [
"**/*.{md,yml}"
],
"exclude": [
"_site/**",
"README.md",
"obj/**",
".github/**",
"scripts/**"
]
}
],
"resource": [
{ "files": ["media/**", "schema/**"] }
{
"files": [
"media/**",
"schema/**",
"public/**"
]
}
],
"output": "_site",
"template": ["default", "modern"],
"template": [
"default",
"modern"
],
"globalMetadata": {
"_appName": "Xping",
"_appTitle": "Xping",
"_appFooter": "MIT licensed. Source: <a href=\"https://github.com/xping-dev/docs\">xping-dev/docs</a>",
"_enableSearch": true,
"_disableContribution": false,
"_gitContribute": { "repo": "https://github.com/xping-dev/docs", "branch": "main" }
"_gitContribute": {
"repo": "https://github.com/xping-dev/docs",
"branch": "main"
},
"_appLogoPath": "media/logo.svg",
"_appFaviconPath": "media/favicon.ico"
},
"sitemap": { "baseUrl": "https://docs.xping.io" }
"sitemap": {
"baseUrl": "https://docs.xping.io"
}
}
}
3 changes: 3 additions & 0 deletions flaky-tests/finding-flaky-tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../index.html
---
3 changes: 3 additions & 0 deletions flaky-tests/patterns-and-fixes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../index.html
---
3 changes: 3 additions & 0 deletions getting-started/ci-cd-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/getting-started/ci-cd-setup.html
---
3 changes: 3 additions & 0 deletions getting-started/local-first.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/getting-started/local-first.html
---
3 changes: 3 additions & 0 deletions getting-started/quickstart-mstest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/getting-started/quickstart-mstest.html
---
3 changes: 3 additions & 0 deletions getting-started/quickstart-nunit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/getting-started/quickstart-nunit.html
---
3 changes: 3 additions & 0 deletions getting-started/quickstart-xunit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/getting-started/quickstart-xunit.html
---
3 changes: 3 additions & 0 deletions guides/working-with-tests/common-flaky-patterns.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../../index.html
---
3 changes: 3 additions & 0 deletions known-limitations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: sdk/troubleshooting/known-limitations.html
---
Binary file added media/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions media/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions performance/performance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
redirect_url: ../sdk/performance/performance.html
---
7 changes: 7 additions & 0 deletions public/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/* Xping SDK Documentation Custom Styles */

/* Target logo by ID (DocFX modern template) */
#logo {
height: 32px !important;
width: auto !important;
}
Loading