Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update URL paths to use dynamic menu structure via useContent hook & also updated the package.json files dev scipts that caused error on windows machine while setting up project locally ! #7201

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
"cli.qwik": "pnpm build.cli && node packages/qwik/dist/qwik-cli.cjs",
"cli.validate": "tsx --require ./scripts/runBefore.ts scripts/validate-cli.ts",
"deps": "corepack pnpm upgrade -i -r --latest && syncpack fix-mismatches && corepack pnpm dedupe",
"docs.dev": "cd packages/docs && pnpm build.repl-sw && pnpm dev",
"docs.dev": "concurrently \"cd packages/docs && pnpm build.repl-sw\" \"cd packages/docs && pnpm dev\"",
iitzIrFan marked this conversation as resolved.
Show resolved Hide resolved
"docs.preview": "cd packages/docs && pnpm preview",
"docs.sync": "tsx --require ./scripts/runBefore.ts scripts/docs_sync/index.ts && pnpm fmt",
"eslint.update": "tsx --require ./scripts/runBefore.ts scripts/eslint-docs.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"codesandbox.sync": "tsx codesandbox.sync.ts",
"contributors": "tsx contributors.ts",
"deploy": "wrangler pages publish ./dist",
"dev": "tsx check-qwik-build.ts && vite --mode ssr --open",
"dev": "concurrently \"tsx check-qwik-build.ts\" \"vite --mode ssr --open\"",
iitzIrFan marked this conversation as resolved.
Show resolved Hide resolved
"dev.debug": "node --inspect-brk ../../node_modules/vite/bin/vite.js --mode ssr --force",
"prebuild.core": "tsx check-qwik-build.ts",
"preview": "qwik build preview && vite preview --open",
Expand Down
71 changes: 37 additions & 34 deletions packages/docs/src/routes/docs/menu.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Qwik Guide

## Introduction
## Qwik Group
iitzIrFan marked this conversation as resolved.
Show resolved Hide resolved

- [Overview](</docs/(qwik)/index.mdx>)
- [Getting Started](</docs/(qwik)/getting-started/index.mdx>)
Expand All @@ -16,10 +16,29 @@
- [Context](</docs/(qwik)/components/context/index.mdx>)
- [Slots](</docs/(qwik)/components/slots/index.mdx>)
- [Rendering](</docs/(qwik)/components/rendering/index.mdx>)
- [Styling](</docs/(qwik)/components/styles/index.mdx>)
- [Styling][def]
iitzIrFan marked this conversation as resolved.
Show resolved Hide resolved
- [API Reference](</api/qwik/>)

## Qwik City
## Concepts

- [Think Qwik](</docs/(qwik)/concepts/think-qwik/index.mdx>)
- [Resumable](</docs/(qwik)/concepts/resumable/index.mdx>)
- [Progressive](</docs/(qwik)/concepts/progressive/index.mdx>)
- [Reactivity](</docs/(qwik)/concepts/reactivity/index.mdx>)

## Qwik Advanced

- [The $ dollar sign](</docs/(qwik)/advanced/dollar/index.mdx>)
- [Containers](</docs/(qwik)/advanced/containers/index.mdx>)
- [QRL](</docs/(qwik)/advanced/qrl/index.mdx>)
- [Library mode](</docs/(qwik)/advanced/library/index.mdx>)
- [Qwikloader](</docs/(qwik)/advanced/qwikloader/index.mdx>)
- [Optimizer](</docs/(qwik)/advanced/optimizer/index.mdx>)
- [Modules Prefetching](</docs/(qwik)/advanced/modules-prefetching/index.mdx>)
- [Build Directory](</docs/(qwik)/advanced/custom-build-dir/index.mdx>)
- [Vite](</docs/(qwik)/advanced/vite/index.mdx>)

## QwikCity

- [Overview](</docs/(qwikcity)/qwikcity/index.mdx>)
- [Routing](</docs/(qwikcity)/routing/index.mdx>)
Expand All @@ -31,11 +50,21 @@
- [Endpoints](</docs/(qwikcity)/endpoints/index.mdx>)
- [Middleware](</docs/(qwikcity)/middleware/index.mdx>)
- [server$](</docs/(qwikcity)/server$/index.mdx>)
- [Re-exporting loaders](/docs/(qwikcity)/re-exporting-loaders/index.mdx)
- [Re-exporting loaders](/docs/(qwikcity)/re-exporting-loaders/index.mdx>)
iitzIrFan marked this conversation as resolved.
Show resolved Hide resolved
- [Caching](</docs/(qwikcity)/caching/index.mdx>)
- [HTML attributes](</docs/(qwikcity)/html-attributes/index.mdx>)
- [API reference](</docs/(qwikcity)/api/index.mdx>)

