MonoGame/docs.monogame.github.io

Reorganise the repo so support community localisation contributions.

Open

#113 aperta il 11 mag 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C# (85 fork)auto 404
help wanted

Metriche repository

Star
 (18 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

The current repo is organised so english is the only language we support. We should reorganise it so that it still supports english, but will allow for community contributions for other languages.

I'm not sure what this would look like but this might be a useful organisation.

/
├── docfx.json
├── en/
│   ├── toc.yml
│   └── articles/
│       └── intro.md
├── fr/
│   ├── toc.yml
│   └── articles/
│       └── intro.md
├── zh/
│   ├── toc.yml
│   └── articles/
│       └── intro.md

All the current content would need to move to the new en folder. The docfx.json would need to be updated as well to add files like so

{
        "files": ["**/*.md", "**/*.yml"],
        "src": "en",
        "dest": "en"
      },
      {
        "files": ["**/*.md", "**/*.yml"],
        "src": "fr",
        "dest": "fr"
      },
      {
        "files": ["**/*.md", "**/*.yml"],
        "src": "zh",
        "dest": "zh"
      }

More research is needed though.

Guida contributor