Open erickskrauch opened 3 years ago
Is it difficult to use /ru/index.html
as a URL of top page? Then your problem will be resolved.
It's not hard. But the user can also open the page via /ru
. I want to have a solution that works always, not only under certain conditions.
Is your feature request related to a problem? Please describe. I want to generate documentation for several languages and place them on the corresponding URL prefixes (e.g.
/en
,/ru
,/zh
, etc.). But the links are generated relative, which makes it impossible to open the table of contents of a language without a leading slash:Adding a leading slash solves this problem:
But I can't change the behavior of the web-server because the documentation is published on the GitHub Pages.
Describe the solution you'd like Introduce a new parameter that will generate all links absolutely. It'll be possible to set an explicit prefix for the build, i.e.
/ru
,/en
, and so on.