Skip to content

Commit 4da0741

Browse files
committed
get rid of our own docs indexer
1 parent baaae61 commit 4da0741

File tree

9 files changed

+0
-455
lines changed

9 files changed

+0
-455
lines changed

Dockerfile

-3
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ ADD . .
2929
# Install prisma client code generation tool and generate prisma bindings
3030
RUN task generate
3131

32-
# Build the docs search index
33-
RUN task docsindex
34-
3532
# Build the server binary
3633
RUN task build
3734

Taskfile.yml

-4
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@ tasks:
3939
# Also generate TypeScript type declarations from some backend structs.
4040
- go run types.go
4141

42-
docsindex:
43-
cmds:
44-
- go run ./cmd/indexbuilder/main.go
45-
4642
migrate:
4743
cmds:
4844
- npx prisma migrate dev

app/services/docsindex/docsindex.go

-307
This file was deleted.

app/services/docsindex/docsindex_test.go

-48
This file was deleted.

app/services/services.go

-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"go.uber.org/fx"
55

66
"github.com/openmultiplayer/web/app/services/authentication"
7-
"github.com/openmultiplayer/web/app/services/docsindex"
87
"github.com/openmultiplayer/web/app/services/serververify"
98
"github.com/openmultiplayer/web/app/services/serverworker"
109
)
@@ -18,7 +17,6 @@ func Build() fx.Option {
1817
authentication.New,
1918
authentication.NewDiscordProvider,
2019
authentication.NewGitHubProvider,
21-
docsindex.New,
2220
serververify.New,
2321
),
2422
)

0 commit comments

Comments
 (0)