From 505642dac912decce9e73e6ae44f57d616bd392d Mon Sep 17 00:00:00 2001 From: Jerad Rutnam Date: Fri, 29 Nov 2024 12:03:38 +0530 Subject: [PATCH 1/2] Fix some issue in angular quick-start guide --- en/asgardeo/docs/quick-starts/angular.md | 7 +++---- en/asgardeo/mkdocs.yml | 3 +++ .../7.0.0/docs/quick-starts/angular.md | 7 +++---- en/identity-server/7.0.0/mkdocs.yml | 3 +++ en/theme/material/assets/css/quick-start.css | 14 +++++++------- en/theme/material/templates/quick-start.html | 2 +- 6 files changed, 20 insertions(+), 16 deletions(-) diff --git a/en/asgardeo/docs/quick-starts/angular.md b/en/asgardeo/docs/quick-starts/angular.md index d503a503ce..1ef585ed76 100644 --- a/en/asgardeo/docs/quick-starts/angular.md +++ b/en/asgardeo/docs/quick-starts/angular.md @@ -11,11 +11,10 @@ prerequisites: - About 15 minutes - {{product_name}} account - Install a JS package manager - - Install Angular CLI + - Install Angular CLI - A favorite text editor or IDE -source_code: Angular App Sample - -whats_next: +# source_code: Angular App Sample +# whats_next: # - Try out {{ product_name }} complete React guide # - Try out {{product_name}} user onboarding complete guide for React # - Read security best practices for React app guide diff --git a/en/asgardeo/mkdocs.yml b/en/asgardeo/mkdocs.yml index 557537e4c1..042818c7ec 100644 --- a/en/asgardeo/mkdocs.yml +++ b/en/asgardeo/mkdocs.yml @@ -514,6 +514,9 @@ nav: - Securing Routes: complete-guides/nodejs/securing-routes-within-the-app.md - Accessing protected API : complete-guides/nodejs/accessing-protected-api.md - Next Steps: complete-guides/nodejs/next-steps.md + - Quick Starts: + - React: quick-starts/react.md + - Angular: quick-starts/angular.md not_in_nav: | /page-not-found.md diff --git a/en/identity-server/7.0.0/docs/quick-starts/angular.md b/en/identity-server/7.0.0/docs/quick-starts/angular.md index 6b26c8b43a..92eb45644e 100644 --- a/en/identity-server/7.0.0/docs/quick-starts/angular.md +++ b/en/identity-server/7.0.0/docs/quick-starts/angular.md @@ -11,11 +11,10 @@ prerequisites: - About 15 minutes - Set-up WSO2 Identity Server - Install a JS package manager - - Install Angular CLI + - Install Angular CLI - A favorite text editor or IDE -source_code: Angular App Sample - -whats_next: +# source_code: Angular App Sample +# whats_next: # - Try out {{ product_name }} complete React guide # - Try out {{product_name}} user onboarding complete guide for React # - Read security best practices for React app guide diff --git a/en/identity-server/7.0.0/mkdocs.yml b/en/identity-server/7.0.0/mkdocs.yml index 54606696b7..0e10bc5d80 100644 --- a/en/identity-server/7.0.0/mkdocs.yml +++ b/en/identity-server/7.0.0/mkdocs.yml @@ -896,6 +896,9 @@ nav: - Accessing protected API : complete-guides/react/accessing-protected-api.md - Manage tokens in React : complete-guides/react/manage-tokens-in-React-apps.md - Next Steps: complete-guides/react/next-steps.md + - Quick Starts: + - React: quick-starts/react.md + - Angular: quick-starts/angular.md not_in_nav: | diff --git a/en/theme/material/assets/css/quick-start.css b/en/theme/material/assets/css/quick-start.css index 0ca853639a..2382b50fc8 100644 --- a/en/theme/material/assets/css/quick-start.css +++ b/en/theme/material/assets/css/quick-start.css @@ -116,14 +116,14 @@ ul.tick-list > li:before { margin-top: .7rem; } -[data-md-component='toc'] .md-nav__link { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__link { position: relative; overflow: visible; padding: 0 .6rem .5rem .8rem; margin: 0; } -[data-md-component='toc'] .md-nav__link::before { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__link::before { content: ''; position: absolute; top: .95rem; @@ -133,11 +133,11 @@ ul.tick-list > li:before { border-left: 1px solid var(--md-default-fg-color); } -[data-md-component='toc'] .md-nav__item:last-child > .md-nav__link::before { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__item:last-child > .md-nav__link::before { border-left: none !important; } -[data-md-component='toc'] .md-nav__link .toc-step-number { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__link .toc-step-number { display: block; top: 4px; left: -7px; @@ -151,16 +151,16 @@ ul.tick-list > li:before { text-align: center; } -[data-md-component='toc'] .md-nav__link.md-nav__link--active .toc-step-number { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__link.md-nav__link--active .toc-step-number { color: var(--colors-white); background: var(--md-typeset-a-color); } -[data-md-component='toc'] .md-nav__link.md-nav__link--passed:not(.md-nav__link--active) .toc-step-number { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__link.md-nav__link--passed:not(.md-nav__link--active) .toc-step-number { background: var(--md-default-fg-color--light); } -[data-md-component='toc'] .md-nav__link.md-nav__link--passed::before { +.md-sidebar--secondary [data-md-component='toc'] .md-nav__link.md-nav__link--passed::before { border-left-color: var(--md-default-fg-color--light); } diff --git a/en/theme/material/templates/quick-start.html b/en/theme/material/templates/quick-start.html index 124d91b449..1d6d536a6b 100644 --- a/en/theme/material/templates/quick-start.html +++ b/en/theme/material/templates/quick-start.html @@ -191,7 +191,7 @@

What's Next?