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
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,12 +56,6 @@ Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory.
56
56
57
57
⭐ We recommend using the`.mdx` extension whenever possible.
58
58
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.
@@ -115,7 +109,7 @@ Refer to the Starlight documentation on [authoring content](https://starlight.as
115
109
116
110
####Add a new doc
117
111
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`.
119
113
120
114
⭐ We recommend using the`.mdx` extension whenever possible.
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).
151
145
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.
153
147
154
148
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.