Skip to content

Commit f99c912

Browse files
authored
Remove duplicated themes documentation. (keycloak#42571)
* Remove duplicated themes documentation. Signed-off-by: Stan Silvert <[email protected]> * Move Theme SPI documentation to Themes Guide Signed-off-by: Stan Silvert <[email protected]> * Fix link so test will pass. Fixes keycloak#42396 Signed-off-by: Stan Silvert <[email protected]> * Fix broken links. Closes keycloak#42396 Signed-off-by: Stan Silvert <[email protected]> * Fix broken link. Closes keycloak#42396 Signed-off-by: Stan Silvert <[email protected]> --------- Signed-off-by: Stan Silvert <[email protected]>
1 parent 716aed8 commit f99c912

File tree

14 files changed

+54
-609
lines changed

14 files changed

+54
-609
lines changed

docs/documentation/release_notes/topics/12_0_0.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The old PatternFly 3 runs simultaneously with the new one, so it's possible to h
3939

4040
There are also design changes in the login theme for better user experience.
4141
You can even define an icon for your custom Identity providers.
42-
For details, please refer to the link:{developerguide_link}#custom-identity-providers-icons[docs].
42+
For details, please refer to the link:https://www.keycloak.org/ui-customization/themes#custom-identity-providers-icons[themes guide].
4343

4444
== Gatekeeper EOL
4545
Gatekeeper reached end of life, in November 21. This means that we no longer support, or update it. The announcement is available https://www.keycloak.org/2020/08/sunsetting-louketo-project.adoc[here].

docs/documentation/server_admin/topics/identity-broker/configuration.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ image:images/identity-providers.png[Identity Providers]
1616
.Add Facebook identity Provider
1717
image:images/add-identity-provider.png[Add Facebook Identity Provider]
1818
+
19-
When you configure an identity provider, the identity provider appears on the {project_name} login page as an option. You can place custom icons on the login screen for each identity provider. See link:{developerguide_link}#custom-identity-providers-icons[custom icons] for more information.
19+
When you configure an identity provider, the identity provider appears on the {project_name} login page as an option. You can place custom icons on the login screen for each identity provider. See https://www.keycloak.org/ui-customization/themes#custom-identity-providers-icons[custom icons] for more information.
2020
+
2121
.IDP login page
2222
image:images/identity-provider-login-page.png[]

docs/documentation/server_admin/topics/realms/proc-configuring-internationalization.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,5 @@ user has actively switched the locale through the locale selector on the login p
4343
this point.
4444

4545
If you want to change the logic for selecting the locale, you have an option to create custom `LocaleSelectorProvider`. For details, please refer to the
46-
link:{developerguide_link}#_locale_selector[{developerguide_name}].
46+
link:https://www.keycloak.org/ui-customization/themes[Working with themes: Locale selector].
4747

docs/documentation/server_admin/topics/users/user-profile.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,4 +906,4 @@ If you want to use internationalized messages when configuring attributes, attri
906906
set their display name, description, and values, using a placeholder that will translate to a message from a message bundle.
907907

908908
For that, you can use a placeholder to resolve messages keys such as `${myAttributeName}`, where `myAttributeName` is the key for a message in a message bundle. For more details,
909-
look at link:{developerguide_link}#messages[{developerguide_name}] about how to add message bundles to custom themes.
909+
look at link:https://www.keycloak.org/ui-customization/localization#_localizing_messages_in_a_theme[Localizing messages in a theme] about how to add message bundles to custom themes.

docs/documentation/server_development/topics.adoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
include::topics/preface.adoc[]
22
include::topics/admin-rest-api.adoc[]
3-
include::topics/themes.adoc[]
4-
include::topics/themes-react.adoc[]
5-
include::topics/themes-selector.adoc[]
6-
include::topics/themes-resources.adoc[]
7-
include::topics/locale-selector.adoc[]
83
include::topics/identity-brokering.adoc[]
94
include::topics/identity-brokering/tokens.adoc[]
105
include::topics/identity-brokering/account-linking.adoc[]

docs/documentation/server_development/topics/auth-spi.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,9 +768,9 @@ getReferenceCategory() is just a category the Authenticator belongs to.
768768
769769
==== Adding an authenticator form
770770
771-
{project_name} comes with a Freemarker <<_themes,theme and template engine>>.
771+
{project_name} comes with a Freemarker https://www.keycloak.org/ui-customization/themes[theme and template engine].
772772
The createForm() method you called within authenticate() of your Authenticator class, builds an HTML page from a file within your login theme: `secret-question.ftl`.
773-
This file should be added to the `theme-resources/templates` in your JAR, see <<_theme_resource,Theme Resource Provider>> for more details.
773+
This file should be added to the `theme-resources/templates` in your JAR, see https://www.keycloak.org/ui-customization/themes[Working with themes: Theme resource provider] for more details.
774774
775775
Let's take a bigger look at secret-question.ftl Here's a small code snippet:
776776

docs/documentation/server_development/topics/locale-selector.adoc

Lines changed: 0 additions & 17 deletions
This file was deleted.

docs/documentation/server_development/topics/themes-react.adoc

Lines changed: 0 additions & 65 deletions
This file was deleted.

docs/documentation/server_development/topics/themes-resources.adoc

Lines changed: 0 additions & 15 deletions
This file was deleted.

docs/documentation/server_development/topics/themes-selector.adoc

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)