Repository navigation
docs: document navPosition and one deck in several languages (2.1) - #11
Merged
Merged
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview Deployments by commit
|
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.
Documents the two features of slide.ng 2.1.
navPosition: a new headmatter row, and a note in Shortcuts where the navigation bar is described. It is also listed under "Added in slide.ng" on the Slidev differences page.languages:. It covers the language menu in the bar, how slides are paired by number, and what a switch keeps and loses. The old one-build-per-language recipe stays as an option.languagesheadmatter row is added.--langin the CLI reference and the export guide now says what it does withlanguages, includingexport --lang tr.The samples were checked with a build of slide.ng main: a deck with
navPosition: top-rightandlanguagesin Chromium (menu, switch, reload at the same address) andexport --lang tr.Checks:
prettier --check .,vite build,check:dist(no broken links),check:landingandvitest run(161 tests) pass. The Cloudflare preview check fails on main too.Merge after @slide-ng/core 2.1.0 is on npm.