Skip to content

Commit faef8fb

Browse files
Tahulfarnabazatinuxbdrtskyclemcode
authored
chore: release 0.8.5 (#508)
* chore: fix lint * fix(twitter): add components dir to Windi scan options (#379) * docs: fix nuxt-img usage (#383) * fix(storage): clean deleted contents from storage (#382) * fix(core): prefetch used components from nuxt-content (#377) * fix(core): prefetch used components from nuxt-content * chore: add key for component * 📦 (deps) upgrade deps * chore: update deps * feat: respect nuxtignore (#386) * chore: fix lint * fix(twitter): add components dir to Windi scan options (#379) * docs: fix nuxt-img usage (#383) * fix(storage): clean deleted contents from storage (#382) * feat: respect nuxtignore * fix: revert ohmyfetch to 0.1.8 * 🔧 (siroc) remove minifying * ➖ (deps) remove terser & pify * 🚨 (lint) lint project * 💚 (ci) update CI * 💚 (ci) update ci (master => main) * 💚 (ci) fix ci prepare * 💚 (ci) fix CI * improve templates; move toc into AppContent (#375) * chore: import nuxtjs.org (#376) * chore: create nuxtjs clone * 🔥 (nuxtjs.org) remove nuxtjs.org clone * ✨ (nuxtjs.org) import nuxtjs.org from Florent's work * fix: paragraph and br margin; small fixes Co-authored-by: Farnabaz <[email protected]> Co-authored-by: Sergey Bedritsky <[email protected]> * fix(nuxtjs): use typescript * 🐛 (head) fix header meta * 🔧 (nuxt) re-add typescript build for nuxtjs.org * fix(core): do not wrap blocks inside paragraph (#390) * fix(core): do not wrapp blocks inside paragraph * chore: rename inline directive * fix(core): fix content language and serialize parse (#388) * 📦 (deps) downgrade siroc to get back .js * fix(github): prevent undefined error on last release * feat: find nearest exclusive parent for currentNav (#395) * feat: find nearest exclusive parent for currentNav * fix: issue with filtering * chore: remove default links * docs: add back link usage * fix: safari font size render (#401) * fix: list HMR (#402) * fix: improve ssr rendering (#397) * fix: improve ssr rendering * fix: hydration issue * fix(core): merge user defined class with component top level class (#403) * chore(admin): quick fix on admin * fix: handle boolean attributes (#404) * feat: navigation collapse & redirect (#405) * feat: navigation collapse & redirect * fix: redirect on page visit * 🐛 (redirect) redirect handling occuring to soon Co-authored-by: Yaël GUILLOUX <[email protected]> * content: migrate docs and examples folder from current website (#406) * content: WIP on current doc migration * fix: header navigation * chore: update testimnonials * content: WIP on docs migration * content: clean frontmatter * 🐛 (directory structure) fix nav and meta titles * content: Remove position on missed file * content: WIP on examples * content: Structure example folder * 🐛 (configuration glossary) fix nav and meta title * docs: add Evan quote * docs: NuxtJS -> Nuxt * 🐛 (internals glossary) fix nav and meta titles * content: Migrate components glossary * content: migrate deployment folder Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Florent <[email protected]> Co-authored-by: Yaël Guilloux <[email protected]> * feat: update docs (#400) * 🐛 (admin) update admin runtime plugin * ✨ (theme) update default theme, add contentDir to windi parsing * ✨ (asidebottom) update resources * ✨ (windi) cleanup windi config * ✨ (github) update github module logging * ✨ (prose) move prose components in its own folder * ✨ (components) refact components (wip) * ✨ (content) update components (heavily wip) * 🐛 (social-image) fix social image preview * 🐛 (navigation) make it fill space on desktop * 📝 (docs) write a lot of content * ✏️ (js) js by default * 🔧 (package) add generate:nuxtjs command * ✨ (theme) add default slot in card * 📝 (links) fix broken links * 📝 (fix) tagline * 📝 (prose) improve prose page * 📝 (prose) improve prose page * Update docs/content/1.get-started/1.installation.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/1.get-started/1.installation.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/2.writing/1.my-first-page.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/2.writing/2.syntax.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/2.writing/1.my-first-page.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/2.writing/2.syntax.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/3.features/5.deployment.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/3.features/5.deployment.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/4.theme/1.settings.md Co-authored-by: Daniel Roe <[email protected]> * 📝 (components) try to fix inject content * Update docs/content/2.writing/2.syntax.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/3.features/5.deployment.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/2.writing/3.front-matter.md Co-authored-by: Daniel Roe <[email protected]> * Update docs/content/2.writing/3.front-matter.md Co-authored-by: Daniel Roe <[email protected]> * 📝 (docs) update front-matter & fix components Co-authored-by: Daniel Roe <[email protected]> * 📝 (nuxtjs.org) fix * 📝 (components) update inline components syntax docs * chore: improve components * docs(nuxtjs): improve testimonials * docs(nuxtjs): another testimonial * docs(nuxtjs): adding Guillermo testimonial * 🐛 (defaultTheme) remove siroc dep from theme * fix: windicss scaning for dist vue sfc (#412) * feat: allow using flatten keys in frontmatter (#410) * fix: handle different order for slot and props for inline component (#409) * fix: handle different order for slot and props for inline component * fix: exit if there is no valid character after name * docs: update docs * fix: styles for nuxtjs.org 🚧 (#392) * add DM fonts * fix(nuxtjs): use typescript * init style fixes * ✨ (head) move design things to defaultTheme instead of app also improve Windi parsing * add body text tokens * move hero parallax * HeroDescription * cleanup section titles and description * merge conflict * cleanup section titles and description * fix buttons * discover dx items * add category label * section content item * header border and bg; footer; lot of fixes * fix: parallax * update primary color * fix sections bgs * fix dark footer text colors * tokenise body text color; fixes * fix docus aside and toc dark bg Co-authored-by: Farnabaz <[email protected]> Co-authored-by: Yaël GUILLOUX <[email protected]> * 🚨 (lint) lint project * 🐛 (css) temporarly fix theme() usage in .css * 🔖 (0.7.0) release 0.7.0 * fix(CodeGroup): prevent undefined error (#415) * fix(core): ignore invalid extensions (#423) * fix(core): use ignore pattern based on driver path (#418) * fix: nuxtjs.org design (#417) * add DM fonts * init style fixes * ✨ (head) move design things to defaultTheme instead of app also improve Windi parsing * add body text tokens * move hero parallax * HeroDescription * cleanup section titles and description * merge conflict * cleanup section titles and description * fix buttons * discover dx items * add category label * section content item * header border and bg; footer; lot of fixes * fix: parallax * update primary color * fix sections bgs * fix dark footer text colors * tokenise body text color; fixes * fix docus aside and toc dark bg * add DM fonts * fix(nuxtjs): use typescript * init style fixes * ✨ (head) move design things to defaultTheme instead of app also improve Windi parsing * add body text tokens * move hero parallax * HeroDescription * cleanup section titles and description * merge conflict * cleanup section titles and description * fix buttons * discover dx items * add category label * section content item * header border and bg; footer; lot of fixes * fix: parallax * update primary color * fix sections bgs * fix dark footer text colors * tokenise body text color; fixes * fix docus aside and toc dark bg * fix merge conflict * fix partners banner graqdient color * init resources page * init all pages; hero components Co-authored-by: Yaël GUILLOUX <[email protected]> Co-authored-by: Farnabaz <[email protected]> * docs: update components (#413) * ✨ (docs and exemple ) add collapsed and redirect navigation * 🍱 (iconAlert) add icon alert * 🔧 (windi.config.js) add purple color * ✨ (Alert) add Alert component and new alert types * 🐛 (Alert) fix classes and name * ✨ (iconAlert) update svg * ♻️ (installation) refacto w/ docus component * ♻️ (routing) refacto w/ docus component * ♻️ (directory-structure) refacto w/ docus compoenents * ♻️ (commands) refacto w/ docus components * ♻️ (docs/conclusion) refacto w/ docus components * ♻️ (docs/upgrading) refacto w/ docus components * ♻️ (docs/views) refacto w/ docus components * ♻️ (docs - context-helpers) refacto w/ docus components * ♻️ (server-side-rendering) update * ♻️ (docs - static-site-generation) update * ♻️ (docs - nuxt-lifecycle) refact w/ docus components * ♻️ (docs) update links (remove /2.x) * ♻️ (docs - features) update w/ docus components * ♻️ (docs - directory-structure) refacto w/ docus components * ♻️ (docs - configuration glossary) refacto w/ docus components * docs: update icon and title * ♻️ (docs - internals-glossary) refacto w/ docus components * ✨ (docs) add redirect on first page section if last page section * ♻️ (docs - components-glossary) refacto w/ docus components * 🐛 (docs - components gloassry - $nuxt) fix description * 🍱 (img) add github imgs for deployment section * ♻️ (docs - deployment) refacto w/ docus components * ♻️ (examples - routing) refacto w/ docus components * ♻️ (examples - data-fetching) refacto w/ docus components * ♻️ (examples - assets-management) refacto w/ docus components * ♻️ (examples - transitions) refacto w/ docus components * ♻️ (examples - seo) refacto w/ docus components * ♻️ (examples - loading) refacto w/ docus components * ♻️ (examples - miscellaneous) refacto w/ docus components * ♻️ (examples - middlewares) refacto w/ docus components * ✨ (examples - plugins) refacto w/ docus components * ♻️ (examples - modules) refacto w/ docus components * ♻️ (examples) replace code-sandbox w/ docus code-sandbox components * ♻️ (static-site-generation) refacto base alert w/ docus components Co-authored-by: Florent <[email protected]> Co-authored-by: Yaël Guilloux <[email protected]> * fix(nuxtjs): testimonials * fix: windicss version (#422) * 📌 (deps) fix windi version * 💄 (style) fix hotfix for theme() in main.css * feat: introduce `ProseH4` (#427) * feat: introduce `ProseH4` * fix: proseh4 inline code * docs(nuxtjs): Update home hero (#432) * docs(nuxtjs): Update home hero * fix: use onMounted for listening on mousemove * docs: update number of stars * feat(video-player): support youtube videos (#426) * feat(video-player): support youtube videos * fix: temporary use `<img`> * fix: ignore redirected contents (#428) * docs: blog migration (#429) * docs: migrate blog posts * docs: Use Docus syntax on blog posts * 🔧 (package) add nuxtjs commands * ✨ (social-image) allow to disable from docus.config * docs(nuxtjs): add Sadek testimonial and improve retina images * docs(nuxtjs): add fume as deployment platform (#439) * fix: fix bottom navigation query and improve grouping (#440) * fix: fix bottom navigation query and improve grouping * fix: ignore pages without title * 🐛 (images) import Vercel fix for nuxt/image on nuxtjs.org * fix: do not remove H1 from markdown content (#411) * fix: do not remove H1 from markdown content * feat: `extract.heading` * fix: improve UI * fix: trim text content * fix: handle string values * docs: improve Nuxtjs docs (#444) * fix: prevent syntax collision * fix: VideoPlayer UI and add youtube image cdn to image domains * docs: simplify VideoPlayer usage and add image domain * feat: team page (#442) * 👌 (Alert) CapitalCamelCase on IconAlert * 👌 (docs) use docus syntax for nav title * 👌 (docs) use docus syntax for nav title * 👌 (examples) csb_link moved to ::code-sandbox component * 🚧 (team page) * ✨ (teams) add core and community md files * 🔧 (windi.config) add sky color * ✨ (teams) teams page * 🐛 (TeamMember) fix invalid key on v-for * 🐛 (teams) change title to name * feat: collapsible docs (#438) * ✨ (nav) add releases to resources * ✨ (releases) hide releases page from nav * ✨ (resources) update code sandbox icon * 🐛 (aside) make aside sticky again * 📝 (collapse) collapse docs to avoid scrolling on nav when landing * docs: collapse get started * fix: rename to `collapse` Co-authored-by: Farnabaz <[email protected]> * docs(nuxtjs): dynamic blog content on homepage (#441) * docs: dynamic blog content on homepage * fix: remove console logs * docs: change query to get last 2 elements * docs(nuxtjs): home page marketing (#436) * docs(nuxtjs): home page marketig Co-Authored-By: Clément Ollivier <[email protected]> * chore: update to use markdown slots and props * docs: move content to markdown Love this syntax 🔥 * docs: update strong conventions * docs: Minor fix following design review * chore: fix lint issue * docs: first draft of homepage cards content * docs: update icons and fix cli bg color Co-authored-by: Clément Ollivier <[email protected]> * docs(nuxtjs): update icon colors * docs(nuxtjs): update teams * fix(PageContent): add missing condition * docs(nuxtjs): add 2 more testimonials * docs(nuxtjs): update Jimmy profile * docs(nuxtjs): don't extract * docs: update preview (#430) * docs: Update preview * fix: set meta tags Co-authored-by: Farnabaz <[email protected]> * docs: update footer links (#446) * ui: nuxtjs.org design (#435) * footer image * resources page; some tokenisation * themes page * video courses page * blog pages * update secondary text color in dark mode for index Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Yaël GUILLOUX <[email protected]> * feat: color mode selector (#449) * chore: styles tokenisation (#425) * init tokenisation * clean current shortcuts * init Algolia; new AppHeader * complete primary tokenisation * algolia search modal completed * fix Algolia bugs * add border to aside * add code group header token * tokenize code components * 🐛 (page-prev-next) fix component after mege Co-authored-by: Yaël GUILLOUX <[email protected]> * feat: change ignore behavior (#448) * fix: change ignore behavior * chore: update docs * docs: document new system * fix: generateSlug * fix: do not render hidden contents as a standalone page * docs: update docs * 🐛 (alert) fix alert icons * fixes (#454) * docs: update team * docs(nuxtjs): update testimonial * 🐛 (header) fix blog link * feat: add releases link in aside bottom (#456) * feat: add releases link in aside bottom * fix: move to `/releases` * docs: add sponsors and ads to sidebar (#420) * ✨ (docs and exemple ) add collapsed and redirect navigation * 🍱 (iconAlert) add icon alert * 🔧 (windi.config.js) add purple color * ✨ (Alert) add Alert component and new alert types * 🐛 (Alert) fix classes and name * ✨ (iconAlert) update svg * ♻️ (installation) refacto w/ docus component * ♻️ (routing) refacto w/ docus component * ♻️ (directory-structure) refacto w/ docus compoenents * ♻️ (commands) refacto w/ docus components * ♻️ (docs/conclusion) refacto w/ docus components * ♻️ (docs/upgrading) refacto w/ docus components * ♻️ (docs/views) refacto w/ docus components * ♻️ (docs - context-helpers) refacto w/ docus components * ♻️ (server-side-rendering) update * ♻️ (docs - static-site-generation) update * ♻️ (docs - nuxt-lifecycle) refact w/ docus components * ♻️ (docs) update links (remove /2.x) * ♻️ (docs - features) update w/ docus components * ♻️ (docs - directory-structure) refacto w/ docus components * ♻️ (docs - configuration glossary) refacto w/ docus components * docs: update icon and title * ♻️ (docs - internals-glossary) refacto w/ docus components * ✨ (docs) add redirect on first page section if last page section * ♻️ (docs - components-glossary) refacto w/ docus components * 🐛 (docs - components gloassry - $nuxt) fix description * 🍱 (img) add github imgs for deployment section * ♻️ (docs - deployment) refacto w/ docus components * ♻️ (examples - routing) refacto w/ docus components * docs: add sponsors and ads to sidebar * ♻️ (examples - data-fetching) refacto w/ docus components * ♻️ (examples - assets-management) refacto w/ docus components * ♻️ (examples - transitions) refacto w/ docus components * ♻️ (examples - seo) refacto w/ docus components * ♻️ (examples - loading) refacto w/ docus components * ♻️ (examples - miscellaneous) refacto w/ docus components * ♻️ (examples - middlewares) refacto w/ docus components * ✨ (examples - plugins) refacto w/ docus components * ♻️ (examples - modules) refacto w/ docus components * ♻️ (examples) replace code-sandbox w/ docus code-sandbox components * ♻️ (static-site-generation) refacto base alert w/ docus components * fix: Update svg asset path * fix: use defineComponent for ads * docs: use md and docus API to get partners * fix: remove aside slider and improve home slider Co-Authored-By: Clément Ollivier <[email protected]> * chore: remove un-used components for partners Co-Authored-By: Clément Ollivier <[email protected]> * 🐛 (adsblock) margin adsblock * 🐛 (dark) fix dark mode Co-authored-by: Florent <[email protected]> Co-authored-by: Yaël Guilloux <[email protected]> Co-authored-by: Sébastien Chopin <[email protected]> * docs: update home icons (#455) * docs(nuxtjs): add hightlight components and global Markdown (#459) * Docs/fix/broken links (#450) * docs: fix broken links * docs: fix blog posts links and surrounding href * fix: links on images and title + support category prop * docs: update links in learn section * fix: learn everything link * fix: update fiooter wording (#461) * fix(core): fix ignore pattern * Error page done (#452) * Error page done * 🐛 (page) update template location to avoid overwriting docus error page Co-authored-by: Yaël GUILLOUX <[email protected]> * feat: design kit page (#457) * 🚧 (Design-kit) design kit wip * 🍱 (design-kit) add assets * 🔧 (.gitignore) update * 📝 (design kit) add content * ✨ (design kit) design page * fix: right click on logo * docs: remove last section * 👌 (design kit) change png/svg text color * 🐛 (temporary) temporary fix for unparsed class (bg-secondary-darker) Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Yaël GUILLOUX <[email protected]> * fix: use postprocess to limit docs (#453) * fix: safari issues (#458) * fix: svg scaling in safari * fix: safari image aspect ratio and partners icons Co-authored-by: Yaël GUILLOUX <[email protected]> * docs: add video courses link to nav (#460) * docs: add video courses link to nav * 🐛 (header) remove header navigation unused code Co-authored-by: Yaël GUILLOUX <[email protected]> * docs: fix lead paragraph * 🐛 (image) fix nuxt image domains * docs(nuxtjs): keep moving to markdown * docs(nuxtjs): marketing * docs(nuxtjs): fix multiple scripts * docs(nuxtjs): campire to markdown and rename partners * fix: add resources and remove design kit from nav (#467) * fix: add resources and remove design kit from nav * Update HeaderNavigation.vue Co-authored-by: Sébastien Chopin <[email protected]> * fix: homepage paddings (#465) * feat: sponsors nuxtjs page (#468) * 🍱 (sustainability) add sponsors img * 🚧 (sustainability) sustainability page * 🍱 (sponsors) add logo * 📝 (sponsors) * ✨ (sponsors) sonspors page * 🐛 (format) remove unnecessary import Co-authored-by: Yaël GUILLOUX <[email protected]> * Support page (#466) * Support page * 🚧 (md) move component content to markdown * ✨ (support) move content into markdoown Co-authored-by: Yaël GUILLOUX <[email protected]> * feat: universal link (#469) * ✨ (universal-link) implement UniversalLink component * ✨ (content-card) update content card template w/ UniversalLink * ✨ (lists) update lists components * ✨ (header) update header navigation * ✨ (universal-link) update current link components using universal link * 🚨 (format) add a little space * 🚨 (..) .. * 📝 (docs) update docs content & components usage * ✨ (link) update UniversalLink to Link; POW * ✨ (blogpostlist) update href * ✨ (headernavigation) update nuxtjs header nav; use <nav> instead of <div> * fix: css improvements and fixes (#464) * fix: css improvements and fixes * improve responsiveness * notes * prose styling * show toc aside always * fix blogpost list container * improve header nav * fix: multiple integration issues (#476) * fix: i18n (#462) * init * docs: update fr docs * fix: path nuxt-i18n issue * fix(navigation): use `route.params.pathMatch` * fix(navigation): use `app.i18n.locale` * fix: lint * fix: use Docus translations * fix: typo * fix: handle html tags in colon syntax (#474) * fix: handle html tags in colon syntax * fix: typo * feat: inline text attributes with `[]{}` syntax (#471) * feat: inline text attributes with `[]{}` syntax * docs: add text attributes syntax * Update docs/content/2.writing/2.syntax.md Co-authored-by: Sébastien Chopin <[email protected]> * fix: cleanup & typo Co-authored-by: Sébastien Chopin <[email protected]> * fix: detect static files (#472) Co-authored-by: Yaël Guilloux <[email protected]> * ✏️ (icons) remove wrong casing for icons * ✏️ (icons) re-add correctly cased icons * 🔥 (DesignSection) remove Markdown component import * fix: partners logo path and height class (#491) * feat: home discover animation (#463) * 🚧 (HomeDiscover) lottie animation * 🔥 (lottie) remove json * fix: lottie ref * ✨ (HomeDiscover) anim * ♻️ (HomeDiscover) replace the 5 animations in one and add segments * ✨ (HomeDiscover) update json lottie path * ✨ (HomeDiscover) play/pause animation on scoll * ✨ (HomeDiscover) anim according color mode * ✨ (HomeDiscover) change threshold for anim visibility * 🐛 (HomeDiscover) add any type on useContext to avoid lint error * ♻️ (HomeDiscover) change layout anim size Co-authored-by: Farnabaz <[email protected]> Co-authored-by: Yaël GUILLOUX <[email protected]> * docs: update images and content on resources section (#490) * feat(admin): preview routing (#482) * chore: update eslint rules for <script setup> (#486) * fix: change markdown interface (#480) Co-authored-by: Yaël Guilloux <[email protected]> * feat(admin): improvements - Select default page - Fix Static tab - Renamed Pages to Content on API * docs: minor fixes (#495) * fix: use `github.releases` to fetch releases (#496) * feat: introduce markdown attributes syntax `{}` (#488) * feat: introduce markdown attributes syntax `{}` * fix: update `ProseEm` styles * fix: conflict with link syntax * docs: add attributes * docs: update images to use markdown syntax * 📝 (prose) add ProseEm to docs * ✨ (defaultTheme) add markdown parsing for WindiCSS * 📦 (deps) upgrade dependencies (windicss, nuxt, ...) * 🐛 (pageprevnext) remove unnecessary v-if Co-authored-by: Yaël GUILLOUX <[email protected]> * Tokenisation & Prose components cleanup (#492) * ProseA * ProseBlockquote * ProseCode * ProseCodeInline * 🐛 (colors) fix default theme using nuxtjs color also remove breaky comment :D Co-authored-by: Yaël GUILLOUX <[email protected]> * chore: refact nuxtjs.org components (#477) * 🚧 (components) move components into directories * ♻️ (components) update components naming, refact usage * 🐛 (link) move static logic into Link instead of ProseA and bind props * 🔀 (merge) fix merge conflicts * 🐛 (nuxtjs.org) fix design typography color in dark mode * 🔖 (0.8.0-beta) release 0.8.0-beta * 🐛 (plugin) fix global components plugin; does not support .ts * 🔖 (0.8.2-beta) release 0.8.2-beta * 🔥 (nuxtjs.org) remove nuxtjs.org directory from docus project * feat(admin): preview nav icons and editable url (#498) * fix(List): remove unused component import * feat(admin): dark mode (#502) * feat(admin): use Vite as middleware on dev (#500) * feat(admin): use Vite as middleware on dev close #293 * chore: fix build * feat(admin): dark mode (#502) * fix: resolve docus dist dir properly * fix(admin): update api entry * 🐛 (windicss) temp fix for WindiCSS; moving css into AppLayout style * fix: do not extract heading from content (#506) * fix: do not extract heading from content * fix: update shortcuts * fix: remove anchor link from H1 tag * ✨ (extraction) update content and fix styling Co-authored-by: Yaël GUILLOUX <[email protected]> * fix(windicss): extractor for custom syntax (#504) * fix(windicss): extractor for custom syntax close #503 * docs: add usage Co-authored-by: Farnabaz <[email protected]> * feat: improve navigation structure (#501) * docs: update deployment emote (#507) * docs: update deployment emote * fix: email input placeholder * fix: continue tokenisation & prose cleanup (#505) * ProseEm * ProseH1 * ProseH2 * ProseH3 * ProseH4 * ProseHr * ProseImg * ProseLi * 📦 (deps) upgrade dependencies * 🐛 (windi) switch back to main.css as latest Windi fixed it :) * 🚨 (lint) lint project * 🔖 (0.8.0) release 0.8.0 * 🔖 (0.8.4) release 0.8.4 * docs: branding * chore: favicon for admin and docs * fix: tokenisation & prose cleanup finish (#510) * ProseOl * ProseStrong * ProseTable * ProseTd * ProseUl * fix(AsideNavigation): typo in collapse prop name * feat(admin): Monaco, Resize panels, improved explorer (#509) * feat(admin): merge frontmatter and content * chore: init monaco * chore: fix lint * feat: monaco dark mode * feat(admin): resizable panels, close #484 * style: improve explorer * chore: enabled wordWrap for monaco * style: panel style * style(admin): explorer scoll * fix(admin): monaco build * feat: populate `document.empty` and hide empty indexes from bottom navigation (#511) * 🔖 (0.8.5) release 0.8.5 Co-authored-by: Farnabaz <[email protected]> Co-authored-by: Sébastien Chopin <[email protected]> Co-authored-by: Sergey Bedritsky <[email protected]> Co-authored-by: Clément Ollivier <[email protected]> Co-authored-by: Florent <[email protected]> Co-authored-by: Daniel Roe <[email protected]> Co-authored-by: Anthony Fu <[email protected]> Co-authored-by: Vincent Rodriguez <[email protected]>
1 parent 965e190 commit faef8fb

File tree

227 files changed

+5094
-2849
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+5094
-2849
lines changed

.eslintrc.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
'error',
1919
'PascalCase',
2020
{
21-
registeredComponentsOnly: false
21+
registeredComponentsOnly: true
2222
}
2323
],
2424
'vue/singleline-html-element-content-newline': [0],
@@ -53,5 +53,14 @@ module.exports = {
5353
// To your `settings.json`, from VSCode.
5454
//
5555
'vue/no-multiple-template-root': 0
56-
}
56+
},
57+
// controlled by Volar
58+
overrides: [
59+
{
60+
files: ['*.vue'],
61+
rules: {
62+
'@typescript-eslint/no-unused-vars': 'off'
63+
}
64+
}
65+
]
5766
}

.github/workflows/ci.yml

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,44 +3,54 @@ name: ci
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
- dev
88
pull_request:
99
branches:
10-
- master
10+
- main
1111
- dev
1212

1313
jobs:
1414
ci:
1515
runs-on: ${{ matrix.os }}
1616
strategy:
1717
matrix:
18-
os: [ubuntu-latest, macos-latest, windows-latest]
19-
node: [12]
18+
os: [ubuntu-latest] # macos-latest, windows-latest - TODO: Fix sharp on Windows
19+
node: [16]
2020

2121
steps:
2222
- uses: actions/setup-node@v2
2323
with:
2424
node-version: ${{ matrix.node }}
2525

26+
# Checkout repositoroy
2627
- name: checkout
2728
uses: actions/checkout@master
2829

30+
# Cache node_modules
2931
- name: cache node_modules
3032
uses: actions/cache@v2
3133
with:
3234
path: node_modules
3335
key: ${{ matrix.os }}-node-v${{ matrix.node }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/yarn.lock')) }}
3436

37+
# Instal deps
3538
- name: Install dependencies
3639
if: steps.cache.outputs.cache-hit != 'true'
3740
run: yarn
3841

42+
# Run linting
3943
- name: Lint
4044
run: yarn lint
4145

46+
# Run tests
4247
- name: Run tests
43-
run: yarn jest
48+
run: yarn test
4449

50+
# Build Docus package
51+
- name: Build
52+
run: yarn build
53+
54+
# Code coverage
4555
# - name: Coverage
4656
# uses: codecov/codecov-action@v1

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ dist
1010
sw.*
1111
.env
1212
dist
13+
14+
# TODO: Remove that
15+
!1.logos.md

docs/components/AppFooter.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
flex
1111
items-end
1212
text-gray-700
13-
dark:text-gray-400
14-
dark:hover:text-gray-100
13+
dark:text-gray-400 dark:hover:text-gray-100
1514
hover:text-gray-600
1615
mb-3
1716
sm:mb-0

docs/components/AsideBottom.vue

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
<h5 class="py-2 text-base font-semibold text-gray-900 cursor-pointer dark:text-gray-100">Resources</h5>
44
<ul>
55
<li v-for="resource of resources" :key="resource.title">
6+
<!-- Href links via `url` -->
67
<a
8+
v-if="!resource.to"
79
:href="resource.url"
10+
:to="resource.to"
811
target="_blank"
912
rel="noopener nofollow"
1013
class="flex items-center py-1.5 group dark:hover:text-gray-100 hover:text-gray-900"
@@ -13,6 +16,20 @@
1316
<span>{{ resource.title }}</span>
1417
<IconExternalLink class="w-4 h-4 ml-2 text-gray-400 opacity-0 group-hover:opacity-100" />
1518
</a>
19+
20+
<!-- Local links via `to` -->
21+
<NuxtLink
22+
v-else
23+
:to="resource.to"
24+
class="flex items-center py-1.5 group dark:hover:text-gray-100 hover:text-gray-900"
25+
>
26+
<Component :is="resource.icon" v-if="resource.icon" class="w-5 h-5 mr-2" :class="resource.iconClass" />
27+
<span>{{ resource.title }}</span>
28+
<IconExternalLink
29+
v-if="resource.to.startsWith('https://')"
30+
class="w-4 h-4 ml-2 text-gray-400 opacity-0 group-hover:opacity-100"
31+
/>
32+
</NuxtLink>
1633
</li>
1734
</ul>
1835
</div>
@@ -25,6 +42,11 @@ export default defineComponent({
2542
setup() {
2643
return {
2744
resources: [
45+
{
46+
title: 'Releases',
47+
to: '/releases',
48+
icon: 'IconGit'
49+
},
2850
{
2951
title: 'NuxtJS',
3052
url: 'https://nuxtjs.org',
@@ -41,9 +63,9 @@ export default defineComponent({
4163
icon: 'IconWindi'
4264
},
4365
{
44-
title: 'Nuxt Content',
45-
url: 'https://content.nuxtjs.org',
46-
icon: 'IconNuxtContent'
66+
title: 'CodeSandbox',
67+
url: 'https://codesandbox.io/embed/docus-starter-1xsm7?hidenavigation=1&theme=dark',
68+
icon: 'IconCodeSandbox'
4769
}
4870
]
4971
}

docs/components/HeaderNavigation.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,9 @@
33
<ButtonLink v-show="$route.path === '/'" href="/get-started/installation" size="small" bold>
44
Get started
55
</ButtonLink>
6+
7+
<ButtonLink v-show="$route.path.includes('templates')" href="/get-started/installation" size="small" bold>
8+
Back to Docs
9+
</ButtonLink>
610
</div>
711
</template>

docs/components/icons/IconGit.vue

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<template>
2+
<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px">
3+
<path
4+
d="M 6 2 C 4.346 2 3 3.346 3 5 C 3 6.3016094 3.8387486 7.4021391 5 7.8164062 L 5 15 C 5 17.749516 7.2504839 20 10 20 L 11 20 L 11 21.025391 C 11 21.512391 11.588594 21.757109 11.933594 21.412109 L 13.755859 19.591797 C 14.082859 19.264797 14.082859 18.735203 13.755859 18.408203 L 11.933594 16.587891 C 11.588594 16.243891 11 16.487609 11 16.974609 L 11 18 L 10 18 C 8.3315161 18 7 16.668484 7 15 L 7 7.8164062 C 8.1612514 7.4021391 9 6.3016094 9 5 C 9 3.346 7.654 2 6 2 z M 12.357422 2.4335938 C 12.253687 2.4514844 12.152656 2.5018906 12.066406 2.5878906 L 10.244141 4.4082031 C 9.9171406 4.7352031 9.9171406 5.2647969 10.244141 5.5917969 L 12.066406 7.4121094 C 12.411406 7.7571094 13 7.5123906 13 7.0253906 L 13 6 L 14 6 C 15.668484 6 17 7.3315161 17 9 L 17 16.183594 C 15.838749 16.597861 15 17.698391 15 19 C 15 20.654 16.346 22 18 22 C 19.654 22 21 20.654 21 19 C 21 17.698391 20.161251 16.597861 19 16.183594 L 19 9 C 19 6.2504839 16.749516 4 14 4 L 13 4 L 13 2.9746094 C 13 2.6093594 12.668625 2.3799219 12.357422 2.4335938 z"
5+
/>
6+
</svg>
7+
</template>

docs/components/icons/IconLighthouse.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<svg height="2500" viewBox="0 0 512 548.20728733" width="2500" xmlns="http://www.w3.org/2000/svg">
2+
<svg height="64" viewBox="0 0 512 548.20728733" width="64" xmlns="http://www.w3.org/2000/svg">
33
<g fill="none" fill-rule="evenodd">
44
<circle cx="256" cy="256" fill="#0535c1" fill-rule="nonzero" r="256" />
55
<path d="m311.273 116.364h151.272v151.272h-151.272z" />

docs/components/icons/IconMarkdown.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<svg
33
xmlns="http://www.w3.org/2000/svg"
44
viewBox="0 0 26 26"
5+
height="64"
56
fill="currentColor"
67
class="text-gray-900 dark:text-gray-100"
78
>

docs/components/icons/IconPuzzle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
2+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64">
33
<path
44
fill="#00DC82"
55
d="M48,27v-5c0-2.761-2.239-5-5-5h-5c-1.105,0-2-0.895-2-2v-2c0-3.866-3.134-7-7-7h0 c-3.866,0-7,3.134-7,7v2c0,1.105-0.895,2-2,2h-5c-2.761,0-5,2.239-5,5v5c0,1.105,0.895,2,2,2h2c3.866,0,7,3.134,7,7v0 c0,3.866-3.134,7-7,7h-2c-1.105,0-2,0.895-2,2v5c0,2.761,2.239,5,5,5h28c2.761,0,5-2.239,5-5v-5c0-1.105,0.895-2,2-2h2 c3.866,0,7-3.134,7-7v0c0-3.866-3.134-7-7-7h-2C48.895,29,48,28.105,48,27z"

0 commit comments

Comments
 (0)