diff --git a/v3-docs/docs/.vitepress/config.mts b/v3-docs/docs/.vitepress/config.mts index 2a4816a508..10ddb8fece 100644 --- a/v3-docs/docs/.vitepress/config.mts +++ b/v3-docs/docs/.vitepress/config.mts @@ -2,8 +2,8 @@ import { defineConfig } from "vitepress"; // https://vitepress.dev/reference/site-config export default defineConfig({ - title: "Meteor Docs", - description: "Meteor.js API Docs", + title: "Docs", + description: "Meteor.js Docs", head: [ ["link", { rel: "icon", href: "/logo.png" }], [ @@ -26,12 +26,79 @@ export default defineConfig({ themeConfig: { // https://vitepress.dev/reference/default-theme-config nav: [ - { text: "Deploy", link: "https://www.meteor.com/cloud" }, { - text: "Tutorials", - link: "https://www.meteor.com/developers/tutorials", + text: 'Docs', + activeMatch: `^/(guide|docs|examples)/`, + items: [ + + { text: 'Quick Start', link: '/about/install' }, + { text: 'Examples', link: 'https://github.com/meteor/examples' }, + { + text: 'Meteor.js 2 Docs', + link: 'https://v2-docs.meteor.com' + }, + { + text: 'Migration from Meteor.js 2', + link: 'https://v3-migration-docs.meteor.com' + } + ] }, - { text: "Forums", link: "https://forums.meteor.com/" }, + { + text: 'Ecosystem', + activeMatch: `^/ecosystem/`, + items: [ + { + text: 'Community & Help', + items: [ + { + text: 'Meteor Forums', + link: 'https://forums.meteor.com' + }, + { + text: 'Meteor Lounge Discord', + link: 'https://discord.gg/hZkTCaVjmT' + }, + { + text: 'GitHub Discussions', + link: 'https://github.com/meteor/meteor/discussions' + }, + ] + }, + { + text: 'Resources', + items: [ + { text: 'Packages on Atmosphere', link: 'https://atmospherejs.com/' }, + { text: 'VS Code Extension', link: 'https://marketplace.visualstudio.com/items?itemName=meteor-toolbox.meteor-toolbox' }, + { text: 'DevTools - Chrome Extension', link: 'https://chromewebstore.google.com/detail/ibniinmoafhgbifjojidlagmggecmpgf' }, + { text: 'DevTools - Firefox Extension', link: 'https://addons.mozilla.org/en-US/firefox/addon/meteor-devtools-evolved/' }, + ] + }, + { + text: 'Learning', + items: [ + { + text: 'Meteor University', + link: 'https://university.meteor.com' + }, + { + text: 'Youtube Channel', + link: 'https://www.youtube.com/@meteorsoftware' + }, + ] + }, + { + text: 'News', + items: [ + { text: 'Blog on Dev.to', link: 'https://dev.to/meteor' }, + { text: 'Blog on Medium', link: 'https://blog.meteor.com' }, + { text: 'Twitter', link: 'https://x.com/meteorjs' }, + { text: 'LinkedIn', link: 'https://www.linkedin.com/company/meteor-software/' }, + ] + } + ] + }, + { text: "API", link: "/api/" }, + { text: "Galaxy Cloud", link: "https://www.meteor.com/cloud" }, ], sidebar: [ { @@ -296,7 +363,13 @@ export default defineConfig({ }, ], - socialLinks: [{ icon: "github", link: "https://github.com/meteor/meteor" }], + socialLinks: [{ icon: "github", link: "" }], + socialLinks: [ + { icon: 'github', link: 'https://github.com/meteor/meteor' }, + { icon: 'twitter', link: 'https://x.com/meteorjs' }, + { icon: 'discord', link: 'https://discord.gg/hZkTCaVjmT' } + ], + logo: { dark: "/meteor-logo.png", light: "/meteor-blue.png" }, search: { @@ -318,7 +391,7 @@ export default defineConfig({ 'Copyright (c) 2011 - present Meteor Software.', }, editLink: { - pattern: "https://github.com/meteor/meteor/edit/release-3.0/v3-docs/docs/:path", + pattern: "https://github.com/meteor/meteor/edit/devel/v3-docs/docs/:path", text: "Edit this page on GitHub", }, }, diff --git a/v3-docs/docs/about/install.md b/v3-docs/docs/about/install.md index 516b86a4bf..ef2d191ebe 100644 --- a/v3-docs/docs/about/install.md +++ b/v3-docs/docs/about/install.md @@ -3,6 +3,9 @@ You need to install the Meteor command line tool to create, run, and manage your Meteor.js projects. Check the prerequisites and follow the installation process below. +```bash +npx meteor +``` ## Prerequisites {#prereqs} @@ -29,7 +32,7 @@ Install the latest official version of Meteor.js from your terminal by running o For Windows, Linux and OS X, you can run the following command: ```bash -npx meteor@rc +npx meteor ``` ::: tip @@ -136,7 +139,7 @@ To be able to user `meteor` command from fish it's needed to include `/home/