Skip to content

Commit

Permalink
Fix the format of title tag (mdn#32897)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Update files/en-us/mdn/writing_guidelines/page_structures/page_types/api_property_subpage_template/index.md

Co-authored-by: skyclouds2001 <[email protected]>

* Update files/en-us/mdn/writing_guidelines/page_structures/page_types/api_method_subpage_template/index.md

Co-authored-by: Hamish Willee <[email protected]>

---------

Co-authored-by: skyclouds2001 <[email protected]>
Co-authored-by: Hamish Willee <[email protected]>
  • Loading branch information
3 people authored Apr 1, 2024
1 parent 03757b2 commit 5e2228b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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/`.
Expand Down Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/`.
Expand Down

0 comments on commit 5e2228b

Please sign in to comment.