[
https://issues.apache.org/jira/browse/HBASE-29952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dávid Paksy updated HBASE-29952:
--------------------------------
Description:
Now that the docs (RefGuide) is changed from asciidoc to new tech, we can get
rid of the ugly workaround:
{noformat}
# Workaround to replace MathJax CDN URI with local one in book.html
# There is no way to influence from where the book.html Asciidoc includes the
MathJax.js library.
# https://docs.asciidoctor.org/asciidoctor/latest/stem/mathjax/
#
https://docs.asciidoctor.org/asciidoc/latest/attributes/document-attributes-ref/
# https://github.com/asciidoctor/asciidoctor/issues/761
echo "Replace MathJax URI"
sed -i 's,https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/,js/,g'
"${component_dir}"/target/site/book.html{noformat}
> Clean up MathJax URI workaround from
> dev-support/jenkins-scripts/generate-hbase-website.sh
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-29952
> URL: https://issues.apache.org/jira/browse/HBASE-29952
> Project: HBase
> Issue Type: Task
> Components: scripts, website
> Reporter: Dávid Paksy
> Priority: Major
>
> Now that the docs (RefGuide) is changed from asciidoc to new tech, we can get
> rid of the ugly workaround:
> {noformat}
> # Workaround to replace MathJax CDN URI with local one in book.html
> # There is no way to influence from where the book.html Asciidoc includes the
> MathJax.js library.
> # https://docs.asciidoctor.org/asciidoctor/latest/stem/mathjax/
> #
> https://docs.asciidoctor.org/asciidoc/latest/attributes/document-attributes-ref/
> # https://github.com/asciidoctor/asciidoctor/issues/761
> echo "Replace MathJax URI"
> sed -i 's,https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/,js/,g'
> "${component_dir}"/target/site/book.html{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)