Skip to content
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

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

venetrius
Copy link
Member

@venetrius venetrius self-assigned this Nov 5, 2024
@venetrius venetrius force-pushed the 160-update-google-tag-manager-link branch from 9a2141c to 7ac5a40 Compare November 5, 2024 15:55
@@ -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. */}}
Copy link
Member Author

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
Copy link
Member Author

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:

camunda/camunda-docs-theme@c0b25b7

@@ -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);
Copy link
Member Author

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>
Copy link
Member Author

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:

camunda/camunda-docs-theme@c0b25b7

</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>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -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>
Copy link
Member Author

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. */}}
Copy link
Member Author

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
Copy link
Member Author

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
Copy link
Member Author

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. */}}
Copy link
Member Author

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>
Copy link
Member Author

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 }}
Copy link
Member Author

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);
Copy link
Member Author

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 }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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

Copy link
Member Author

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>
Copy link
Member Author

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 }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -34,13 +34,6 @@
{{ $styles := resources.Get "css/docs.css" | fingerprint }}

<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -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" />
Copy link
Member Author

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);
Copy link
Member Author

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" />
Copy link
Member Author

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

@venetrius venetrius requested a review from tasso94 November 6, 2024 14:46
Copy link
Member

@tasso94 tasso94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! 👍

@venetrius venetrius merged commit ce72d0e into master Nov 8, 2024
1 check passed
@venetrius venetrius deleted the 160-update-google-tag-manager-link branch November 8, 2024 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants