Skip to content

docs: add docs site blog and update HeroDevs banner wording - #11412

Merged
jasonsaayman merged 3 commits into
v1.xfrom
docs/blog-and-herodevs-wording
Nov 2, 2026
Merged

jasonsaayman merged 3 commits into
v1.xfrom
docs/blog-and-herodevs-wording

Conversation

@jasonsaayman

@jasonsaayman jasonsaayman commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

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

  • HeroDevs wording: the README banner, the docs homepage banner (SecurityUpdatesBanner.vue, including its screen reader label), and the HeroDevs description in docs/data/partners.json now say "Get Security Updates for Axios v0 & Early Access Provider". partners.json feeds 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.
  • Blog navigation: a Blog item after Partners in the top navigation of every language. Posts are English only for now, so the Chinese, Spanish, and French items open the English blog.
  • Blog index (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.
  • Posts: any Markdown file in docs/blog/ is a post, configured through frontmatter (title, date, author, description, image, imageAlt, draft). docs/blog/posts.data.ts documents the format.
    • Each post has a sidebar listing all posts. The theme fills it from the same data loader as the blog index (.vitepress/theme/index.ts), so drafts and titles always match the index and new posts appear without a restart.
    • A header (BlogPostMeta.vue) shows an "All posts" link, the title, date, author, and cover image.
    • Open Graph and Twitter card tags use the post's title, description, and cover image.
    • Images live in docs/public/blog/<slug>/.
  • Search: a custom _render in search.mts keeps VitePress's search: false behaviour 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-title in the post header. Without that, VitePress would drop the title and the text before the first heading.
  • Drafts: posts with draft: true are left off the index, the sidebar, and site search. Their page still builds at its URL.
  • First post: docs/blog/herodevs-nes-for-axios-v0.md, written from the project's side, with HeroDevs' announcement image as the cover.
  • PRE_RELEASE_CHANGELOG.md entries under Documentation.

Validation

Node v24.21.0, VitePress 1.6.4. Docs dependencies installed with npm ci --ignore-scripts in docs/, then npx patch-package --exclude nothing to apply the existing Splide patch (the only thing the skipped postinstall does).

  • npx vitepress build in docs/: completes with no errors or dead links.
  • npm run test:search in docs/: 4/4 pass.
  • Built output checked:
    • The blog index has no sidebar and lists the post.
    • The post page has the sidebar, header, and cover image, plus the expected og:* and twitter:card tags.
    • The upgrade guide anchor the post links to exists.
  • Temporary test posts, removed afterwards:
    • draft: true # WIP and draft: True: hidden from the index, the sidebar, and the search index.
    • A folded multi-line title: > with no section headings: listed correctly, its intro text searchable, and the cover alt falls back to the title.
  • Checked in the VitePress dev server; layout feedback was applied.
  • Blog sidebar in 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.
  • Not run: npm run lint, npm run build, and the unit/browser suites. This PR does not touch lib/, 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.md or index.d.ts/index.d.cts updates are needed.

Checklist

  • Scope, target branch, and linked issue/rationale checked
  • PRE_RELEASE_CHANGELOG.md entry added or updated (or AGENTS.md's automated release-preparation exception explained)
  • Regression tests and relevant negative/platform cases covered (or N/A with reason): N/A, docs site only
  • Applicable local checks completed, with actual commands and results recorded above
  • Deferred release docs and ESM/CJS types/tests updated where needed (or N/A with reason): N/A, no API change
  • Semver impact stated and intentional breaking changes explained
  • Final diff reviewed for security, unrelated changes, generated artifacts, and test/debug leftovers
  • Latest GitHub Actions status recorded separately from review/security bot results

🤖 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".

  • The blog index at /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 in docs/blog/ configured through frontmatter (title, date, author, description, image, imageAlt, draft), with the format documented in docs/blog/posts.data.ts.
  • Post pages get a header with an "All posts" link, title, date, author, and optional cover image, plus a sidebar listing all posts. The sidebar and the index come from the same data loader, so drafts and titles always match. The sidebar is filled at build time and re-filled in dev mode when the config reloads, so new posts appear without a dev server restart. Open Graph and Twitter card tags use the post's title, description, and cover image.
  • Site search indexes each post's title and opening paragraphs, which VitePress would otherwise drop. Posts with draft: true are left off the index, sidebar, and site search, but their pages still build at their URL.
  • A Blog navigation item was added after Partners in every docs language. Posts are English only for now, so the Chinese, Spanish, and French Blog links open the English blog.
  • The HeroDevs banner in the README and on the docs homepage (including its screen reader label), plus the HeroDevs partner description on the Partners page and homepage Partners section, now read "Get Security Updates for Axios v0 & Early Access Provider". The Spanish, French, and Chinese partner descriptions were translated and should be checked by a native speaker.

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 build completed with no errors or dead links, npm run test:search passed 4/4, and the built output was checked for the blog index layout, post page sidebar/header/cover image, og:* and twitter:card tags, 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.md or index.d.ts/index.d.cts updates are needed.

Written for commit f942e5d. Summary will update on new commits.

View guided diff Turn on auto-fix

@jasonsaayman jasonsaayman added the ai-assisted This PR was created with or in conjunction with AI label Nov 2, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

6 issues found across 15 files

Confidence score: 3/5

  • blogSidebar.mts can still list posts marked as drafts with common truthy values, even when posts.data.ts hides 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-doc selectors, 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.md points to a slug that doesn’t match the heading, so it won’t jump to the section. Update the anchor to upgrading-from-v0x-to-v1x.
  • The Spanish and French partner copy in partners.json is 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

Comment thread docs/.vitepress/search.mts Resolved
Comment thread PRE_RELEASE_CHANGELOG.md Resolved
Comment thread docs/blog/herodevs-nes-for-axios-v0.md Resolved
Comment thread docs/data/partners.json Resolved
Comment thread docs/.vitepress/blogSidebar.mts Resolved
Comment thread docs/.vitepress/theme/BlogPostMeta.vue Resolved
Comment thread docs/blog/index.md Resolved
Comment thread docs/data/partners.json Resolved
Comment thread docs/data/partners.json Resolved
Comment thread docs/data/partners.json Resolved
@greptile-apps

greptile-apps Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] Safe to merge based on the reviewed changes; no outstanding blocking findings were identified.

Summary

Adds an English blog to the docs site and updates the HeroDevs wording.

  • Readers can browse and search posts in a new docs-site blog.
  • The first blog post announces HeroDevs support for Axios v0.
  • HeroDevs banners and partner descriptions use the expanded offer wording.

Reviews (3) · Last reviewed commit: "docs: fill blog sidebar in dev mode" · Reviewed by Greptile

Comment thread docs/.vitepress/blogSidebar.mts Resolved
Comment thread docs/.vitepress/search.mts Resolved
Comment thread PRE_RELEASE_CHANGELOG.md Resolved
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
jasonsaayman force-pushed the docs/blog-and-herodevs-wording branch from abba239 to cc3b935 Compare November 2, 2026 12:51
Comment thread docs/.vitepress/theme/index.ts Resolved
@jasonsaayman jasonsaayman self-assigned this Nov 2, 2026
@jasonsaayman jasonsaayman added commit::docs The PR is related to docs v1x Version 1 labels Nov 2, 2026
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.
@jasonsaayman
jasonsaayman merged commit 7324e94 into v1.x Nov 2, 2026
@jasonsaayman
jasonsaayman deleted the docs/blog-and-herodevs-wording branch November 2, 2026 13:14
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) | ![age](https://developer.mend.io/api/mc/badges/age/npm/axios/1.21.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/axios/1.21.0/1.21.1?slim=true) |

---

> ⚠️ **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. (**[#&#8203;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. (**[#&#8203;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. (**[#&#8203;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.

  (**[#&#8203;11374](axios/axios#11374, **[#&#8203;11373](axios/axios#11373, **[#&#8203;11389](axios/axios#11389, **[#&#8203;11419](axios/axios#11419, **[#&#8203;11429](axios/axios#11429, **[#&#8203;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. (**[#&#8203;11390](axios/axios#11390, **[#&#8203;11399](axios/axios#11399, **[#&#8203;11400](axios/axios#11400, **[#&#8203;11412](axios/axios#11412, **[#&#8203;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. (**[#&#8203;11376](axios/axios#11376, **[#&#8203;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. (**[#&#8203;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`. (**[#&#8203;11383](axios/axios#11383, **[#&#8203;11375](axios/axios#11375, **[#&#8203;11372](axios/axios#11372, **[#&#8203;11345](axios/axios#11345, **[#&#8203;11392](axios/axios#11392, **[#&#8203;11387](axios/axios#11387, **[#&#8203;11386](axios/axios#11386, **[#&#8203;11385](axios/axios#11385, **[#&#8203;11391](axios/axios#11391, **[#&#8203;11388](axios/axios#11388, **[#&#8203;11395](axios/axios#11395, **[#&#8203;11421](axios/axios#11421, **[#&#8203;11422](axios/axios#11422, **[#&#8203;11426](axios/axios#11426)
- **Release:** Prepared the 1.21.1 release. (**[#&#8203;11435](axios/axios#11435)

#### 🌟 New Contributors

We are thrilled to welcome our new contributors. Thank you for helping improve axios:

- **[@&#8203;Ghoscro](https://github.com/Ghoscro)** (**[#&#8203;11374](axios/axios#11374)
- **[@&#8203;pei711](https://github.com/pei711)** (**[#&#8203;11373](axios/axios#11373)
- **[@&#8203;ivanhapaz](https://github.com/ivanhapaz)** (**[#&#8203;11399](axios/axios#11399)
- **[@&#8203;aelmanaa](https://github.com/aelmanaa)** (**[#&#8203;11404](axios/axios#11404)
- **[@&#8203;Aryapatel-007](https://github.com/Aryapatel-007)** (**[#&#8203;11429](axios/axios#11429, **[#&#8203;11430](axios/axios#11430)
- **[@&#8203;umair-ghafoor-ai](https://github.com/umair-ghafoor-ai)** (**[#&#8203;11376](axios/axios#11376)
- **[@&#8203;yxshee](https://github.com/yxshee)** (**[#&#8203;11389](axios/axios#11389)
- **[@&#8203;malinele](https://github.com/malinele)** (**[#&#8203;11401](axios/axios#11401)
- **[@&#8203;AnantDuhan](https://github.com/AnantDuhan)** (**[#&#8203;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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted This PR was created with or in conjunction with AI commit::docs The PR is related to docs v1x Version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant