Расскажи мне, что происходит в этом issue: Use different ThemeConfig for each locale…
- User
Расскажи мне, что происходит в этом issue:
Use different ThemeConfig for each locale #100
Fix #95
codeGenerate a ThemeConfig for each locale Move CONTRIBUTING.md to contributing.md to avoid rewriting Use relative links for contributing filesMove CONTRIBUTING files in translated/**/
Refactor some code
Check if types are correct
Does it work with versioning?
The preview doesn't currently work for other languages because their files still use absolute links.
Update: it fixes the top bar, but not the pages
I asked for help over at Vitepress, and they told me that we were doing it wrong.
I have fixed it now, but there is some refactoring I would like to do. I do not have time for that right now, I'll see when I can do it.
I also don't know what I should do with the CONTRIBUTING.md files in translated/; I moved them to the lowercase version in a separate commit, if that's correct, otherwise I'll drop it.
Some people on Crowdin have started using absolute language links to fix the problem on their end. Again, should I modify their files here on GitHub? Can I touch translated/?
fabric-docs/translated/ru_ru/index.md
Line 26 in 39cad1f Если вы хотите внести свой вклад в документацию Fabric, вы можете найти её исходный код на GitHub и ознакомиться с соответствующим руководством по внесению вклада.
(PS: I do not speak Russian)
codeSome people on Crowdin have started using absolute language links to fix the problem on their end. Again, should I modify their files here on GitHub? Can I touch translated/?We really need to find a way to convey the contributing guidelines to users on Crowdin, as there's no way to do this other than make the contributor process invite-only.
I dont think this implementation will work with versioning, please test it out if you can.
- Assistant
- User
Переведи на английский с адаптацией:
Значит ли это, что нам сейчас нужно перестать использовать абсолютные ссылки? Или эти different ThemeConfig for each locale по итогу не будут внедрены?
- Assistant
Does this mean that we need to stop using absolute links now? Or will these different ThemeConfigs for each locale ultimately not be implemented?
- User
А расскажи мне, как это — обходиться без абсолютных ссылок? Как должны выглядеть неабсолютные ссылки?
- Assistant
Отказ от использования абсолютных ссылок требует использования относительных ссылок, которые указывают на местоположение файлов и ресурсов относительно текущего документа или корневой директории сайта.
Абсолютные vs Относительные ссылки:
-
Абсолютные ссылки: содержат полный URL, включая протокол ( или ), доменное имя и полный путь к ресурсу.
-