-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(theme): sync docs with themes #509
Conversation
9a2141c
to
7ac5a40
Compare
@@ -0,0 +1,28 @@ | |||
{{/* This template is overridden to emit permalinks that (1) are absolute, and (2) specify the most recent version. This allows us to submit the sitemap to crawlers with true canonical URLs. */}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added / updated 2 years ago in themes:
camunda/camunda-docs-theme@1f9e19d
Present in camunda-docs-theme:
https://github.com/camunda/camunda-docs-manual/blob/master/themes/camunda/layouts/_default/sitemap.xml
@@ -8,7 +8,7 @@ | |||
</p> | |||
|
|||
<p> | |||
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are part of Camunda Platform | |||
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are both part of Camunda |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File was out of sync, changes in themes repo are newer
Changes from docs-static are three years old:
d55f2f2
Changed in themes 2024.03.05:
@@ -5,7 +5,7 @@ | |||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |||
'https://ssgtm.camunda.org/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intended changes
@@ -51,7 +51,7 @@ | |||
|
|||
<nav class="navbar navbar-fixed-top"> | |||
<div class="navbar-container navbar-top-section"> | |||
<span>Looking for Camunda Platform 8? >></span> | |||
<span>Looking for Camunda 8? >></span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(also line 20 & 22)
File was out of sync, changes in themes repo are newer
Changes from docs-static are from Mar 4, 2022:
c7e4d7f
Changed in themes are from Mar 5, 2022:
</p> | ||
</div> | ||
|
||
<div class="full"> | ||
<h4>Full Distribution</h4> | ||
|
||
<a class="details full" href="/manual/latest/installation/full">What is the Full Distribution?</a> | ||
<a class="details run" href="/manual/latest/installation/camunda-bpm-run">How to install Camunda Platform Run?</a> | ||
<a class="details run" href="/manual/latest/installation/camunda-bpm-run">How to install Camunda 7 Run?</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of sync
Changes in doc-static many years old:
https://github.com/camunda/camunda-docs-static/blame/master/enterprise/themes/camunda/layouts/shortcodes/ee-download.html#L52
Changes in themes are from this year:
https://github.com/camunda/camunda-docs-theme/blame/master/layouts/shortcodes/ee-download.html#L60
@@ -6,6 +6,6 @@ <h3>Enterprise Feature</h3> | |||
<p> | |||
Check the <a href="http://camunda.com/platform-7/editions/">Camunda enterprise homepage</a> | |||
for more information or get your | |||
<a href="http://camunda.com/download/enterprise/">free trial version.</a> | |||
<a href="https://camunda.com/download/enterprise/">free trial version.</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated, see: camunda/camunda-docs-manual#1694 (comment)
@@ -0,0 +1,28 @@ | |||
{{/* This template is overridden to emit permalinks that (1) are absolute, and (2) specify the most recent version. This allows us to submit the sitemap to crawlers with true canonical URLs. */}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,7 +8,7 @@ | |||
</p> | |||
|
|||
<p> | |||
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are part of Camunda Platform | |||
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are both part of Camunda |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,7 +8,7 @@ | |||
</p> | |||
|
|||
<p> | |||
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are part of Camunda Platform | |||
<a href="http://camunda.org">camunda.org</a> and <a href="{{ .Site.BaseURL }}">docs.camunda.org</a> are both part of Camunda |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,28 @@ | |||
{{/* This template is overridden to emit permalinks that (1) are absolute, and (2) specify the most recent version. This allows us to submit the sitemap to crawlers with true canonical URLs. */}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -4,8 +4,8 @@ <h3>Enterprise Feature</h3> | |||
<p class="description">{{ trim .Inner "" | markdownify }}</p> | |||
|
|||
<p> | |||
Check the <a href="http://camunda.com/bpm/enterprise/">Camunda enterprise homepage</a> | |||
Check the <a href="http://camunda.com/platform-7/editions/">Camunda enterprise homepage</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was out of sync with themes
@@ -18,7 +18,7 @@ | |||
|
|||
camDownloads.servers = {}; | |||
{{ range $info := sort $.Page.Params.downloads.servers "weight" }} | |||
camDownloads.servers['{{ $info.path }}'] = '{{ $info.name }}';{{ end }} | |||
camDownloads.servers['{{ $info.id }}'] = {name:'{{ $info.name }}',path:'{{ $info.path }}'};{{ end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes were not synced from themes.
Commit: camunda/camunda-docs-theme@48e728b
@@ -5,7 +5,7 @@ | |||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |||
'https://ssgtm.camunda.org/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intended change
@@ -34,6 +34,13 @@ | |||
{{ $styles := resources.Get "css/docs.css" | fingerprint }} | |||
|
|||
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}"> | |||
{{- $permalink := .Permalink }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last changed in themes in Nov 30, 2022:
camunda/camunda-docs-theme@1f9e19d#diff-ef4bb046d34a9de9dcbb20a75fc9ced0448446808348683926f22bd7192c654aL6
Section removed from docs-static: Aug 8, 2023
0b71c15#diff-e76d120cd614de8045567875ede423e24392c156e53da5b954615898f4b2d54bL38
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: update themes to remove code that was removed in 0b71c15#diff-e76d120cd614de8045567875ede423e24392c156e53da5b954615898f4b2d54bL38
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in themes.
@@ -4,8 +4,8 @@ <h3>Enterprise Feature</h3> | |||
<p class="description">{{ trim .Inner "" | markdownify }}</p> | |||
|
|||
<p> | |||
Check the <a href="http://camunda.com/bpm/enterprise/">Camunda enterprise homepage</a> | |||
Check the <a href="http://camunda.com/platform-7/editions/">Camunda enterprise homepage</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was out of sync with themes
@@ -18,7 +18,7 @@ | |||
|
|||
camDownloads.servers = {}; | |||
{{ range $info := sort $.Page.Params.downloads.servers "weight" }} | |||
camDownloads.servers['{{ $info.path }}'] = '{{ $info.name }}';{{ end }} | |||
camDownloads.servers['{{ $info.id }}'] = {name:'{{ $info.name }}',path:'{{ $info.path }}'};{{ end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of sync
Changes in doc-static many-many years old:
https://github.com/camunda/camunda-docs-static/blame/master/get-started/themes/camunda/layouts/shortcodes/ee-download.html#L21
Changes in themes are from this year:
https://github.com/camunda/camunda-docs-theme/blame/master/layouts/shortcodes/ee-download.html#L60
@@ -34,13 +34,6 @@ | |||
{{ $styles := resources.Get "css/docs.css" | fingerprint }} | |||
|
|||
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #509 (comment)
@@ -17,9 +17,9 @@ | |||
|
|||
<meta name="viewport" content="width=device-width" /> | |||
|
|||
<meta name="description" content="documentation of the Camunda Platform 7" /> | |||
<meta name="description" content="documentation of Camunda 7" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was out of sync with themes
@@ -5,7 +5,7 @@ | |||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | |||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | |||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | |||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | |||
'https://ssgtm.camunda.org/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intended changes
@@ -17,9 +17,9 @@ | |||
|
|||
<meta name="viewport" content="width=device-width" /> | |||
|
|||
<meta name="description" content="documentation of the Camunda Platform 7" /> | |||
<meta name="description" content="documentation of Camunda 7" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was out of sync with themes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job! 👍
related to: https://github.com/camunda/team-automation-platform/issues/160