You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Paul Au (Jira)" <ji...@apache.org> on 2021/07/02 17:46:00 UTC

[jira] [Comment Edited] (CASSANDRA-16762) Create content and UI components for new website

    [ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org