Repository navigation
docs: add docs site blog and update HeroDevs banner wording - #11412
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
6 issues found across 15 files
Confidence score: 3/5
blogSidebar.mtscan still list posts marked as drafts with common truthy values, even whenposts.data.tshides them from the index. Match the draft check so drafts don’t appear in the sidebar.- In
style.css, the single-class rules lose to VitePress’s.vp-docselectors, so the intended list, margin, and padding resets may not take effect. Increase selector specificity. - The upgrade-guide link in
herodevs-nes-for-axios-v0.mdpoints to a slug that doesn’t match the heading, so it won’t jump to the section. Update the anchor toupgrading-from-v0x-to-v1x. - The Spanish and French partner copy in
partners.jsonis grammatically awkward and changes the intended offer. Replace both strings with native-reviewed wording.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. When an issue isn't valid or won't be fixed in this PR, reply in its thread with the reason and then resolve the thread. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="docs/blog/herodevs-nes-for-axios-v0.md">
<violation number="1" location="docs/blog/herodevs-nes-for-axios-v0.md:56">
P2: The upgrade-guide anchor looks wrong. The heading is `## Upgrading from v0.x to v1.x`, which slugifies without the dots to `upgrading-from-v0x-to-v1x`, not `upgrading-from-v0-x-to-v1-x`. The link would load the page without scrolling to the section. Confirm the rendered anchor and update the fragment to match.</violation>
</file>
<file name="docs/.vitepress/blogSidebar.mts">
<violation number="1" location="docs/.vitepress/blogSidebar.mts:23">
P2: The draft check here doesn't match the one in `posts.data.ts`. `draft: true # note`, `draft: True`, or `draft: yes` hides the post from the index but still lists it in the sidebar. Use the same truthy semantics as the loader: skip any post whose draft value is set and not `false`.</violation>
</file>
<file name="docs/blog/index.md">
<violation number="1" location="docs/blog/index.md:14">
P3: The `visually-hidden` class on this `<h1>` is not defined anywhere in the docs theme CSS, so the heading stays visible as a large "Blog" title. If the heading should be screen-reader only, add the styles inline here or define `.visually-hidden` in `style.css`.</violation>
</file>
<file name="docs/.vitepress/theme/style.css">
<violation number="1" location="docs/.vitepress/theme/style.css:162">
P2: These single-class rules lose to VitePress's `.vp-doc` element selectors (e.g. `.vp-doc ul`, `.vp-doc p`, `.vp-doc h2`, `.vp-doc a`), which have higher specificity. The list-style, margin, and padding resets and the title sizing may not apply, so bullets or extra spacing could show on the cards. Raise specificity by scoping the rules under `.blog-index`, e.g. `.blog-index .blog-index__list`, and check the rendered page.</violation>
</file>
<file name="docs/data/partners.json">
<violation number="1" location="docs/data/partners.json:26">
P3: The Spanish copy is grammatically awkward and changes the offer into “security updates for Axios v0 and provider.” Use a native-reviewed phrase such as `Obtén actualizaciones de seguridad para Axios v0 y acceso anticipado al proveedor`.</violation>
<violation number="2" location="docs/data/partners.json:27">
P3: The French string is not grammatical: `pour ... et fournisseur` drops the article and makes “early access” a provider. Replace it with native-reviewed French, such as `... et un accès anticipé au fournisseur`.</violation>
</file>
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Contributor
[Medium impact] Safe to merge based on the reviewed changes; no outstanding blocking findings were identified. SummaryAdds an English blog to the docs site and updates the HeroDevs wording.
Reviews (3) · Last reviewed commit: "docs: fill blog sidebar in dev mode" · Reviewed by Greptile |
Add a Blog section to the docs site, linked from the top navigation after Partners in every language. The blog index shows posts as cards in a masonry grid, built from the Markdown files in docs/blog/. Each post has a sidebar listing all posts, a header with its title, date, author and cover image, and share preview tags. Drafts are left off the index, sidebar and site search. The first post announces Never-Ending Support for Axios v0 from HeroDevs. Change the HeroDevs banner in the README and on the docs homepage, and their partner description on the docs site, to "Get Security Updates for Axios v0 & Early Access Provider".
- Build the blog sidebar from the same data loader as the blog index, so drafts and titles always match it and new posts appear without a dev server restart. This replaces the config-time frontmatter parser, which misread `draft: true # note`, `draft: True`, and multi-line titles. - Index each post's title and opening paragraphs in site search. The title is rendered from frontmatter, and VitePress drops text before the first heading, so they were missing. - Fall back to the post title for the cover image alt text. - Update the NES install example to the current 0.24.4 build and say which versions have builds today. - Improve the French and Chinese HeroDevs descriptions. - Correct the changelog: only posts show the sidebar, not the index.
jasonsaayman
force-pushed
the
docs/blog-and-herodevs-wording
branch
from
November 2, 2026 12:51
abba239 to
cc3b935
Compare
In `vitepress dev`, VitePress passes enhanceApp a read-only proxy of the site data, so setting the blog sidebar items was rejected and posts were missing from the sidebar locally (production builds were unaffected). Set the items on the underlying object with toRaw before the app renders, and fill them again when the config reloads in dev. The config now lists "All posts" in the blog sidebar by default.
markharding
pushed a commit
to futo-org/Harbor
that referenced
this pull request
Nov 17, 2026
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [axios](https://axios-http.com) ([source](https://github.com/axios/axios)) | [`1.21.0` → `1.21.1`](https://renovatebot.com/diffs/npm/axios/1.21.0/1.21.1) |  |  | --- >⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/2097) for more information. --- ### Release Notes <details> <summary>axios/axios (axios)</summary> ### [`v1.21.1`](https://github.com/axios/axios/releases/tag/v1.21.1) [Compare Source](axios/axios@v1.21.0...v1.21.1) #### v1.21.1 — November 9, 2026 This release raises the minimum `follow-redirects` version to fix a published CVE, fixes a Next.js prerendering failure caused by the response duration timer, corrects the `getAdapter` typings, and includes documentation corrections, new test coverage, CI runner changes and dependency updates. #### 🔒 Security Fixes - **follow-redirects:** Raised the `follow-redirects` range from `^1.16.0` to `^1.16.2` to fix CVE-2026-116689 (GHSA-mrwp-f3q8-3g9p). In the vulnerable versions, `sensitiveHeaders` arrays from another realm were ignored and custom credentials could follow redirects. Only the Node.js HTTP adapter is affected, and there are no API changes. (**[#​11410](axios/axios#11410) #### 🐛 Bug Fixes - **Response Duration:** `dispatchRequest` now measures `response.duration` with `performance.now()` and uses `Date.now()` only when `performance.now()` isn't available. In v1.21.0, any axios request from a Server Component failed Next.js production builds with Cache Components (`cacheComponents: true`), because Next.js rejects `Date.now()` while prerendering. The duration is still a whole number of milliseconds, and system clock changes no longer affect it. (**[#​11411](axios/axios#11411) - **TypeScript:** `getAdapter` now accepts an optional `config?: AxiosRequestConfig` in `index.d.ts` and `index.d.cts`, matching what it does at runtime. You can now call `getAdapter('fetch', { env: { fetch: myFetch } })` without a cast. (**[#​11404](axios/axios#11404) #### 🔧 Maintenance & Chores - **Documentation Corrections:** Brought the README and docs site in line with how axios actually behaves: - `transformRequest` runs for every method, and transformers receive `(data, headers, status)`. - `responseType` and `Content-Type` have no default value. - `AxiosHeaders#get` and `#normalize` are described correctly. - Errors should be identified with `axios.isAxiosError()`, not by `name`. - The error tables now list `ECONNREFUSED` and `ERR_FORM_DATA_DEPTH_EXCEEDED`, and note that FormData parsing has a fixed depth limit that `maxDepth` doesn't change. - New notes cover what `redact` doesn't scan, which adapters enforce `maxContentLength` / `maxBodyLength`, and how `formToJSON()` handles field name collisions. (**[#​11374](axios/axios#11374, **[#​11373](axios/axios#11373, **[#​11389](axios/axios#11389, **[#​11419](axios/axios#11419, **[#​11429](axios/axios#11429, **[#​11430](axios/axios#11430) - **Docs Site:** Added a Partners page, a shared card design for sponsors and partners, a Namespace sponsor badge, and a blog whose first post announces HeroDevs Never-Ending Support for Axios v0. Also applied the v1.20.0/v1.21.0 release notes to the docs, and fixed internal links in the es, fr and zh translations so they keep their locale prefix. (**[#​11390](axios/axios#11390, **[#​11399](axios/axios#11399, **[#​11400](axios/axios#11400, **[#​11412](axios/axios#11412, **[#​11401](axios/axios#11401) - **Test Coverage:** Added cancellation tests across the HTTP, fetch and XHR adapters. They cover `AbortSignal`, `CancelToken`, cancelling while a request interceptor is pending, and timeout precedence. Also added tests for `no_proxy` edge cases in `shouldBypassProxy`, such as internationalized domain names, malformed CIDR and IPv4 entries, and port-qualified entries. Neither changes runtime behavior. (**[#​11376](axios/axios#11376, **[#​11431](axios/axios#11431) - **CI:** GitHub Actions jobs now run on Namespace runners. The npm publish job stays on GitHub-hosted runners, because npm provenance and trusted publishing (OIDC) only work there. (**[#​11396](axios/axios#11396) - **Dependencies:** Updated development and tooling dependencies, including `vitest` and `@vitest/*` (to 5.x at the root), `typescript` (7.x at the root), `vite`, `rollup`, `eslint`, `playwright`, `@commitlint/*`, `@rollup/plugin-alias`, `@rollup/plugin-terser`, `body-parser`, `multer`, `serialize-javascript`, `fast-uri`, `qs`, `zizmorcore/zizmor-action`, and `follow-redirects` in `/docs`. (**[#​11383](axios/axios#11383, **[#​11375](axios/axios#11375, **[#​11372](axios/axios#11372, **[#​11345](axios/axios#11345, **[#​11392](axios/axios#11392, **[#​11387](axios/axios#11387, **[#​11386](axios/axios#11386, **[#​11385](axios/axios#11385, **[#​11391](axios/axios#11391, **[#​11388](axios/axios#11388, **[#​11395](axios/axios#11395, **[#​11421](axios/axios#11421, **[#​11422](axios/axios#11422, **[#​11426](axios/axios#11426) - **Release:** Prepared the 1.21.1 release. (**[#​11435](axios/axios#11435) #### 🌟 New Contributors We are thrilled to welcome our new contributors. Thank you for helping improve axios: - **[@​Ghoscro](https://github.com/Ghoscro)** (**[#​11374](axios/axios#11374) - **[@​pei711](https://github.com/pei711)** (**[#​11373](axios/axios#11373) - **[@​ivanhapaz](https://github.com/ivanhapaz)** (**[#​11399](axios/axios#11399) - **[@​aelmanaa](https://github.com/aelmanaa)** (**[#​11404](axios/axios#11404) - **[@​Aryapatel-007](https://github.com/Aryapatel-007)** (**[#​11429](axios/axios#11429, **[#​11430](axios/axios#11430) - **[@​umair-ghafoor-ai](https://github.com/umair-ghafoor-ai)** (**[#​11376](axios/axios#11376) - **[@​yxshee](https://github.com/yxshee)** (**[#​11389](axios/axios#11389) - **[@​malinele](https://github.com/malinele)** (**[#​11401](axios/axios#11401) - **[@​AnantDuhan](https://github.com/AnantDuhan)** (**[#​11431](axios/axios#11431) [Full Changelog](axios/axios@v1.21.0...v1.21.1) </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - "before 9am on tuesday" - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjcuNCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyNy40IiwidGFyZ2V0QnJhbmNoIjoiZGV2ZWxvcCIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZSJdfQ==--> Reviewed-on: https://code.futo.org/harbor/harbor/pulls/2336
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a blog to the docs site, with a first post announcing Never-Ending Support (NES) for Axios v0 from HeroDevs. Also changes the HeroDevs banner and partner description to read "Get Security Updates for Axios v0 & Early Access Provider".
Linked issue
None. Maintainer request: give the project a place to publish announcements and articles, and update the HeroDevs wording.
Changes
SecurityUpdatesBanner.vue, including its screen reader label), and the HeroDevs description indocs/data/partners.jsonnow say "Get Security Updates for Axios v0 & Early Access Provider".partners.jsonfeeds both the homepage Partners section and the Partners page. The Spanish, French, and Chinese descriptions are translated and should be checked by a native speaker.docs/blog/index.md): full width, no sidebar, posts as cards in a masonry grid (CSS columns: 1, 2, or 3 depending on width), newest first. Cards show the cover image, title, date, author, and description. A visually hidden "Blog" heading keeps the page announced to screen readers.docs/blog/is a post, configured through frontmatter (title,date,author,description,image,imageAlt,draft).docs/blog/posts.data.tsdocuments the format..vitepress/theme/index.ts), so drafts and titles always match the index and new posts appear without a restart.BlogPostMeta.vue) shows an "All posts" link, the title, date, author, and cover image.docs/public/blog/<slug>/._renderinsearch.mtskeeps VitePress'ssearch: falsebehaviour and adds two things for blog posts. Drafts are excluded, and each post's frontmatter title is indexed as its top heading, anchored to#post-titlein the post header. Without that, VitePress would drop the title and the text before the first heading.draft: trueare left off the index, the sidebar, and site search. Their page still builds at its URL.docs/blog/herodevs-nes-for-axios-v0.md, written from the project's side, with HeroDevs' announcement image as the cover.PRE_RELEASE_CHANGELOG.mdentries under Documentation.Validation
Node v24.21.0, VitePress 1.6.4. Docs dependencies installed with
npm ci --ignore-scriptsindocs/, thennpx patch-package --exclude nothingto apply the existing Splide patch (the only thing the skippedpostinstalldoes).npx vitepress buildindocs/: completes with no errors or dead links.npm run test:searchindocs/: 4/4 pass.og:*andtwitter:cardtags.draft: true # WIPanddraft: True: hidden from the index, the sidebar, and the search index.title: >with no section headings: listed correctly, its intro text searchable, and the cover alt falls back to the title.vitepress dev: the post page's DOM was dumped with headless Chromium. It lists "All posts" and the post. The previous code showed only "All posts" there, because dev mode makes site data read-only.npm run lint,npm run build, and the unit/browser suites. This PR does not touchlib/, types, tests, or packaging, and the root ESLint config covers source only.Compatibility and documentation
No semver impact. Docs site and README only, with no runtime, public API, or type changes, so no
PRE_RELEASE_DOCS.mdorindex.d.ts/index.d.ctsupdates are needed.Checklist
PRE_RELEASE_CHANGELOG.mdentry added or updated (or AGENTS.md's automated release-preparation exception explained)🤖 Generated with Claude Code
Summary by cubic
Description
Adds a blog to the docs site so the project has a place to publish announcements and articles, with a first post announcing Never-Ending Support (NES) for Axios v0 from HeroDevs. Also updates the HeroDevs banner and partner description to read "Get Security Updates for Axios v0 & Early Access Provider".
/blog/lists posts as cards in a masonry grid (1, 2, or 3 columns by viewport width), newest first, with each card showing the cover image, title, date, author, and description. Posts are Markdown files indocs/blog/configured through frontmatter (title,date,author,description,image,imageAlt,draft), with the format documented indocs/blog/posts.data.ts.draft: trueare left off the index, sidebar, and site search, but their pages still build at their URL.Docs
The docs site itself is the subject of this PR; no additional
/docs/updates are needed.Testing
No automated tests were added. The change is confined to the docs site and README, so
npm run lint,npm run build, and the unit/browser suites (which cover source only) were not run. Validation was manual:npx vitepress buildcompleted with no errors or dead links,npm run test:searchpassed 4/4, and the built output was checked for the blog index layout, post page sidebar/header/cover image,og:*andtwitter:cardtags, the upgrade-guide anchor the first post links to, and a temporary draft post being absent from the index, sidebar, and search index.Semantic version impact
None. The PR changes docs and README content only, with no runtime, public API, or type changes, so no
PRE_RELEASE_DOCS.mdorindex.d.ts/index.d.ctsupdates are needed.Written for commit f942e5d. Summary will update on new commits.