You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: validate docs on PR and only deploy Pages on release (#570)
* ci: validate docs on PR and only deploy Pages on release
- build-docs.yml: add a pull_request trigger (and keep push to main, for
parity) that runs a new 'validate' job — a strict mkdocs build to catch
broken internal links/anchors/nav entries, plus lychee to catch dead
external links. Never deploys.
- Gate the 'deploy' job to release: published (or a manual dispatch against
a release tag), matching the build-library.yml/build-template.yml
convention, instead of deploying on every push to main.
- Move the Pages-specific permissions/concurrency group and the
configure-pages step to the 'deploy' job only, so PR/push validation runs
are unaffected and don't need pages:write.
- Fix the broken links/anchors surfaced by the new checks: a stale
self-referential anchor link, two dead GitHub file/profile links, a
removed test-only MySQL doc link, a moved Azure Cosmos DB for MongoDB
doc URL, an old Auth0 quickstart URL, and a URL missing a '/'.
Closes#562
* ci: exclude dotnet.microsoft.com from link check (bot-blocked from CI IPs)
The live pull_request run on PR #570 showed dotnet.microsoft.com returning
403 to the GitHub-hosted runner (same class of CDN/WAF bot-blocking as the
already-excluded dev.mysql.com and developers.facebook.com); the link is
live (302) from a normal client.
---------
Co-authored-by: ahall <ahall@cloudflare.com>
Copy file name to clipboardExpand all lines: docs/in-depth/client/advanced/maui-aot.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ When using [Native AOT with .NET MAUI](https://learn.microsoft.com/dotnet/maui/d
9
9
The following are basic instructions on how to fulfill these requirements. However, you should consult the official documentation (linked above) for each requirement.
10
10
11
11
!!! info
12
-
Thanks to [Richard Perry](https://github.com/richard-einfinity) for providing the detailed instructions for enabling Native AOT support.
12
+
Thanks to Richard Perry for providing the detailed instructions for enabling Native AOT support.
Copy file name to clipboardExpand all lines: docs/in-depth/server/db/cosmos-sdk.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Use the [CommunityToolkit.Datasync.Server.CosmosDb](https://www.nuget.org/packag
12
12
Azure Cosmos DB is a fully managed NoSQL database for high-performance applications of any size or scale. See [Azure Cosmos DB for NoSQL .NET SDK](https://learn.microsoft.com/azure/cosmos-db/nosql/quickstart-dotnet) for information on using Azure Cosmos DB via the SDK.
13
13
14
14
!!! info
15
-
The Cosmos DB library and sample has been kindly contributed to the community by [@richard-einfinity](https://github.com/richard-einfinity).
15
+
The Cosmos DB library and sample has been kindly contributed to the community by @richard-einfinity.
Copy file name to clipboardExpand all lines: docs/in-depth/server/db/cosmos.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ Azure Cosmos DB is a fully managed NoSQL database for high-performance applicati
43
43
44
44
You must include a composite index for each combination of filters that you require. A "client-side evaluation" exception will be generated (which is turned into a `400 Bad Request` by the server) if you do not have the appropriate composite indices for the request.
45
45
46
-
You can also review our[bicep module](https://github.com/CommunityToolkit/Datasync/blob/main/tests/infra/databases/cosmos.bicep)that we use for testing.
46
+
You can also review the[bicep module](https://github.com/CommunityToolkit/Datasync/blob/main/samples/datasync-server-cosmosdb-singlecontainer/infra/resources.bicep)used by our Cosmos DB sample.
47
47
48
48
If you pull a subset of items in the table, ensure you specify all properties involved in the query.
Copy file name to clipboardExpand all lines: docs/in-depth/server/db/mongodb.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,9 @@ In your table controller:
32
32
33
33
## Known issues
34
34
35
-
The MongoDB implementation within Cosmos is split into vCore and RU format (also known as dedicated and serverless SKUs). Do not use the "serverless" or RU SKU. Ensure you are using Azure Cosmos DB for MongoDB (vCore). For more information, see [the Azure documentation](https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/).
35
+
The MongoDB implementation within Cosmos is split into vCore and RU format (also known as dedicated and serverless SKUs). Do not use the "serverless" or RU SKU. Ensure you are using Azure Cosmos DB for MongoDB (vCore). For more information, see [the Azure documentation](https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/overview).
*[Test MySQL Context](https://github.com/CommunityToolkit/Datasync/blob/main/tests/CommunityToolkit.Datasync.TestCommon/Databases/MySQL/MysqlDbContext.cs)
Copy file name to clipboardExpand all lines: docs/tutorial/client/part-1.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -174,7 +174,7 @@ Each operation can take a `DatasyncServiceOptions` object with the following pro
174
174
175
175
## Querying for data
176
176
177
-
The final method in our sample implementation is the query interface. The `DatasyncServiceClient<TEntity>` class implements `TableQuery` - a subset of LINQ that is supported by our implementation of OData. When the query is transmitted to the remote service, it is turned into an OData query string. Full details are provided in the [in-depth documentation](https://communitytoolkit.github.io/Datasync/in-depth/client/online-operations/index.html#querying-for-data). To query for all data:
177
+
The final method in our sample implementation is the query interface. The `DatasyncServiceClient<TEntity>` class implements `TableQuery` - a subset of LINQ that is supported by our implementation of OData. When the query is transmitted to the remote service, it is turned into an OData query string. Full details are provided in the [in-depth documentation](../../in-depth/client/online.md#querying-for-data). To query for all data:
178
178
179
179
public async Task<List<TodoItem>> GetAllTodoItemsAsync(CancellationToken cancellationToken = default)
Copy file name to clipboardExpand all lines: docs/tutorial/server/part-4.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ Now, I want to implement some business rules:
53
53
This will demonstrate the first two methods that are needed for an access control provider.
54
54
55
55
!!! tip Using the IHttpContextAccessor
56
-
Most access control providers need asynchronous access to the `HttpContext` of a request. This is handled using the `IHttpContextAccessor`. For details, see [the documentation](https://learn.microsoft.comaspnet/core/fundamentals/http-context). The documentation will tell you to add the following to your application services.
56
+
Most access control providers need asynchronous access to the `HttpContext` of a request. This is handled using the `IHttpContextAccessor`. For details, see [the documentation](https://learn.microsoft.com/aspnet/core/fundamentals/http-context). The documentation will tell you to add the following to your application services.
0 commit comments