Skip to content

Commit 86db743

Browse files
committed
Add comement and cleanup
1 parent fd66970 commit 86db743

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Elastic.Documentation.LinkIndex/LinkIndexProvider.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ public interface ILinkIndexProvider
2121
public class AwsS3LinkIndexProvider(IAmazonS3 s3Client, string bucketName = "elastic-docs-link-index", string registryKey = "link-index.json") : ILinkIndexProvider
2222
{
2323

24+
// <summary>
25+
// Using <see cref="AnonymousAWSCredentials"/> to access the link index
26+
// allows to read from the link index without the need to provide AWS credentials.
27+
// </summary>
2428
public static AwsS3LinkIndexProvider CreateAnonymous()
2529
{
2630
var credentials = new AnonymousAWSCredentials();

src/Elastic.Markdown/IO/DocumentationSet.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
using System.Collections.Frozen;
66
using System.IO.Abstractions;
77
using System.Runtime.InteropServices;
8-
using Amazon.S3;
98
using Elastic.Documentation;
109
using Elastic.Documentation.Configuration.Builder;
1110
using Elastic.Documentation.Configuration.TableOfContents;
1211
using Elastic.Documentation.LinkIndex;
1312
using Elastic.Documentation.Links;
14-
using Elastic.Markdown.Diagnostics;
1513
using Elastic.Markdown.Extensions;
1614
using Elastic.Markdown.Extensions.DetectionRules;
1715
using Elastic.Markdown.IO.Navigation;

src/Elastic.Markdown/Links/InboundLinks/LinkIndexLinkChecker.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

5-
using Amazon.S3;
6-
using Elastic.Documentation;
75
using Elastic.Documentation.Diagnostics;
86
using Elastic.Documentation.LinkIndex;
97
using Elastic.Documentation.Links;

0 commit comments

Comments
 (0)