From 0519fcd0ff5c5b2490aa23d6517c980050026781 Mon Sep 17 00:00:00 2001 From: Leo Richard Date: Mon, 30 Sep 2024 22:16:57 +0200 Subject: [PATCH 1/2] docs: fix 404 errors in docs Change from src to projects in docs links --- README.md | 2 +- docs/documentation/Adaptive-Layouts.md | 2 +- docs/documentation/Live-Demos.md | 2 +- docs/documentation/Use-Cases.md | 2 +- docs/documentation/Using-Angular-CLI.md | 2 +- docs/documentation/Using-SSR-with-Flex-Layout.md | 4 ++-- docs/documentation/_Sidebar.md | 2 +- docs/documentation/fxFlex-API.md | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7d3084993..09b3173b9 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Check out [all of the available options](https://github.com/angular/flex-layout/ ### Demos * [Explore Examples Online](https://tburleson-layouts-demos.firebaseapp.com/) -* [Demo Source Code](https://github.com/angular/flex-layout/blob/master/src/apps/demo-app/src/app/app.module.ts) +* [Demo Source Code](https://github.com/angular/flex-layout/blob/master/projects/apps/demo-app/src/app/app.module.ts) ### StackBlitz Templates diff --git a/docs/documentation/Adaptive-Layouts.md b/docs/documentation/Adaptive-Layouts.md index ccd5cf2a6..d55feaaef 100644 --- a/docs/documentation/Adaptive-Layouts.md +++ b/docs/documentation/Adaptive-Layouts.md @@ -22,7 +22,7 @@ Developers can use the following directives to achieve some Adaptive UX goals: For examples of `fxHide` usages in Adaptive layouts, please review the demo **Show & Hide Directives**: * [Demo](https://tburleson-layouts-demos.firebaseapp.com/#/responsive) -* [Source](https://github.com/angular/flex-layout/blob/master/src/apps/demo-app/src/app/responsive/responsive-show-hide/responsive-show-hide.component.ts#L15) +* [Source](https://github.com/angular/flex-layout/blob/master/projects/apps/demo-app/src/app/responsive/responsive-show-hide/responsive-show-hide.component.ts#L15) ---- diff --git a/docs/documentation/Live-Demos.md b/docs/documentation/Live-Demos.md index a5ad8f2f8..0f44807bc 100644 --- a/docs/documentation/Live-Demos.md +++ b/docs/documentation/Live-Demos.md @@ -28,4 +28,4 @@ available publically, but can be run with the following command: `npm run universal:serve` **Note**: This server, unlike the demo-app, does **not** live reload. In order to incorporate build -changes into the universal-app, it will need to be re-built/re-served each time. \ No newline at end of file +changes into the universal-demo-app, it will need to be re-built/re-served each time. \ No newline at end of file diff --git a/docs/documentation/Use-Cases.md b/docs/documentation/Use-Cases.md index f67330f42..2153d317a 100644 --- a/docs/documentation/Use-Cases.md +++ b/docs/documentation/Use-Cases.md @@ -35,4 +35,4 @@ or used as fallback * Custom set of breakpoints can be defined as a Provider * Custom breakpoints will override ALL default breakpoints (no merging) -[Demo]: https://github.com/angular/flex-layout/blob/master/src/apps/demo-app/src/app/responsive/responsive-flex-order/responsive-flex-order.component.ts#L59 \ No newline at end of file +[Demo]: https://github.com/angular/flex-layout/blob/master/projects/apps/demo-app/src/app/responsive/responsive-flex-order/responsive-flex-order.component.ts#L59 \ No newline at end of file diff --git a/docs/documentation/Using-Angular-CLI.md b/docs/documentation/Using-Angular-CLI.md index 4b3eb7601..96b3b2c90 100644 --- a/docs/documentation/Using-Angular-CLI.md +++ b/docs/documentation/Using-Angular-CLI.md @@ -71,4 +71,4 @@ System.config({ Developers are encouraged to review the live demos and source for the Flex-Layout Demos: * [Live Demos](https://tburleson-layouts-demos.firebaseapp.com/) -* [Demo Source Code](https://github.com/angular/flex-layout/blob/master/src/apps/demo-app/) +* [Demo Source Code](https://github.com/angular/flex-layout/blob/master/projects/apps/demo-app/) diff --git a/docs/documentation/Using-SSR-with-Flex-Layout.md b/docs/documentation/Using-SSR-with-Flex-Layout.md index ea332ab1d..91edf0824 100644 --- a/docs/documentation/Using-SSR-with-Flex-Layout.md +++ b/docs/documentation/Using-SSR-with-Flex-Layout.md @@ -2,8 +2,8 @@ Developers should see the Universal Demo app source for details: -* [main.server.ts](https://github.com/angular/flex-layout/blob/95a6e83bc9ce67a218d0b14e994ad41229b3ee75/src/apps/universal-app/src/main.server.ts) -* [app.server.module.ts](https://github.com/angular/flex-layout/blob/95a6e83bc9ce67a218d0b14e994ad41229b3ee75/src/apps/universal-app/src/app/app.server.module.ts) +* [main.server.ts](https://github.com/angular/flex-layout/blob/master/projects/apps/universal-demo-app/src/main.server.ts) +* [app.server.module.ts](https://github.com/angular/flex-layout/blob/master/projects/apps/universal-demo-app/src/app/app.server.module.ts) > The `app.server.module` uses the *FlexLayoutServerModule* (instead of the FlexLayoutModule). diff --git a/docs/documentation/_Sidebar.md b/docs/documentation/_Sidebar.md index 1f54f43dc..b4de5fdf9 100644 --- a/docs/documentation/_Sidebar.md +++ b/docs/documentation/_Sidebar.md @@ -12,7 +12,7 @@ * [Best Performance](https://github.com/angular/flex-layout/wiki/Best-Performance) * Demos * [Live Online](https://tburleson-layouts-demos.firebaseapp.com/) - * [Source Code](https://github.com/angular/flex-layout/blob/master/src/apps/demo-app/src/app/app.module.ts#L28) + * [Source Code](https://github.com/angular/flex-layout/blob/master/projects/apps/demo-app/src/app/app.module.ts#L28) * StackBlitz Templates * [Flex-Layout Template](https://stackblitz.com/edit/angular-flex-layout-seed) diff --git a/docs/documentation/fxFlex-API.md b/docs/documentation/fxFlex-API.md index 3872f20e3..cdf546e19 100644 --- a/docs/documentation/fxFlex-API.md +++ b/docs/documentation/fxFlex-API.md @@ -14,7 +14,7 @@ available. The flex-grow value overrides the width. * **flex-shrink**: defines how much a flexbox item should **shrink** if there is **not enough** space available. * **flex-basis**: controls the default size of an element, before it is manipulated by other Flexbox properties -[![fxFlex example](https://cloud.githubusercontent.com/assets/210413/21274996/6b640f8a-c390-11e6-87ac-ca85eb6c3983.png)](https://github.com/angular/flex-layout/blob/master/src/apps/demo-app/src/app/stack-overflow/grid-column-span/grid-column-span.component.ts#L23) +[![fxFlex example](https://cloud.githubusercontent.com/assets/210413/21274996/6b640f8a-c390-11e6-87ac-ca85eb6c3983.png)](https://github.com/angular/flex-layout/blob/master/projects/apps/demo-app/src/app/stack-overflow/grid-column-span/grid-column-span.component.ts#L23) Note that the resizing occurs along the main-axis of the layout and maybe affected by the **fxLayoutAlign** options. From c42a81fddc3decef933a2e0ca78b1a670ee5ede9 Mon Sep 17 00:00:00 2001 From: Leo Richard Date: Mon, 30 Sep 2024 22:17:06 +0200 Subject: [PATCH 2/2] chore: fix .gitignore paths .gitignore no more refers to old src/* and apps/hello-world/ --- .gitignore | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 4e9482d4a..e7485ede1 100644 --- a/.gitignore +++ b/.gitignore @@ -28,12 +28,10 @@ testem.log /.chrome !/test/karma.conf.js -src/apps/universal-app/package-lock.json -src/apps/universal-app/yarn.lock -src/apps/demo-app/yarn.lock -src/apps/demo-app/package-lock.json -src/apps/hello-world/package-lock.json -src/apps/hello-world/yarn.lock +projects/apps/universal-demo-app/package-lock.json +projects/apps/universal-demo-app/yarn.lock +projects/apps/demo-app/yarn.lock +projects/apps/demo-app/package-lock.json yarn-error.log .angular/cache out-tsc