docs: update releases notes
- remove duplicate deprecations and upgrade procedures - add emijeeezz
This commit is contained in:
parent
9ebd2c85ef
commit
3f6438383f
17 changed files with 322 additions and 819 deletions
|
@ -40,6 +40,22 @@ const config = {
|
|||
path: "../docs",
|
||||
sidebarPath: require.resolve("./sidebars.js"),
|
||||
editUrl: `${vars.repository.href}/blob/main/docs`,
|
||||
|
||||
async sidebarItemsGenerator({
|
||||
defaultSidebarItemsGenerator,
|
||||
...args
|
||||
}) {
|
||||
const items = await defaultSidebarItemsGenerator(args);
|
||||
|
||||
return items.map((item) => {
|
||||
// Reverse releases pages ordering
|
||||
if (item.type === "category" && item.label === "Releases") {
|
||||
return { ...item, items: item.items.reverse() };
|
||||
}
|
||||
|
||||
return item;
|
||||
});
|
||||
},
|
||||
},
|
||||
blog: false,
|
||||
theme: {
|
||||
|
|
16
website/src/components/TarballLink.tsx
Normal file
16
website/src/components/TarballLink.tsx
Normal file
|
@ -0,0 +1,16 @@
|
|||
import React, { FunctionComponent } from "react";
|
||||
import Link from "@docusaurus/Link";
|
||||
|
||||
interface Props {
|
||||
version: string;
|
||||
}
|
||||
|
||||
const TarballLink: FunctionComponent<Props> = ({ version, children }) => (
|
||||
<Link
|
||||
to={`https://github.com/libretime/libretime/releases/download/${version}/libretime-${version}.tar.gz`}
|
||||
>
|
||||
{children}
|
||||
</Link>
|
||||
);
|
||||
|
||||
export default TarballLink;
|
Loading…
Add table
Add a link
Reference in a new issue