Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60c3a96

Browse files
docs: reorganize and revise user docs (WICG#498)
1 parent3b64b97 commit60c3a96

File tree

97 files changed

+2483
-2349
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+2483
-2349
lines changed

‎README.md‎

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,6 @@ Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory.
5656

5757
⭐ We recommend using the`.mdx` extension whenever possible.
5858

59-
###Double`docs` sub-folder
60-
61-
Our documentation uses a sub-folder URL style ofhttps://webmonetization.org/docs for the doc section. This means we have a double`docs` folder situation due to how Starlight deals with content and generated URLs (`src/content/docs/docs`).
62-
63-
The`docs.mdx` file in the root of the`content/docs` folder is essentially the landing page for our documentation and is what users see when they land onhttps://webmonetization.org/docs.
64-
6559
###Editing content
6660

6761
-[Static image assets](#static-image-assets)
@@ -99,9 +93,9 @@ import { CodeBlock, LinkOut } from '@interledger/docs-design-system'
9993

10094
####Edit existing doc
10195

102-
Navigate to`/src/content/docs/docs` and locate the page you want to edit. For example:
96+
Navigate to`/src/content/docs` and locate the page you want to edit. For example:
10397

104-
`/src/content/docs/docs/RELEVANT_FOLDER/doc-to-be-edited.mdx`
98+
`/src/content/docs/RELEVANT_FOLDER/doc-to-be-edited.mdx`
10599

106100
```markdown
107101
---
@@ -115,7 +109,7 @@ Refer to the Starlight documentation on [authoring content](https://starlight.as
115109

116110
####Add a new doc
117111

118-
Create your Markdown file in in`/src/content/docs/docs/RELEVANT_FOLDER`. For example, within`/src/content/docs/docs/RELEVANT_FOLDER/newly-created-doc.mdx`.
112+
Create your Markdown file in in`/src/content/docs/RELEVANT_FOLDER`. For example, within`/src/content/docs/RELEVANT_FOLDER/newly-created-doc.mdx`.
119113

120114
⭐ We recommend using the`.mdx` extension whenever possible.
121115

@@ -149,7 +143,7 @@ Starlight supports [Internationalization (i18n)](https://starlight.astro.build/g
149143

150144
If you want to contribute documentation in a language that has not been configured, you must edit`astro.config.mjs` to add the language to the`locales` option. As of January 2024, Web Monetization is configured for English (en) and Español (es).
151145

152-
Translated content should be in its respective language folder within`/src/content/docs/`. English content is located within`/src/content/docs/docs`. Content in Español is located within`src/content/docs/es`. Create the language folder if it doesn't exist.
146+
Translated content should be in its respective language folder within`/src/content/docs/`. English content is located within`/src/content/docs`. Content in Español is located within`src/content/docs/es`. Create the language folder if it doesn't exist.
153147

154148
The file path should follow its corresponding source English path exactly. Once a new language is "activated", translated content should be accessible via the language select drop-down in the documentation site's header.
155149

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp