docs: remove blog in favor of news page

This commit is contained in:
Folke Lemaitre 2024-06-24 08:35:16 +02:00
parent dec94b8318
commit 94ff3903c3
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 17 additions and 16 deletions

View File

@ -1,24 +1,20 @@
--- ---
title: What's New in v11.0? sidebar_position: 10
tags:
- release
--- ---
Learn about the new features and improvements in **lazy.nvim** v11.0 # 📰 What's new?
<!-- truncate --> ## 11.x
## New Website - **New Website**: There's a whole new website with a fresh look and improved documentation.
Check it out at [lazy.nvim](https://lazy.folke.io/).
There's a whole new website with a fresh look and improved documentation. The GitHub `README.md` has been updated to point to the new website.
Check it out at [lazy.nvim](https://lazy.folke.io/). The `vimdoc` contains all the information that is available on the website.
The GitHub `README.md` has been updated to point to the new website.
The `vimdoc` contains all the information that is available on the website.
## New Features
- **Spec Resolution & Merging**: the code that resolves a final spec from a plugin's fragments has been rewritten. - **Spec Resolution & Merging**: the code that resolves a final spec from a plugin's fragments has been rewritten.
This should be a tiny bit faster, but more importantly, fixes some issues and is easier to maintain. This should be a tiny bit faster, but more importantly, fixes some issues and is easier to maintain.
- `rocks`: specs can now specify a list of rocks ([luarocks](https://luarocks.org/)) that should be installed. - `rocks`: specs can now specify a list of rocks ([luarocks](https://luarocks.org/)) that should be installed.
- [Packages](https://lazy.folke.io/packages) can now specify their dependencies and configuration using one of: - [Packages](https://lazy.folke.io/packages) can now specify their dependencies and configuration using one of:
- **Lazy**: `lazy.lua` file - **Lazy**: `lazy.lua` file
- **Rockspec**: [luarocks](https://luarocks.org/) `*-scm-1.rockspec` [file](https://github.com/luarocks/luarocks/wiki/Rockspec-format) - **Rockspec**: [luarocks](https://luarocks.org/) `*-scm-1.rockspec` [file](https://github.com/luarocks/luarocks/wiki/Rockspec-format)

View File

@ -34,7 +34,7 @@ const config: Config = {
sidebarPath: "./sidebars.ts", sidebarPath: "./sidebars.ts",
editUrl: "https://github.com/folke/lazy.nvim/tree/docs/", editUrl: "https://github.com/folke/lazy.nvim/tree/docs/",
}, },
// blog: false, blog: false,
theme: { theme: {
customCss: "./src/css/custom.css", customCss: "./src/css/custom.css",
}, },
@ -66,8 +66,13 @@ const config: Config = {
src: "img/icon.svg", src: "img/icon.svg",
}, },
items: [ items: [
{ to: "/", label: "Docs", position: "left" }, {
{ to: "blog", label: "Blog", position: "left" }, to: "/",
label: "Docs",
position: "left",
activeBaseRegex: "^(?!.*news).*$",
},
{ to: "news", label: "News", position: "left" },
...require("./socials.ts"), ...require("./socials.ts"),
], ],
}, },