Skip to content

docs: set up the VitePress site - #9

Merged
Woollim merged 2 commits into
mainfrom
feature/vitepress
Sep 19, 2026
Merged

Woollim merged 2 commits into
mainfrom
feature/vitepress

Conversation

@Woollim

@Woollim Woollim commented Sep 17, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The VitePress config pointed at /toss-necto/, which does not match the repository name. Published as-is, every stylesheet, script and licence link would have 404ed. The repo constant and the footer link carried the same typo.

This fixes the paths, gives the site a logo, and brings the copy up to date.

  • Paths — base is now /necto/, and the GitHub link and the footer link match it.
  • Logo and favicon — the app icon becomes the nav logo and the favicon, with a glow behind it in the hero. The glow is built from --vp-c-brand-* tokens, so it follows light and dark mode.
  • Copy — the hero, the feature cards, and the first paragraph of both READMEs.
  • No page under docs/ other than the two home pages is touched.

The icon is copied into docs/public/ rather than moved. VitePress hardcodes srcDir/public (chunk-D3CUZ4fa.js:45353), so publicDir cannot be pointed at docs/images, and the original stays where docs/design/gallery.js:206 reads it.

Test Plan

yarn docs:build    # build complete in 1.73s
yarn docs:preview  # http://localhost:4180/necto/
  • All 14 pages in both locales, plus the icon and THIRD_PARTY_NOTICES.txt, return 200
  • Checked in a browser, light and dark: the nav logo, the hero image and its glow, the feature cards
  • The design gallery still loads all 9 icons from the original in docs/images/

Evidence

스크린샷 2026-09-17 오후 9 21 17

@Woollim
Woollim requested a review from heoblitz September 17, 2026 11:57
@Woollim Woollim self-assigned this Sep 17, 2026
@Woollim Woollim added the documentation Improvements or additions to documentation label Sep 17, 2026
이병찬 added 2 commits September 18, 2026 14:11
The base path pointed at /toss-necto/, which does not match the
repository, so every asset and the licence link would have 404ed once
the site was published. Fix the base, the GitHub link and the footer
link to match toss/necto.

Give the site an identity: the app icon serves as the nav logo and the
favicon, and sits in the home hero over a glow built from the brand
tokens. The icon is copied into docs/public because VitePress only
serves srcDir/public, and docs/design/gallery.js still reads the
original in docs/images.

Rewrite the landing copy around what a reader coming from Flipper
cares about. The hero carries the name and the whole one-line
description. The cards run in that reader's order: it connects,
anything can be a plugin, the CLI reaches all of it, and the
implementation last. The README lists follow the same order and gain
the agent line they never had.
The workflow only ran by hand, so publishing depended on someone
remembering. Run it on pushes to main as well, limited to the files the
site is built from: Swift and plugin changes are far more frequent here
and none of them change what is published.
@Woollim
Woollim merged commit da93458 into main Sep 19, 2026
5 checks passed
@heoblitz
heoblitz deleted the feature/vitepress branch September 21, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants