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
Fix: Set an explicit path for docsaurus.config.js (#2335)
## Motivation for the change, related issues
By default, the system assumes a single, fixed location on the root for
docusaurus.config.js. This can lead to confusion when projects organize
their documentation folder in a custom structure.
This is my experience when trying to translate into Tagalog, which could
save bit time and avoid confusion if we explicitly detailed the path for
the config file..
## Implementation details
Documentation update
Update the “Getting Started” guide in README.md to explain the new
docsConfigPath option and list examples for typical project layouts.
## Testing Instructions (or ideally a Blueprint)
- Pull the PR
- Run `npm run dev:docs`
- Navigate to [Translations implementation
details](http://localhost:3000/wordpress-playground/contributing/translations#translations-implementation-details)
## Issue:
#2334
## Result:
Before(Prod):

After:

Copy file name to clipboardExpand all lines: packages/docs/site/docs/main/contributing/translations.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
@@ -20,7 +20,7 @@ Check the [How can I contribute?](/contributing/documentation#how-can-i-contribu
20
20
Check the [Internationalization section](https://docusaurus.io/docs/i18n/introduction) of Docusaurus Docs to learn more about translations management in a Docusaurus website (the engine behind Playground Docs).
21
21
:::
22
22
23
-
Languages available for the Docs site are defined on `docusaurus.config.js`. For example:
23
+
Languages available for the Docs site are defined on `packages/docs/site/docusaurus.config.js`. For example:
0 commit comments