From f20bebc941b01de2ad5b47b5fb194fdef80f2201 Mon Sep 17 00:00:00 2001 From: Matt Benson Date: Fri, 2 May 2025 10:23:47 -0500 Subject: [PATCH] rename template extensions->templating extensions in docs Signed-off-by: Matt Benson --- .../{template-extensions.md => templating-extensions.md} | 8 ++++---- docs/features/software-templates/writing-templates.md | 4 ++-- microsite/docusaurus.config.ts | 4 ++++ microsite/sidebars.ts | 2 +- mkdocs.yml | 2 +- 5 files changed, 12 insertions(+), 8 deletions(-) rename docs/features/software-templates/{template-extensions.md => templating-extensions.md} (98%) diff --git a/docs/features/software-templates/template-extensions.md b/docs/features/software-templates/templating-extensions.md similarity index 98% rename from docs/features/software-templates/template-extensions.md rename to docs/features/software-templates/templating-extensions.md index a43f590e9f..91d0343ae9 100644 --- a/docs/features/software-templates/template-extensions.md +++ b/docs/features/software-templates/templating-extensions.md @@ -1,7 +1,7 @@ --- -id: template-extensions -title: Template Extensions -description: Template extensions system +id: templating-extensions +title: Templating Extensions +description: Templating extensions system --- Backstage templating is powered by [Nunjucks][]. The basics: @@ -117,7 +117,7 @@ may be any combination of filters, global functions and global values. With the new backend you would use a scaffolder plugin module for this; later we will demonstrate the analogous approach with the old backend. -## Streamlining Template Extension Module Creation with the Backstage CLI +## Streamlining Templating Extension Module Creation with the Backstage CLI The creation of a "template environment customization" module in Backstage can be accelerated using the Backstage CLI. diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md index f02b2722f6..eeaa4ad203 100644 --- a/docs/features/software-templates/writing-templates.md +++ b/docs/features/software-templates/writing-templates.md @@ -711,9 +711,9 @@ powerful [Nunjucks templating engine](https://mozilla.github.io/nunjucks/). To learn more about basic Nunjucks templating please see [templating documentation](https://mozilla.github.io/nunjucks/templating.html). -Information about Backstage's built-in Nunjucks extensions, as well as how to +Information about Backstage's built-in templating extensions, as well as how to create your own customizations, may be found at -[Template Extensions](./template-extensions.md). +[Templating Extensions](./templating-extensions.md). ## Template Editor diff --git a/microsite/docusaurus.config.ts b/microsite/docusaurus.config.ts index 71331710d5..0213ebc05b 100644 --- a/microsite/docusaurus.config.ts +++ b/microsite/docusaurus.config.ts @@ -269,6 +269,10 @@ const config: Config = { from: '/docs/plugins/url-reader/', to: '/docs/backend-system/core-services/url-reader', }, + { + from: '/docs/features/software-templates/template-extensions/', + to: '/docs/features/software-templates/templating-extensions', + }, ], }), [ diff --git a/microsite/sidebars.ts b/microsite/sidebars.ts index dd52f9a801..1f8d3defb7 100644 --- a/microsite/sidebars.ts +++ b/microsite/sidebars.ts @@ -228,7 +228,7 @@ export default { 'features/software-templates/migrating-from-v1beta2-to-v1beta3', 'features/software-templates/dry-run-testing', 'features/software-templates/experimental', - 'features/software-templates/template-extensions', + 'features/software-templates/templating-extensions', ], }, { diff --git a/mkdocs.yml b/mkdocs.yml index d56ec49b66..688ca1a078 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -71,7 +71,7 @@ nav: - Builtin Actions: 'features/software-templates/builtin-actions.md' - Writing Custom Actions: 'features/software-templates/writing-custom-actions.md' - Writing Custom Step Layouts: 'features/software-templates/writing-custom-step-layouts.md' - - Template Extensions: 'features/software-templates/template-extensions.md' + - Templating Extensions: 'features/software-templates/templating-extensions.md' - Migrating from v1beta2 to v1beta3 templates: 'features/software-templates/migrating-from-v1beta2-to-v1beta3.md' - Dry Run Testing: 'features/software-templates/dry-run-testing.md' - Backstage Search: