We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently there is only an english short description in the composer.json. We need the ability to define a complex description and localize it.
composer.json
I would prefer to write docs in the repository, like:
README.de.md README.de_DE.md README.md
We could search for the language specific file, render it and show it in the backend. The path/file could be configurable within the composer.json:
{ "extra": { "contao": { "detailed-description": "README.{language}.md" } } }
The pattern README.{language}.md could be the implicit default, an alternative pattern could be:
README.{language}.md
{ "extra": { "contao": { "detailed-description": "docs/description.{language}.md" } } }
As file formats we could support:
*.md
*.rst
*.html
*.txt
We should also rethink about composer/composer#1954
The text was updated successfully, but these errors were encountered:
+1
I'd prefer *.md, because we can render GFM via PHP in the back end.
Sorry, something went wrong.
Conflict with #41
tristanlins
No branches or pull requests
Currently there is only an english short description in the
composer.json
. We need the ability to define a complex description and localize it.I would prefer to write docs in the repository, like:
We could search for the language specific file, render it and show it in the backend.
The path/file could be configurable within the
composer.json
:The pattern
README.{language}.md
could be the implicit default, an alternative pattern could be:As file formats we could support:
*.md
rendered as GFM*.rst
rendered as standard reStructuredText (rendered with an online renderer or a PHP Library)*.html
rendered as plain HTML*.txt
rendered as plain textWe should also rethink about composer/composer#1954
The text was updated successfully, but these errors were encountered: