From 9196e567cfb857b827f5ecff96d1dfd6709fd86c Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Wed, 27 Jan 2021 15:47:34 -0800 Subject: [PATCH] Fix the leftover master to main issues (#1733) * fix the leftover master to main issues * use relative link --- CONTRIBUTING.md | 10 ++++------ docs/docfx.json | 1 + .../SqlClientInstrumentationOptions.cs | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6df79c5c0dc..10c1b5362ec 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -186,12 +186,10 @@ issue](https://github.com/open-telemetry/opentelemetry-specification/issues/165) ## Style Guide -This project includes a -[`.editorconfig`](https://github.com/open-telemetry/opentelemetry-dotnet/blob/master/.editorconfig) -file which is supported by all the IDEs/editor mentioned above. It works with -the IDE/editor only and does not affect the actual build of the project. +This project includes a [`.editorconfig`](./.editorconfig) file which is +supported by all the IDEs/editor mentioned above. It works with the IDE/editor +only and does not affect the actual build of the project. -This repository also includes [stylecop ruleset -files](https://github.com/open-telemetry/opentelemetry-dotnet/tree/master/build). +This repository also includes stylecop ruleset files under the `./build` folder. These files are used to configure the _StyleCop.Analyzers_ which runs during build. Breaking the rules will result in a build failure. diff --git a/docs/docfx.json b/docs/docfx.json index 85f4f83828f..bcfb20dfd1c 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -28,6 +28,7 @@ "resource": [ { "files": [ + ".editorconfig", "docs/**.cs", "examples/**.cs", "src/**.cs" diff --git a/src/OpenTelemetry.Instrumentation.SqlClient/SqlClientInstrumentationOptions.cs b/src/OpenTelemetry.Instrumentation.SqlClient/SqlClientInstrumentationOptions.cs index 0279739313f..184018ef30d 100644 --- a/src/OpenTelemetry.Instrumentation.SqlClient/SqlClientInstrumentationOptions.cs +++ b/src/OpenTelemetry.Instrumentation.SqlClient/SqlClientInstrumentationOptions.cs @@ -108,7 +108,7 @@ public class SqlClientInstrumentationOptions /// : the activity being enriched. /// string: the name of the event. /// object: the raw SqlCommand object from which additional information can be extracted to enrich the activity. - /// See also: example. + /// See also: example. /// /// ///