Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added _includes/archive-warning
Empty file.
4 changes: 3 additions & 1 deletion docs/weaviate/index.mdx
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
title: Weaviate Database
title: Weaviate Documentation Archive
sidebar_position: 0
description: "Complete documentation for Weaviate, the open-source AI-native vector database."
image: og/docs/home.jpg
hide_table_of_contents: false
# tags: []
---

## Weaviate Database

import CardsSection from "/src/components/CardsSection";
import DeploymentCards from "/src/components/DeploymentCards";
import styles from "/src/components/CardsSection/styles.module.scss";
Expand Down
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const config = {
favicon: "img/favicon.ico",
staticDirectories: ["static"],
// url: "https://weaviate.io",
url: "https://docs.weaviate.io",
url: "https://archive.docs.weaviate.io",
baseUrl: "/",
trailingSlash: false,
onBrokenLinks: "warn",
Expand Down
4 changes: 4 additions & 0 deletions sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,8 @@ const sidebars = {
items: [
"weaviate/client-libraries/python/async",
"weaviate/client-libraries/python/notes-best-practices",
"weaviate/client-libraries/python/python_v3",
"weaviate/client-libraries/python/v3_v4_migration",
{
type: "link",
label: "Reference manual",
Expand All @@ -628,6 +630,8 @@ const sidebars = {
},
items: [
"weaviate/client-libraries/typescript/notes-best-practices",
"weaviate/client-libraries/typescript/typescript-v2",
"weaviate/client-libraries/typescript/v2_v3_migration",
{
type: "link",
label: "Reference manual",
Expand Down
28 changes: 28 additions & 0 deletions src/components/Documentation/ArchiveNotice.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import React from "react";
import Admonition from "@theme/Admonition";
import Link from "@docusaurus/Link";

export default function ArchiveNotice() {
return (
<Admonition type="danger" title="Weaviate Documentation Archive">
<p>
This is the <strong>Weaviate Documentation Archive</strong>. It contains
info and code snippets for the deprecated{" "}
<Link href="/weaviate/client-libraries/python/python_v3">
Python v3
</Link>{" "}
and{" "}
<Link href="/weaviate/client-libraries/typescript/typescript-v2">
TypeScript v2
</Link>{" "}
clients.
<br />
The official and up-to-date documentation is available at{" "}
<strong>
<a href="https://docs.weaviate.io/">docs.weaviate.io</a>
</strong>
.
</p>
</Admonition>
);
}
12 changes: 12 additions & 0 deletions src/theme/DocItem/Layout/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from "react";
import Layout from "@theme-original/DocItem/Layout";
import ArchiveNotice from "@site/src/components/Documentation/ArchiveNotice";

export default function LayoutWrapper(props) {
return (
<>
<ArchiveNotice />
<Layout {...props} />
</>
);
}
Loading