diff --git a/.github/ISSUE_TEMPLATE/beta-feedback.yml b/.github/ISSUE_TEMPLATE/beta-feedback.yml deleted file mode 100644 index 0ab49df0..00000000 --- a/.github/ISSUE_TEMPLATE/beta-feedback.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: "Beta: Feedback" -description: "General feedback for the beta." -labels: ["feedback"] -body: - - type: textarea - id: text - attributes: - label: Feedback - value: - validations: - required: true diff --git a/.github/ISSUE_TEMPLATE/beta-inclusion.yml b/.github/ISSUE_TEMPLATE/beta-inclusion.yml deleted file mode 100644 index 3770bdee..00000000 --- a/.github/ISSUE_TEMPLATE/beta-inclusion.yml +++ /dev/null @@ -1,12 +0,0 @@ -name: "Beta: Add a provider/module" -description: "The beta does not include the full registry dataset. Use this issue to request the inclusion of a provider." -labels: ["feedback"] -body: - - type: textarea - id: repository - attributes: - label: Repository URL - placeholder: https://github.com/... - value: - validations: - required: true diff --git a/backend/internal/server/openapi.go b/backend/internal/server/openapi.go index 75d647cd..b94d4731 100644 --- a/backend/internal/server/openapi.go +++ b/backend/internal/server/openapi.go @@ -2,7 +2,7 @@ // // The API to fetch documentation index and documentation files from the OpenTofu registry. // -// Version: 1.0.0-beta +// Version: 1.0.0 // License: MPL-2.0 // Host: api.opentofu.org // Schemes: https diff --git a/backend/internal/server/openapi.yml b/backend/internal/server/openapi.yml index 6c8f90c7..a18971cf 100644 --- a/backend/internal/server/openapi.yml +++ b/backend/internal/server/openapi.yml @@ -794,7 +794,7 @@ info: license: name: MPL-2.0 title: OpenTofu Registry Docs API - version: 1.0.0-beta + version: 1.0.0 paths: /registry/docs/modules/{namespace}/{name}/{target}/{version}/README.md: get: diff --git a/frontend/announcement.md b/frontend/announcement.md index 4a2458c0..e69de29b 100644 --- a/frontend/announcement.md +++ b/frontend/announcement.md @@ -1 +0,0 @@ -This is the **beta** preview of the OpenTofu Registry Search. The data in this interface may not be up to date. diff --git a/frontend/src/components/AnnouncementBar/content.ts b/frontend/src/components/AnnouncementBar/content.ts index bb8139b7..c53a0846 100644 --- a/frontend/src/components/AnnouncementBar/content.ts +++ b/frontend/src/components/AnnouncementBar/content.ts @@ -4,8 +4,10 @@ import remarkRehype from "remark-rehype"; import rehypeStringify from "rehype-stringify"; import announcement from "../../../announcement.md?raw"; -export const content = unified() - .use(remarkParse) - .use(remarkRehype) - .use(rehypeStringify) - .processSync(announcement).value; +export function getContent() { + return unified() + .use(remarkParse) + .use(remarkRehype) + .use(rehypeStringify) + .processSync(announcement).value; +} diff --git a/frontend/src/components/AnnouncementBar/index.tsx b/frontend/src/components/AnnouncementBar/index.tsx index 01e38eb9..9e180ac7 100644 --- a/frontend/src/components/AnnouncementBar/index.tsx +++ b/frontend/src/components/AnnouncementBar/index.tsx @@ -1,6 +1,10 @@ -import { content } from "./content" with { type: "macro" }; +import {getContent} from "@/components/AnnouncementBar/content.ts"; export function AnnouncementBar() { + const content = getContent() + if (!content) { + return null; + } return (