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

Commit

Permalink
Merge pull request #56 from python-thread/chore/bump-version
Browse files Browse the repository at this point in the history
Bump to v2.0.1
  • Loading branch information
caffeine-addictt committed Apr 28, 2024
2 parents 394c58a + 02a4a0d commit b380da9
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/pages/_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"type": "menu",
"items": {
"latest-release": {
"title": "2.0.0 Latest Release",
"title": "2.0.1 Latest Release",
"href": "/docs/latest"
},
"v1-release": {
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,6 +10,6 @@
"timestamp": false
}
},
"latest": "v2.0.0 Latest",
"latest": "v2.0.1 Latest",
"v1": "v1.1.1"
}
9 changes: 8 additions & 1 deletion src/pages/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function Text({ children, className }) {return <p className={cn('text-sm
<VersionLink className='w-56 flex-col justify-between items-start' href='/docs/v2'>
<div className='flex flex-row items-center gap-2'>
<ExternalLinkIcon className='w-6 h-6' />
<Text className='text-lg font-bold'>Latest v2.0.0</Text>
<Text className='text-lg font-bold'>Latest v2.0.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 Expand Up @@ -73,6 +73,13 @@ export function Text({ children, className }) {return <p className={cn('text-sm
</div>
<StatusBadge variant='dev'>dev</StatusBadge>
</Link>
<Link target="_blank" href='/github/v2.0.1' className="flex flex-row w-full justify-between px-4 py-2 rounded-md items-center text-sm font-light hover:bg-neutral-100/40 dark:hover:bg-neutral-800/20 transition-all">
<div className="flex flex-col justify-between">
<h1 className="font-normal text-lg">Release v2.0.1</h1>
<p>28 April 2024</p>
</div>
<StatusBadge variant='stable'>stable</StatusBadge>
</Link>
<Link target="_blank" href='/github/v2.0.0' className="flex flex-row w-full justify-between px-4 py-2 rounded-md items-center text-sm font-light hover:bg-neutral-100/40 dark:hover:bg-neutral-800/20 transition-all">
<div className="flex flex-col justify-between">
<h1 className="font-normal text-lg">Release v2.0.0</h1>
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 v2.0.0
## Thread v2.0.1

You are viewing the documentation for the `v2.0.0` release.<br />
You are viewing the documentation for the `v2.0.1` release.<br />
This is the most recent stable release of `thread`.


Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Thread v2.0.0
title: Thread v2.0.1
---

import Link from 'next/link'
Expand Down Expand Up @@ -40,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> - v2.0.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> - v2.0.1</h1>
<div className="text-center"><PackageManager /></div>
<Link
href='/docs'
Expand Down
4 changes: 2 additions & 2 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Head = () => {
const { title } = useConfig()
const { route } = useRouter()

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

return (
Expand Down Expand Up @@ -84,7 +84,7 @@ const config: DocsThemeConfig = {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s | Thread v2.0.0',
titleTemplate: '%s | Thread v2.0.1',
}
}
},
Expand Down

0 comments on commit b380da9

Please sign in to comment.