Fix Dockerfile patch ordering and deduplicate landing cards
COPY patches/ before npm ci so the postinstall Starlight head.ts patch runs during install. Replace duplicate Tutorials card on the landing page with a Concepts card.
This commit is contained in:
parent
f2c18982ae
commit
3c2345282f
@ -4,6 +4,7 @@ FROM node:22-slim AS dev
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
COPY patches/ patches/
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
@ -18,6 +19,7 @@ FROM node:22-slim AS build
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
COPY patches/ patches/
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|||||||
@ -23,12 +23,12 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
|
|||||||
[Start here](/getting-started/)
|
[Start here](/getting-started/)
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="Tutorials" icon="open-book">
|
<Card title="Tutorials" icon="open-book">
|
||||||
Step-by-step circuit design walkthroughs, from filters to Monte Carlo yield analysis.
|
Step-by-step walkthroughs: filter design, Monte Carlo yield analysis, parameter sweeps.
|
||||||
[Browse tutorials](/tutorials/)
|
[Browse tutorials](/tutorials/)
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="Tutorials" icon="list-format">
|
<Card title="Concepts" icon="list-format">
|
||||||
Task-specific walkthroughs --- filter design, Monte Carlo yield, parameter sweeps.
|
Background on LTspice on Linux, simulation types, and SPICE fundamentals.
|
||||||
[Browse tutorials](/tutorials/)
|
[Read concepts](/concepts/ltspice-on-linux/)
|
||||||
</Card>
|
</Card>
|
||||||
<Card title="Reference" icon="setting">
|
<Card title="Reference" icon="setting">
|
||||||
Every tool, resource, and prompt documented with parameters, types, and examples.
|
Every tool, resource, and prompt documented with parameters, types, and examples.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user