diff --git a/documentation/docs/12-packaging.md b/documentation/docs/12-packaging.md index 21ae61eab54a..f6fb034c099f 100644 --- a/documentation/docs/12-packaging.md +++ b/documentation/docs/12-packaging.md @@ -4,7 +4,7 @@ title: Packaging You can use SvelteKit to build component libraries as well as apps. -When you're creating an app, the contents of `src/routes` is the public-facing stuff; [`src/lib`](#modules-lib) contains your app's internal library. +When you're creating an app, the contents of `src/routes` is the public-facing stuff; [`src/lib`](#modules-$lib) contains your app's internal library. A SvelteKit component library has the exact same structure as a SvelteKit app, except that `src/lib` is the public-facing bit. `src/routes` might be a documentation or demo site that accompanies the library, or it might just be a sandbox you use during development. diff --git a/documentation/migrating/03-project-files.md b/documentation/migrating/03-project-files.md index a1e4e66fc3f3..8ad0b58f8ab6 100644 --- a/documentation/migrating/03-project-files.md +++ b/documentation/migrating/03-project-files.md @@ -22,7 +22,7 @@ This file also has no direct equivalent, since SvelteKit apps can run in serverl ### src/service-worker.js -Most imports from `@sapper/service-worker` have equivalents in [`$service-worker`](/docs#modules-service-worker): +Most imports from `@sapper/service-worker` have equivalents in [`$service-worker`](/docs#modules-$service-worker): - `timestamp` is unchanged - `files` is unchanged @@ -39,4 +39,4 @@ The `