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
|
||||
|
||||
COPY package*.json ./
|
||||
COPY patches/ patches/
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
@ -18,6 +19,7 @@ FROM node:22-slim AS build
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
COPY patches/ patches/
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
@ -23,12 +23,12 @@ import { Card, CardGrid } from '@astrojs/starlight/components';
|
||||
[Start here](/getting-started/)
|
||||
</Card>
|
||||
<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/)
|
||||
</Card>
|
||||
<Card title="Tutorials" icon="list-format">
|
||||
Task-specific walkthroughs --- filter design, Monte Carlo yield, parameter sweeps.
|
||||
[Browse tutorials](/tutorials/)
|
||||
<Card title="Concepts" icon="list-format">
|
||||
Background on LTspice on Linux, simulation types, and SPICE fundamentals.
|
||||
[Read concepts](/concepts/ltspice-on-linux/)
|
||||
</Card>
|
||||
<Card title="Reference" icon="setting">
|
||||
Every tool, resource, and prompt documented with parameters, types, and examples.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user