Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
chore: change name from PDF to Markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
chuang8511 committed May 24, 2024
1 parent c8273fe commit 98b868b
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
],
"custom": false,
"documentation_url": "https://www.instill.tech/docs/latest/vdp/operators/pdf",
"icon": "assets/pdf.svg",
"id": "pdf",
"icon": "assets/document.svg",
"id": "document",
"public": true,
"spec": {},
"title": "PDF",
"title": "Document",
"uid": "e5b290ae-ad53-47c9-a64e-efbc5358520b",
"version": "0.1.1",
"source_url": "https://github.com/instill-ai/component/blob/main/pkg/operator/pdf/v0",
"description": "Manipulate PDF files",
"description": "Manipulate Document files",
"release_stage": "RELEASE_STAGE_ALPHA"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pdf
package document

import (
"encoding/base64"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pdf
package document

import (
"encoding/base64"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:generate compogen readme --operator ./config ./README.mdx
package pdf
package document

import (
"context"
Expand Down
4 changes: 2 additions & 2 deletions pkg/operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

"github.com/instill-ai/component/pkg/base"
"github.com/instill-ai/component/pkg/operator/base64/v0"
"github.com/instill-ai/component/pkg/operator/document/v0"
"github.com/instill-ai/component/pkg/operator/end/v0"
"github.com/instill-ai/component/pkg/operator/image/v0"
"github.com/instill-ai/component/pkg/operator/json/v0"
"github.com/instill-ai/component/pkg/operator/pdf/v0"
"github.com/instill-ai/component/pkg/operator/start/v0"
"github.com/instill-ai/component/pkg/operator/text/v0"

Expand Down Expand Up @@ -51,7 +51,7 @@ func Init(logger *zap.Logger) *Store {
opStore.Import(json.Init(baseOp))
opStore.Import(image.Init(baseOp))
opStore.Import(text.Init(baseOp))
opStore.Import(pdf.Init(baseOp))
opStore.Import(document.Init(baseOp))

})
return opStore
Expand Down
6 changes: 0 additions & 6 deletions pkg/operator/pdf/v0/assets/pdf.svg

This file was deleted.

0 comments on commit 98b868b

Please sign in to comment.