## QwikCity Advanced

- [Content Security Policy](</docs/(qwikcity)/advanced/content-security-policy/index.mdx>)
- [Menus](</docs/(qwikcity)/advanced/menu/index.mdx>)
- [Request Handling](</docs/(qwikcity)/advanced/request-handling/index.mdx>)
- [Advanced Routing](</docs/(qwikcity)/advanced/routing/index.mdx>)
- [Sitemaps](</docs/(qwikcity)/advanced/sitemaps/index.mdx>)
- [Speculative Module Fetching](</docs/(qwikcity)/advanced/speculative-module-fetching/index.mdx>)
- [Static Assets](</docs/(qwikcity)/advanced/static-assets/index.mdx>)

## Cookbook

- [Overview](/docs/cookbook/index.mdx)
Expand Down Expand Up @@ -109,35 +138,6 @@
- [Bundle Optimization](</docs/(qwikcity)/guides/bundle/index.mdx>)
- [Env variables](</docs/(qwikcity)/guides/env-variables/index.mdx>)

## Concepts

- [Think Qwik](</docs/(qwik)/concepts/think-qwik/index.mdx>)
- [Resumable](</docs/(qwik)/concepts/resumable/index.mdx>)
- [Progressive](</docs/(qwik)/concepts/progressive/index.mdx>)
- [Reactivity](</docs/(qwik)/concepts/reactivity/index.mdx>)

## Advanced

- [The $ dollar sign](</docs/(qwik)/advanced/dollar/index.mdx>)
- [Containers](</docs/(qwik)/advanced/containers/index.mdx>)
- [QRL](</docs/(qwik)/advanced/qrl/index.mdx>)
- [Library mode](</docs/(qwik)/advanced/library/index.mdx>)
- [Qwikloader](</docs/(qwik)/advanced/qwikloader/index.mdx>)
- [Optimizer](</docs/(qwik)/advanced/optimizer/index.mdx>)
- [Modules Prefetching](</docs/(qwik)/advanced/modules-prefetching/index.mdx>)
- [Build Directory](</docs/(qwik)/advanced/custom-build-dir/index.mdx>)
- [Vite](</docs/(qwik)/advanced/vite/index.mdx>)
- [Advanced Routing](</docs/(qwikcity)/advanced/routing/index.mdx>)
- [Qwik Plugins](</docs/(qwikcity)/advanced/plugins/index.mdx>)
- [Request Handling](</docs/(qwikcity)/advanced/request-handling/index.mdx>)
- [Speculative Module Fetching](</docs/(qwikcity)/advanced/speculative-module-fetching/index.mdx>)
- [Menus](</docs/(qwikcity)/advanced/menu/index.mdx>)
- [Static Assets](</docs/(qwikcity)/advanced/static-assets/index.mdx>)
- [Sitemaps](</docs/(qwikcity)/advanced/sitemaps/index.mdx>)
- [ESLint-Rules](</docs/(qwik)/advanced/eslint/index.mdx>)
- [Content Security Policy](</docs/(qwikcity)/advanced/content-security-policy/index.mdx>)
- [Complex Forms](</docs/(qwikcity)/advanced/complex-forms/index.mdx>)

## Reference

- [API Reference](/api/)
Expand All @@ -149,7 +149,7 @@
- [Insights](/docs/labs/insights/index.mdx)
- [Typed Routes](/docs/labs/typed-routes/index.mdx)
- [Devtools](/docs/labs/devtools/index.mdx)
- [usePreventNavigate](/docs/labs/usePreventNavigate/index.mdx)
- [usePreventNavigate](/docs/labs/usePreventNavigate/index.mdx>)
iitzIrFan marked this conversation as resolved.
Show resolved Hide resolved

## Community

Expand All @@ -158,3 +158,6 @@
- [Discord](https://qwik.dev/chat)
- [Community Projects](/community/projects/index.mdx)
- [Values](/community/values/index.mdx)


[def]: </docs/(qwik)/components/styles/index.mdx>