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: content/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,13 +50,13 @@ It is a block of key-value content that lives at the top of every Markdown file.
50
50
51
51
The following frontmatter values have special meanings and requirements for this site.
52
52
There's also a schema that's used by the test suite to validate every page's frontmatter.
53
-
See [`lib/frontmatter.js`](../lib/frontmatter.js).
53
+
See [`lib/frontmatter.js`](/src/frame/lib/frontmatter.js).
54
54
55
55
### `versions`
56
56
57
-
- Purpose: Indicates the [versions](#src/versions/lib/all-versions.js) to which a page applies.
57
+
- Purpose: Indicates the [versions](/src/versions/lib/all-versions.js) to which a page applies.
58
58
See [Versioning](#versioning) for more info.
59
-
- Type: `Object`. Allowable keys map to product names and can be found in the `versions` object in [`lib/frontmatter.js`](../lib/frontmatter.js).
59
+
- Type: `Object`. Allowable keys map to product names and can be found in the `versions` object in [`lib/frontmatter.js`](/src/frame/lib/frontmatter.js).
60
60
- This frontmatter value is currently **required** for all pages.
61
61
- The `*` is used to denote all releases for the version.
62
62
@@ -258,7 +258,7 @@ includeGuides:
258
258
- Optional.
259
259
260
260
### `topics`
261
-
- Purpose: Indicate the topics covered by the article. Refer to the content models for more details about adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.js). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/tests/unit/search/topics.js) will fail.
261
+
- Purpose: Indicate the topics covered by the article. Refer to the content models for more details about adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.js). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/src/search/tests/topics.js) will fail.
262
262
- Type: Array of `String`s
263
263
- Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics, or adding a topic to a new article may not add value.
264
264
@@ -297,7 +297,7 @@ A content file can have **two** types of versioning:
297
297
- Liquid statements in content (**optional**)
298
298
- Conditionally render content depending on the current version being viewed. See "[Versioning documentation](https://docs.github.com/en/contributing/writing-for-github-docs/versioning-documentation#versioning-with-liquid-conditional-operators)" for more info. Note Liquid conditionals can also appear in `data` and `include` files.
299
299
300
-
**Note**: As of early 2021, the `free-pro-team@latest` version is not included URLs. A helper function called `lib/remove-fpt-from-path.js` removes the version from URLs.
300
+
**Note**: As of early 2021, the `free-pro-team@latest` version is not included URLs. A helper function called `src/versions/lib/remove-fpt-from-path.js` removes the version from URLs.
301
301
302
302
## Filenames
303
303
@@ -345,7 +345,7 @@ Links to docs in the `docs-internal` repository must start with a product ID (li
345
345
346
346
Image paths must start with `/assets` and contain the entire filepath including the file extension. For example, `/assets/images/help/settings/settings-account-delete.png`.
347
347
348
-
The links to Markdown pages undergo some transformations on the server side to match the current page's language and version. The handling for these transformations lives in [`lib/render-content/plugins/rewrite-local-links`](/lib/render-content/plugins/rewrite-local-links.js).
348
+
The links to Markdown pages undergo some transformations on the server side to match the current page's language and version. The handling for these transformations lives in [`src/content-render/unified/rewrite-local-links.js`](/src/content-render/unified/rewrite-local-links.js).
349
349
350
350
For example, if you include the following link in a content file:
0 commit comments