From 63ac65eada531dd7ca2a26695329117c807e2429 Mon Sep 17 00:00:00 2001 From: Alex Kurbako <36738501+alexeykurbako@users.noreply.github.com> Date: Fri, 8 May 2020 13:01:24 +0300 Subject: [PATCH] Gh pages deploy fix (#5669) * fix(app):redirect after 404 * fix(app):docs building script * fix(app):add gulpfile for docs * fix(app): directory splitting * fix(app): build docs script * fix(app): build docs script * fix(app): build docs script * fix(app): relative path for scss * fix(app): relative path for scss * fix(app): relative path for scss * fix(app):fix footer icons * fix(app):fix footer icons * fix(app):fix footer icons * fix(app):config * fix(app):remove small-social * fix(docs): footer icons style * fix(docs): material page index file * fix(docs): descriptions and keyword * fix(docs): og description * fix(docs): og description and title * fix(docs): dem,o branch url * fix(docs): dynamic title for docs page * fix(docs): remove unused script * fix(docs): static title Co-authored-by: Evgeny Lupanov --- angular.json | 1 - .../docs-footer/footer.component.html | 18 +- .../docs-footer/footer.component.scss | 17 +- docs/app/@theme/styles/_helvetica-neue.scss | 2 +- docs/app/@theme/styles/_small-social.scss | 36 - docs/app/@theme/styles/styles.scss | 1 - .../page/ngx-admin-landing-page.component.ts | 1 - docs/index.html | 9 +- docs/structure-landing.ts | 6 + docs/structure.ts | 1 + docs/versions.json | 9 + gulpfile.js | 12 + package-lock.json | 3275 ++++++++++++++++- package.json | 19 +- scripts/docs/build-docs.ts | 124 + scripts/docs/config.ts | 4 + scripts/docs/ghspa-template.ts | 78 + scripts/docs/log.ts | 3 + scripts/docs/run-command.ts | 37 + scripts/docs/tsconfig.json | 12 + scripts/docs/tslint.json | 5 + scripts/gulp/gulpfile.ts | 1 + scripts/gulp/tasks/config.ts | 1 + scripts/gulp/tasks/docs/docs.ts | 85 + scripts/gulp/tsconfig.json | 23 + src/app/@core/utils/metadata.service.ts | 4 + 26 files changed, 3723 insertions(+), 61 deletions(-) delete mode 100644 docs/app/@theme/styles/_small-social.scss create mode 100644 docs/structure-landing.ts create mode 100644 docs/versions.json create mode 100644 gulpfile.js create mode 100644 scripts/docs/build-docs.ts create mode 100644 scripts/docs/config.ts create mode 100644 scripts/docs/ghspa-template.ts create mode 100644 scripts/docs/log.ts create mode 100644 scripts/docs/run-command.ts create mode 100644 scripts/docs/tsconfig.json create mode 100644 scripts/docs/tslint.json create mode 100644 scripts/gulp/gulpfile.ts create mode 100644 scripts/gulp/tasks/config.ts create mode 100644 scripts/gulp/tasks/docs/docs.ts create mode 100644 scripts/gulp/tsconfig.json diff --git a/angular.json b/angular.json index 32ea7c70..20fb3794 100644 --- a/angular.json +++ b/angular.json @@ -13,7 +13,6 @@ "options": { "aot": true, "preserveSymlinks": true, - "rebaseRootRelativeCssUrls": true, "outputPath": "dist", "index": "src/index.html", "main": "src/main.ts", diff --git a/docs/app/@theme/components/docs-footer/footer.component.html b/docs/app/@theme/components/docs-footer/footer.component.html index 8e3bcbd0..f0b71b15 100644 --- a/docs/app/@theme/components/docs-footer/footer.component.html +++ b/docs/app/@theme/components/docs-footer/footer.component.html @@ -15,14 +15,20 @@