all: remove repeated definite articles

Change-Id: I5c0291156ec8b1fa0a207c680d121f4b76a63b61
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/489616
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
diff --git a/doc/frontend.md b/doc/frontend.md
index c470ab8..1edae69 100644
--- a/doc/frontend.md
+++ b/doc/frontend.md
@@ -89,7 +89,7 @@
 
 ### Running npm commands with docker
 
-To run the the unit tests or linters without installing npm prefix the
+To run the unit tests or linters without installing npm prefix the
 command with `./all.bash`. This will run the npm through a docker
 container that has the pkgsite code mounted in an internal directory.
 
diff --git a/internal/database/reflect.go b/internal/database/reflect.go
index 2bfbd20..1d52438 100644
--- a/internal/database/reflect.go
+++ b/internal/database/reflect.go
@@ -120,7 +120,7 @@
 	return n.ptr.Elem().Elem().Interface(), nil
 }
 
-// CollectStructs scans the the rows from the query into structs and returns a slice of them.
+// CollectStructs scans the rows from the query into structs and returns a slice of them.
 // Example:
 //
 //	type Player struct { Name string; Score int }
diff --git a/internal/static/static.go b/internal/static/static.go
index 34065a4..bb6fff2 100644
--- a/internal/static/static.go
+++ b/internal/static/static.go
@@ -77,7 +77,7 @@
 	return nil
 }
 
-// getEntry walks the the given directory and collects entry file paths
+// getEntry walks the given directory and collects entry file paths
 // for esbuild. It ignores test files and files prefixed with an underscore.
 // Underscore prefixed files are assumed to be imported by and bundled together
 // with the output of an entry file.
diff --git a/static/frontend/unit/versions/versions.ts b/static/frontend/unit/versions/versions.ts
index 1c9458a..41f09c1 100644
--- a/static/frontend/unit/versions/versions.ts
+++ b/static/frontend/unit/versions/versions.ts
@@ -7,7 +7,7 @@
 
 /**
  * VersionsController encapsulates event listeners and UI updates
- * for the versions page. As the the expandable sections containing
+ * for the versions page. As the expandable sections containing
  * the symbol history for a package are opened and closed it toggles
  * visiblity of the buttons to expand or collapse them. On page load
  * it adds an indicator to the version that matches the version request