The StockSharp product catalog can now use README files from configured repositories as the source for product card content. This connects a product description directly to its code and documentation: README changes can appear on the product page without manually copying large amounts of text into a separate portal editor. Product records and their settings continue to be managed in the portal.
Each product stores a single document URL, while the appropriate localization is selected automatically. For example, the Russian version is loaded from README_ru.md, with the base README used when a translation is unavailable. The system supports GitHub and GitLab, can read local working copies, rewrites relative links and image paths, and removes repository language-switching lines that are unnecessary on a product page. If the source is temporarily unavailable, the last successfully loaded version is retained.
A product card can also display a direct link to its source code. The package name and short description can be extracted from the README when they are missing from the build metadata. The mechanism works with products hosted in different repositories and gives their descriptions a single, maintainable source of truth.
Comments (0)
Login or Create account, Log in or register to leave a comment
No comments yet. Be the first!