LuciferYang commented on PR #589:
URL: https://github.com/apache/spark-website/pull/589#issuecomment-2661926432
@dongjoon-hyun One point needs to be clarified.
1. The `PRODUCTION=1` option in `SKIP_API=1 PRODUCTION=1 bundle exec jekyll
build` seems to be ineffective in v3.5.0, as it did not generate the expected
```
<!-- Matomo -->
<script type="text/javascript">
var _paq = window._paq = window._paq || [];
/* tracker methods like "setCustomDimension" should be called before
"trackPageView" */
_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="https://analytics.apache.org/";
_paq.push(['setTrackerUrl', u+'matomo.php']);
_paq.push(['setSiteId', '40']);
var d=document, g=d.createElement('script'),
s=d.getElementsByTagName('script')[0];
g.async=true; g.src=u+'matomo.js';
s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Matomo Code -->
```
section when rebuilding the docs. Therefore, I had to manually revert the
deletion of this content in each file based on the generated code to maximize
consistency with the previous documentation.
2. If we want the `PRODUCTION=1` option to take effect and automatically
generate the Matomo section, we need to backport
https://github.com/apache/spark/pull/43063 from 3.5.1 to 3.5.0.
3. Currently, I'm not sure why the documentation in the 3.5.0 code
repository still contains the `Matomo` section, I haven't found the effective
parameter to generate it automatically.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]