From 5e2228b30295012d6f0a5d2653e42e69f81fefc4 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Mon, 1 Apr 2024 10:15:14 +0900 Subject: [PATCH] Fix the format of `title` tag (#32897) * Fix the format of `title` tag * Update files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> * Update files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> * Update files/en-us/mdn/writing_guidelines/page_structures/page_types/api_method_subpage_template/index.md Co-authored-by: Hamish Willee --------- Co-authored-by: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Co-authored-by: Hamish Willee --- .../page_types/api_method_subpage_template/index.md | 6 +++--- .../page_types/api_property_subpage_template/index.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_method_subpage_template/index.md b/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_method_subpage_template/index.md index 7ac07d345a0832b..eb78bf3daaf3a93 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_method_subpage_template/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_method_subpage_template/index.md @@ -31,8 +31,8 @@ browser-compat: path.to.feature.NameOfTheMethod > > - **title** > - : Title heading displayed at the top of the page. -> Format as _NameOfTheParentInterface_**.**_NameOfTheMethod_**()**. -> For example, the [count()](/en-US/docs/Web/API/IDBIndex/count) method of the [IDBIndex](/en-US/docs/Web/API/IDBIndex) interface has a _title_ of `IDBIndex.count()`. +> Format as `"NameOfTheParentInterface: NameOfTheMethod() method"`. +> For example, the [count()](/en-US/docs/Web/API/IDBIndex/count) method of the [IDBIndex](/en-US/docs/Web/API/IDBIndex) interface has a _title_ of `IDBIndex: count() method`. > - **slug** > > - : The end of the URL path after `https://developer.mozilla.org/en-US/docs/`. @@ -108,7 +108,7 @@ If the method doesn't return anything, just put "None ({{jsxref('undefined')}}). ### Exceptions -Include a list of all the exceptions that the constructor can raise. Include one term and definition for each exception. +Include a list of all the exceptions that the method can raise. Include one term and definition for each exception. - `Exception1` - : Include descriptions of how the exception is raised. diff --git a/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md b/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md index b2fa28681aeff9a..9b3e409c0ccf54b 100644 --- a/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md +++ b/files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md @@ -18,7 +18,7 @@ browser-compat: path.to.feature.NameOfTheProperty > > ```md > --- -> title: NameOfTheParentInterface.NameOfTheProperty +> title: "NameOfTheParentInterface: NameOfTheProperty property" > slug: Web/API/NameOfTheParentInterface/NameOfTheProperty > page-type: web-api-instance-property OR web-api-static-property > status: @@ -31,8 +31,8 @@ browser-compat: path.to.feature.NameOfTheProperty > > - **title** > - : Title heading displayed at the top of the page. -> Format as _NameOfTheParentInterface_**.**_NameOfTheProperty_. -> For example, the [`capabilities`](/en-US/docs/Web/API/VRDisplay/capabilities) property of the [`VRDisplay`](/en-US/docs/Web/API/VRDisplay) interface has a `title` of `VRDisplay.capabilities`. +> Format as "NameOfTheParentInterface: NameOfTheProperty property". +> For example, the [`capabilities`](/en-US/docs/Web/API/VRDisplay/capabilities) property of the [`VRDisplay`](/en-US/docs/Web/API/VRDisplay) interface has a `title` of `VRDisplay: capabilities property`. > - **slug** > > - : The end of the URL path after `https://developer.mozilla.org/en-US/docs/`.