Closed intelliant01 closed 6 years ago
Fixed.
For old installs, the change needs to be done manually as of now (may construct a fix if needed) -
# diff indexer.sh /tmp/indexer.sh.old
3,4d2
< for i in `ls htmls`; do cat "htmls/$i" >> index.html; done
<
25c23
< sed -i -e 's@<a href="manual/mss-doc-latest/index.html" target="_blank">English</a>\ \ \ <a href="manual/mss-doc-hi-latest/index.html" target="_blank">Hindi</a>@&\ \ \ <a href="manual/mss-doc-'"$2"'-latest/index.html" target="_blank"></i>'"$3"'</a>@g' index.html
---
> sed -i -e 's@<a href="manual/mss-doc-latest/index.html" target="_blank">English</a>\ \ \ <a href="manual/mss-doc-hi-latest/index.html" target="_blank">Hindi</a>@&\ \ \ <a href="manual/mss-doc-'"$2"'-latest/index.html" target="_blank"></i>'"$3"'</a>@g' htmls/90-mss-manual.html
35a34,35
>
> for i in `ls htmls`; do cat "htmls/$i" >> index.html; done
---
38a39
> /usr/bin/mssipchange
mssupdate almost always regenerates index.html. The 90-mss-manual.html file was not being updated when integrating local language manual.
The indexer.sh has been modified to do the same.