GitHub user gtapper opened a pull request:
https://github.com/apache/incubator-trafodion/pull/271
Trafodion 1699
For the website pages, this is accomplished by adding
**\<googleAnalyticsAccountID\>** tag to the `site.xml` file.
For asciidoc files, an extension from asciidoc-extension-labs provides the
needed function:
https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/lib/google-analytics-postprocessor.rb
**LICENSE NOTICE**
Like asciidoc itself, this extension uses the MIT license.
In addition, it has a dependency on jruby.
**RELEASE INSTRUCTIONS**
Please build the website and the asciidoc files as documented at:
http://trafodion.apache.org/document.html#publish
There no real need to replace the .pdf files but it's simpler to replace
all the latest and 1.3.0 documentation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gtapper/incubator-trafodion TRAFODION-1699
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafodion/pull/271.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #271
----
commit 49ac36309dfb2b55d73f99227b2a5b1df97d43d0
Author: Gunnar Tapper <[email protected]>
Date: 2016-01-15T07:10:09Z
Added Google Analytics tracking.
commit e3c35c59c04edee8e009d7ce10a3352622531d48
Author: Gunnar Tapper <[email protected]>
Date: 2016-01-18T02:56:58Z
Added Google Analytics Tracking to all .html pages. Code: UA-72491210-1.
For the website pages, this is accomplished by adding
<googleAnalyticsAccountID> tag to the site.xml file.
For asciidoc files, an extension from asciidoc-extension-labs provides the
needed function:
https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/lib/google-analytics-postprocessor.rb
*** LICENSE NOTICE ***
Like asciidoc itself, this extension uses the MIT license.
In addition, it has a dependency on jruby.
*** RELEASE INSTRUCTIONS ***
Please build the website and the asciidoc files as documented at:
http://trafodion.apache.org/document.html#publish
There no real need to replace the .pdf files but it's simpler to replace
all the latest and 1.3.0 documentation.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---