You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The :wiki-url built for the namespace-index-info does not insert a "/" between the :web-home and the namespace file name (it assumes the given :web-home has a trailing "/").
The :wiki-url built for the var-index-info does insert a "/" between the :web-home and the var file name (it assumes the given :web-home does not end in "/").
You can easily see it in the generated index.clj. Search for :wiki-url. Either the ones in the :namespaces section have one "/" correctly and the ones in the :vars section have a "//" in the middle of the URL, or the former are missing the "/" and the latter are correct.
Inserting "/" at line 493 of build_html.clj would fix the problem.
Even better, adding a normalization step to turn "//" and things like "/./" into "/" would make things even cleaner.
The text was updated successfully, but these errors were encountered:
The :wiki-url built for the namespace-index-info does not insert a "/" between the :web-home and the namespace file name (it assumes the given :web-home has a trailing "/").
The :wiki-url built for the var-index-info does insert a "/" between the :web-home and the var file name (it assumes the given :web-home does not end in "/").
You can easily see it in the generated index.clj. Search for :wiki-url. Either the ones in the :namespaces section have one "/" correctly and the ones in the :vars section have a "//" in the middle of the URL, or the former are missing the "/" and the latter are correct.
Inserting "/" at line 493 of build_html.clj would fix the problem.
Even better, adding a normalization step to turn "//" and things like "/./" into "/" would make things even cleaner.
The text was updated successfully, but these errors were encountered: