[
https://issues.apache.org/jira/browse/CASSANDRA-16762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17373634#comment-17373634
]
Paul Au edited comment on CASSANDRA-16762 at 7/2/21, 5:45 PM:
--------------------------------------------------------------
I added some code to create the script tag dynamically
{code:java}
const script = document.createElement("script");
const domain = window.location.hostname;
script.type = "text/javascript";
script.src = "https://plausible.cassandra.apache.org/js/plausible.js";
script.setAttribute("data-domain",domain);
script.setAttribute("defer",'true');
script.setAttribute("async",'true');
document.getElementsByTagName("head")[0].appendChild(script);
{code}
was (Author: paul-traverstodd.com):
I added some code to create the script tag dynamically
{code:java}
const script = document.createElement("script");
const domain = window.location.hostname;
script.type = "text/javascript";
script.src = "https://plausible.cassandra.apache.org/js/plausible.js";
script.setAttribute("data-domain",domain);
script.setAttribute("defer",'true');
script.setAttribute("async",'true');
document.head.appendChild(script);
{code}
> Create content and UI components for new website
> ------------------------------------------------
>
> Key: CASSANDRA-16762
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16762
> Project: Cassandra
> Issue Type: Task
> Components: Documentation/Website
> Reporter: Anthony Grasso
> Assignee: Paul Au
> Priority: High
>
> We need create the content (asciidoc) and UI components to render the website
> using Antora. This work can commence once the following has happened:
> * Website and documentation proof of concept is done - CASSANDRA-16029
> * Website design and concept is done - CASSANDRA-16115
> * Website and document tooling is done - CASSANDRA-16066
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]