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

chore: Increment to v1.1.1 #49

Merged
merged 2 commits into from
Mar 17, 2024
Merged
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
2 changes: 1 addition & 1 deletion src/pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"newWindow": true
},
"latest-release": {
"title": "1.1.0 Latest Release",
"title": "1.1.1 Latest Release",
"href": "/docs/latest"
},
"all-releases": {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"timestamp": false
}
},
"latest": "v1.1.0 Latest"
"latest": "v1.1.1 Latest"
}
2 changes: 1 addition & 1 deletion src/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function Text({ children, className }) {return <p className={cn('text-sm
<VersionLink className='w-56 flex-col justify-between items-start' href='/docs/latest'>
<div className='flex flex-row items-center gap-2'>
<ExternalLinkIcon className='w-6 h-6' />
<Text className='text-lg font-bold'>Latest 1.1.0</Text>
<Text className='text-lg font-bold'>Latest 1.1.1</Text>
</div>
<Text className='text-sm font-light text-left ml-4'>This is the latest ***stable*** release.</Text>
<div className='flex flex-row self-end mt-auto mb-1 gap-2'>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/docs/latest/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ This is `thread`, a Python library which extends Python's built-in `threading` l



## Thread v1.1.0
## Thread v1.1.1

You are viewing the documentation for the `v1.1.0` release.<br />
You are viewing the documentation for the `v1.1.1` release.<br />
This is the most recent stable release of `thread`.


Expand Down
6 changes: 5 additions & 1 deletion src/pages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
title: Thread v1.1.1
---

import Link from 'next/link'

import { ChevronDownIcon, ArrowRightIcon } from '@radix-ui/react-icons'
Expand Down Expand Up @@ -36,7 +40,7 @@ export function Feature({ title, description, version = false, href = false, ...
{/* Section 1 */}
<section id='top'>
<div className='h-full justify-center pb-16 text-center items-center flex flex-col gap-4' style={{ height: 'calc(100vh - 64px)' }}>
<h1 className='text-4xl font-bold'><span className='bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500'>Thread</span> - v1.1.0</h1>
<h1 className='text-4xl font-bold'><span className='bg-clip-text text-transparent bg-gradient-to-r from-pink-500 to-violet-500'>Thread</span> - v1.1.1</h1>
<div className="text-center"><PackageManager /></div>
<Link
href='/docs'
Expand Down
12 changes: 9 additions & 3 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ const Footer = (
)
const Head = () => {
const { title } = useConfig()
const { route } = useRouter()

const pageTitle = route === '/' || !title ? 'Thread v1.1.1' : `${title} | Thread v1.1.1`
const socialImage = 'https://thread.ngjx.org/socialcard-white.jpg'

return (
Expand All @@ -50,7 +53,7 @@ const Head = () => {

{/* OpenGraph */}
<meta name='og:image' content={socialImage} />
<meta name='og:title' content={title ? title + ' - thread' : 'thread'} />
<meta name='og:title' content={pageTitle} />

{/* Twitter */}
<meta name='twitter:card' content='summary_large_image' />
Expand Down Expand Up @@ -78,8 +81,11 @@ const config: DocsThemeConfig = {
link: 'https://discord.gg/WTAvycRmqP'
},
useNextSeoProps() {
return {
titleTemplate: '%s – thread'
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s | Thread v1.1.1',
}
}
},
sidebar: {
Expand Down
Loading