You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-1Lines changed: 50 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ You will need Node 22+ installed on your operating system and in the PATH.
7
7
* Run `npm install` to restore all dependencies.
8
8
* Use `npm run dev` to run the documentation site locally.
9
9
10
-
Alternatively in VS Code, GitHub Codespaces or WebStorm, you can use the devcontainer to get a development environment set up.
10
+
Alternatively in VS Code, GitHub Codespaces, or WebStorm, you can use the devcontainer to get a development environment set up.
11
11
12
12
## Project Structure
13
13
@@ -39,6 +39,55 @@ Content can be authored in Markdown, in a `.md` or `.mdx` file. The Starlight do
39
39
*[Authoring Content in Markdown](https://starlight.astro.build/guides/authoring-content/)
40
40
*[Using Components](https://starlight.astro.build/components/using-components/) (only in `.mdx`)
41
41
42
+
Use a spell checker like [Grazie](https://www.jetbrains.com/grazie/) or [Grammarly](https://www.grammarly.com/) to check your content for spelling and grammar errors.
43
+
WebStorm has Grazie as a built-in spell checker and grammar checker, and supports a good default writing style.
44
+
45
+
### Writing Style
46
+
47
+
* Use the active voice. For example, use "Enable" instead of "Enabled" or "Enabling".
48
+
* Use the second person ("you" not "I" or "we"). "You" is the reader of the documentation. "We" is Duende Software.
49
+
* Use sentence case in text. Titles use Title Case.
50
+
* Use the Oxford comma.
51
+
* Avoid words like "very", "simple", "easy", ...
52
+
* "As well as" can be written as "and".
53
+
* Avoid flowery language.
54
+
* When using acronyms, use the full form with parentheses the first time you use it. For example, use "Multi-Factor Authentication (MFA)" instead of "MFA".
55
+
56
+
### Linking Rules
57
+
58
+
* Always prefer linking internally over linking externally. For example, when you talk about data protection, prefer an internal link over a link to external sites.
59
+
* When linking to external content, consider writing one or two sentences about the context and what the reader will learn on the linked page.
60
+
* When linking other pages, use a path that starts at the content root, like `/identityserver/troubleshooting.md`. Use the `.md(x)` file extension - Starlight will update the link to the correct format on build.
61
+
* When linking to external resources, use the full URL using HTTPS.
62
+
* You can link to header anchors using the `#` symbol, for example `[multiple authentication methods](/identityserver/ui/federation.md#multiple-authentication-methods-for-users)`.
63
+
* Link relevant text. Prefer `learn more about [improving the sign-in experience]` over `click [here] to learn more`.
64
+
* Run `npm run linkchecker` to validate all links (note this will ignore links to GitHub because of rate limits in place).
65
+
66
+
### Code Block Style
67
+
68
+
* Use triple backticks to enclose code blocks.
69
+
* Use a language identifier to specify the language (e.g. `csharp`, `bash`, `json`, `html`, `javascript`, `typescript`, `css`, `json`)
70
+
* Add a title to the code block. You can do this adding the title as a comment in the first line of the code block (e.g. `// Program.cs`).
71
+
* Use [expressive code features](https://starlight.astro.build/guides/authoring-content/#expressive-code-features).
72
+
* Readers should not need to scroll horizontally to read a code example. Simplify and condense the code as much as possible.
73
+
* If writing C#, use the latest syntax — including top-level statements, collection expressions, ...
74
+
* Make sure examples are runnable and complete. The goal is "Copy-paste from docs". Include namespaces, a result, and other prerequisites that are not obvious to someone new to the code.
75
+
* Inline comments can be used to explain essential parts of the code. Expressive code can highlight line numbers, show diffs, and more.
76
+
* Mention NuGet packages as a `bash` code block showing how to install it (`dotnet add package ...`). Link to the NuGet Gallery.
77
+
78
+
### Frontmatter Rules
79
+
80
+
* Always have a `title` property to set the page title.
81
+
* Always have a `description` property to set the page description.
82
+
* Always have a `date` property to set the creation/significant update date for a page. Use the `YYYY-MM-DD` format.
83
+
* Add the `sidebar` property and include the `label`. The `label` is used in the menu, and should typically be shorter than the more descriptive `title`. For example:
84
+
```yaml
85
+
title: "Using IdentityServer As A Federation Gateway"
86
+
sidebar:
87
+
label: "Federation"
88
+
```
89
+
* In the `sidebar` property, use `order` to re-order entries in the navigation bar.
90
+
42
91
## 🧞 Commands
43
92
44
93
All commands are run from the root of the project, from a terminal:
Copy file name to clipboardExpand all lines: src/content/docs/identityserver/ui/login/mfa.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ redirect_from:
9
9
- /identityserver/v7/ui/login/mfa/
10
10
---
11
11
12
-
Duende IdentityServer itself doesn't implement multi-factor authentication (MFA). MFA is part of the login process in the user interface which is the [responsibility of the hosting application](../index.md). Microsoft provides some [general guidelines](https://learn.microsoft.com/en-us/aspnet/core/security/authentication/mfa) on how to enable MFA in ASP.NET Core.
12
+
Duende IdentityServer itself doesn't implement multi-factor authentication (MFA). MFA is part of the login process in the user interface which is the [responsibility of the hosting application](/identityserver/ui/index.md). Microsoft provides some [general guidelines](https://learn.microsoft.com/en-us/aspnet/core/security/authentication/mfa) on how to enable MFA in ASP.NET Core.
0 commit comments