| Summary: | https://www.eclipse.org/sirius/doc/ is not using the right UA-Code | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Cedric Brun <cedric.brun> |
| Component: | Documentation | Assignee: | Projet Inbox <sirius.doc-inbox> |
| Status: | CLOSED FIXED | QA Contact: | Pierre-Charles David <pierre-charles.david> |
| Severity: | normal | ||
| Priority: | P3 | CC: | esteban.dugueperoux, pierre-charles.david |
| Version: | unspecified | Keywords: | triaged |
| Target Milestone: | 3.0.0M7 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Cedric Brun
I updated the website with commit c11b3e46004b42fa3e6deedafe4aa47f535f734b but will leave this ticket open to discuss this with Pierre-Charles and see whether thats a sustainaible fix considering the website is "sort of" generated. Cédric, I'm closing this considering what you told me the other day. Reopen if I misinterpreted and there is more work to do here. The correct UA-Code is now used. The following script must be applied to the documentation files' copy which is deployed on www.eclipse.org/sirius/doc to insert the Analytics code (we do not want it directly on the version packaged in the Eclipse Help).
find . -name "*.html" | while read f; do
sed -i -e 's|<link type="text/css" rel="stylesheet" href="resources/custom.css"/>|<link type="text/css" rel="stylesheet" href="resources/custom.css"/>\n<script type="text/javascript" src="../js/googleAnalytics.js"></script>|g' "$f"
sed -i -e 's|<link type="text/css" rel="stylesheet" href="../resources/custom.css"/>|<link type="text/css" rel="stylesheet" href="../resources/custom.css"/>\n<script type="text/javascript" src="../../js/googleAnalytics.js"></script>|g' "$f"
sed -i -e 's|<link type="text/css" rel="stylesheet" href="../../resources/custom.css"/>|<link type="text/css" rel="stylesheet" href="../../resources/custom.css"/>\n<script type="text/javascript" src="../../../js/googleAnalytics.js"></script>|g' "$f"
done
Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |