Skip to content

chore: version packages - #40

Merged
losolio merged 1 commit into
mainfrom
changeset-release/main
Aug 7, 2026
Merged

chore: version packages#40
losolio merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@eventuras/lectio-docs@0.4.0

Minor Changes

  • e8dc6b3: Multilingual documentation sets, opt-in via locales / defaultLocale in
    DocsConfig. A document's language comes from its frontmatter (locale: or
    language: — the only option when the filename isn't ours, like a package's
    README.md), else a filename suffix (terms.nb.md, the recommended
    convention), else a path segment (nb/terms.md). Only configured locales are
    recognised, so notes.draft.md and apps/v2/README.md aren't mistaken for
    translations.

    The marker is stripped from the slug, so every translation of a document shares
    one URL and stays one page in the nav. getTree(locale), getPages(locale) and
    getPage(slug, locale) resolve to the closest version available and report the
    locale the page is actually written in, so a host can tell the reader when they
    got a fallback; getLocales() lists what the manifest holds. Untranslated pages
    stay in the tree rather than being hidden.

    Omit locales and nothing changes: pages carry no locale, manifests are
    byte-identical to before, and the existing no-argument calls behave exactly as
    they always have.

  • e8dc6b3: parseFrontmatter is exported from ./content — the collector's private reader,
    now shared instead of duplicated. It is deliberately not a YAML parser: scalar
    key: value lines, values left as written, which is what documentation
    frontmatter actually is and what keeps the dependency tree at what the collector
    and the search index genuinely need.

    What it can't represent — lists, nested maps, block and flow scalars — it now
    names in unsupportedKeys instead of dropping in silence, and collect() warns
    per file. A reader this small is fine; one that loses a tags: list without
    saying so is not.

  • 453347d: Build a manifest without collect(), and resolve the links documents make to
    each other.

    pathToPage exports the file-to-page logic the collector uses — the slug a path
    gets, and the language it is written in — so a host whose content changes
    without a rebuild can assemble a manifest at runtime and still get the tree,
    the locale fallback and the search index. pathToSlug, pathToLocale,
    normalizeSlug and resolveRelativePath come with it, all pure and
    dependency-free.

    source.resolveLink(href, fromSource) maps a relative *.md link to the page
    it means, resolved against the source path of the document containing it rather
    than against a bare filename. Two sections can then each hold a config.md
    without [overview](../guides/config.md) becoming ambiguous, and a link from
    nb/privacy.md to terms.md lands on the Norwegian version of that page.

    A slug: in frontmatter now overrides the path-derived slug, so a document can
    keep a short, stable URL while its filename stays descriptive. Translations that
    disagree on the slug they declare are warned about while collecting — they would
    otherwise quietly stop being one page.

  • c8153bb: With no docs.config.ts, the CLI now generates an opinionated starter from the
    repo's shape: root docs/ first, then app readmes and docs under /apps, then
    /packages and /libs. Name variants share a group (apps/ or Applications/,
    libs/ or Libraries/), and repos with none of these directories keep the
    whole-tree **/*.md sweep.

    Source order is sidebar order, so the generated config is the navigation —
    configuring it means editing the file it wrote.

Patch Changes

  • 47461aa: buildTree puts the home page first and sinks decision-record sections (adr,
    adrs, decisions) to the bottom of the level they sit on. ADRs are reference
    material read after the narrative docs, and manifest order — which is glob
    order — otherwise scattered them mid-nav.

lectio-docs@0.2.3

Patch Changes

  • Updated dependencies [e8dc6b3]
  • Updated dependencies [e8dc6b3]
  • Updated dependencies [453347d]
  • Updated dependencies [c8153bb]
  • Updated dependencies [47461aa]
    • @eventuras/lectio-docs@0.4.0
    • @eventuras/lectio-docs-react@0.1.3

@eventuras/lectio-docs-react@0.1.3

Patch Changes

  • Updated dependencies [e8dc6b3]
  • Updated dependencies [e8dc6b3]
  • Updated dependencies [453347d]
  • Updated dependencies [c8153bb]
  • Updated dependencies [47461aa]
    • @eventuras/lectio-docs@0.4.0

@github-actions
github-actions Bot force-pushed the changeset-release/main branch 2 times, most recently from 87bf5a4 to aea3516 Compare August 7, 2026 22:08
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from aea3516 to 8a6aff6 Compare August 7, 2026 23:29
@losolio
losolio merged commit dab8b73 into main Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant