-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- release notes for 6.4.4 - new tag page component - update `/blog/*` -> `/release/*` (included in redirects) - add documentation on configuring server in multi-instance config (see #1713) refers: - #1713 ## Type of change **PATCH: backwards compatible change** This PR includes breaking changes to the following core packages: - none This PR includes breaking changes to the follow extensions: - none ## Dependencies ### Adds - none ### Removes - none
- Loading branch information
1 parent
558f635
commit e587f16
Showing
32 changed files
with
210 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
http://budjs.netlify.app/* https://bud.js.org/:splat 301! | ||
https://budjs.netlify.app/* https://bud.js.org/:splat 301! | ||
https://bud.js.org/releases https://bud.js.org/blog/tags/release 301! | ||
https://bud.js.org/releases/* https://bud.js.org/blog/:splat 301! | ||
https://bud.js.org/blog/tags/release https://bud.js.org/releases 301! | ||
https://bud.js.org/blog/* https://bud.js.org/releases/:splat 301! | ||
https://bud.js.org/guides/general-use/multi-compiler https://bud.js.org/guides/general-use/multi-instance 301! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 7 additions & 5 deletions
12
sources/@repo/docs/content/blog/6.4.0.mdx → ...ces/@repo/docs/content/releases/6.4.0.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
sources/@repo/docs/content/blog/6.4.2.mdx → ...ces/@repo/docs/content/releases/6.4.2.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 5 additions & 3 deletions
8
sources/@repo/docs/content/blog/6.4.3.mdx → ...ces/@repo/docs/content/releases/6.4.3.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
slug: '6.4.4' | ||
title: '6.4.4' | ||
description: 'Release notes for bud.js 6.4.4' | ||
date: 2022-09-27 | ||
author: Kelly Mears | ||
author_title: Lead developer | ||
author_url: https://github.com/kellymears | ||
author_image_url: https://avatars.githubusercontent.com/u/397606?v=4 | ||
tags: [release, 6.4] | ||
--- | ||
|
||
A bugfix release for bud 6.4. Mainly focused on multi-instance configurations. | ||
|
||
<!--truncate--> | ||
|
||
## 🩹 fix: [@roots/bud-postcss](https://bud.js.org/extensions/bud-postcss) not applied in multi-instance configurations | ||
|
||
Fixes an issue where [@roots/bud-postcss](https://bud.js.org/extensions/bud-postcss) was not applied to child compilations. ([#1702](https://github.com/roots/bud/issues/1702)). | ||
|
||
## 📕 docs: improve multi-instance documentation | ||
|
||
Added documentation for configuring development server in a multi-instance setup to the [multi-instance guide](https://bud.js.org/guides/general-use/multi-instance). ([#1713](https://github.com/roots/bud/issues/1713)) | ||
|
||
## ℹ️ Release information | ||
|
||
For more information [review the diff to see what's changed](https://github.com/roots/bud/compare/v6.4.3...v6.4.4). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./config/index.cjs') | ||
module.exports = require(`./config/index.cjs`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
import Link from '@docusaurus/Link' | ||
import { | ||
HtmlClassNameProvider, | ||
PageMetadata, | ||
ThemeClassNames, | ||
usePluralForm, | ||
} from '@docusaurus/theme-common' | ||
import {translate} from '@docusaurus/Translate' | ||
import {Hero} from '@site/src/components/Hero' | ||
import BlogPostItems from '@theme/BlogPostItems' | ||
import Layout from '@theme/Layout' | ||
import SearchMetadata from '@theme/SearchMetadata' | ||
import clsx from 'clsx' | ||
import React from 'react' | ||
|
||
// Very simple pluralization: probably good enough for now | ||
function useBlogPostsPlural() { | ||
const {selectMessage} = usePluralForm() | ||
return count => | ||
selectMessage( | ||
count, | ||
translate( | ||
{ | ||
id: `theme.blog.post.plurals`, | ||
description: `Pluralized label for "{count} posts". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)`, | ||
message: `One post|{count} posts`, | ||
}, | ||
{count}, | ||
), | ||
) | ||
} | ||
function useBlogTagsPostsPageTitle(tag) { | ||
const blogPostsPlural = useBlogPostsPlural() | ||
return translate( | ||
{ | ||
id: `theme.blog.tagTitle`, | ||
description: `The title of the page for a blog tag`, | ||
message: `{nPosts} tagged with "{tagName}"`, | ||
}, | ||
{nPosts: blogPostsPlural(tag.count), tagName: tag.label}, | ||
) | ||
} | ||
function BlogTagsPostsPageMetadata({tag}) { | ||
const title = useBlogTagsPostsPageTitle(tag) | ||
return ( | ||
<> | ||
<PageMetadata title={title} /> | ||
<SearchMetadata tag="blog_tags_posts" /> | ||
</> | ||
) | ||
} | ||
function BlogTagsPostsPageContent({tag, items, sidebar, listMetadata}) { | ||
const title = useBlogTagsPostsPageTitle(tag) | ||
|
||
return ( | ||
<Layout> | ||
<header className="margin-bottom--xl"> | ||
{tag.label?.match(/\d*.\d*/) ? ( | ||
<Hero title={`bud ${tag.label}`} subtitle="Release notes" /> | ||
) : ( | ||
<h1>{title}</h1> | ||
)} | ||
</header> | ||
|
||
<div className="container"> | ||
<BlogPostItems items={items} /> | ||
</div> | ||
</Layout> | ||
) | ||
} | ||
export default function BlogTagsPostsPage(props) { | ||
return ( | ||
<HtmlClassNameProvider | ||
className={clsx( | ||
ThemeClassNames.wrapper.blogPages, | ||
ThemeClassNames.page.blogTagPostListPage, | ||
)} | ||
> | ||
<BlogTagsPostsPageMetadata {...props} /> | ||
<BlogTagsPostsPageContent {...props} /> | ||
</HtmlClassNameProvider> | ||
) | ||
} |
Oops, something went wrong.