Skip to content

Commit 06a3662

Browse files
authored
fix domain from broken devonfw.com to standard github pages (#362)
2 parents d9691d4 + 8597a3c commit 06a3662

File tree

11 files changed

+30
-30
lines changed

11 files changed

+30
-30
lines changed

.github/workflows/linkchecker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
run: sudo apt-get install w3c-linkchecker
1616
- name: start check
1717
run: |
18-
checklink -r -s -b https://devonfw.com | tee output.txt
18+
checklink -r -s -b https://devonfw.github.io | tee output.txt
1919
- name: parse check output
2020
run: |
2121
output=$(cat output.txt)

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

antora-playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
site:
22
title: devonfw
3-
url: https://devonfw.com/docs
3+
url: https://devonfw.github.io/docs
44
content:
55
sources:
66
- url: https://github.com/devonfw/java

general-scripts/rereferencer/mapper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const PROTOCOL = 'https';
44
const WIKI_TOKEN = 'wiki';
55
const DEFAULT_ANCHOR = '';
66
const WORDS_SEPARATOR = '-';
7-
const DOMAIN = 'devonfw.com';
7+
const DOMAIN = 'devonfw.github.io';
88
const DEFAULT_PREFIX = 'master';
99
const ANCHOR = (str) => `_${str}`;
1010
const ORIGINAL_FILE_EXT = '.asciidoc';
@@ -55,4 +55,4 @@ const instance = new Mapper();
5555
Object.freeze(instance);
5656

5757
// export default instance;
58-
module.exports = instance;
58+
module.exports = instance;

index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,27 @@
33
<head>
44
<meta
55
http-equiv="Refresh"
6-
content="0; url=https://devonfw.com/website/pages/welcome/welcome.html"
6+
content="0; url=https://devonfw.github.io/website/pages/welcome/welcome.html"
77
/>
88

99
<!-- ******** SOCIAL MEDIA META ********** -->
1010

1111
<meta name="title" property="og:title" content="devonfw website">
1212
<meta property="og:type" content="website">
13-
<meta name="image" property="og:image" content="https://devonfw.com/images/devonfwwebsite.png">
13+
<meta name="image" property="og:image" content="https://devonfw.github.io/images/devonfwwebsite.png">
1414
<meta name="description" property="og:description" content="devonfw is the standard open source software development platform; Serving the full Software Delivery Life Cycle.">
15-
<meta property="og:url" content="https://devonfw.com/index.html">
15+
<meta property="og:url" content="https://devonfw.github.io/index.html">
1616

1717
<meta name="twitter:title" content="devonfw website">
1818
<meta name="twitter:description" content="devonfw is the standard open source software development platform; Serving the full Software Delivery Life Cycle.">
19-
<meta name="twitter:image" content="https://devonfw.com/images/devonfwwebsite.png">
19+
<meta name="twitter:image" content="https://devonfw.github.io/images/devonfwwebsite.png">
2020
<meta name="twitter:card" content="summary_large_image">
2121

2222
<!-- ************************************* -->
2323

2424
</head>
2525
<body>
26-
<p>Please follow <a href="https://devonfw.com/website/pages/welcome/welcome.html">this link</a>.</p>
26+
<p>Please follow <a href="https://devonfw.github.io/website/pages/welcome/welcome.html">this link</a>.</p>
2727
</body>
2828
</html>
2929

static/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
21
<!DOCTYPE html>
32
<html lang="en">
43
<head>
54
<meta charset="utf-8">
65
<meta name="viewport" content="width=device-width,initial-scale=1">
76
<title> devonfw</title>
8-
<link rel="canonical" href="https://devonfw.com/devon4j/current/index.html">
7+
<link rel="canonical" href="https://devonfw.github.io/devon4j/current/index.html">
98
<meta name="generator" content="Antora 3.0.2">
109
<link rel="stylesheet" href="./css/site.css">
1110
<link rel="stylesheet" href="./css/devonfw.css">
@@ -35,7 +34,7 @@ <h3>Dear devonfw friends!</h3>
3534
<header class="header">
3635
<nav class="navbar" id="navbar">
3736
<div class="navbar-brand">
38-
<a class="navbar-item" href="https://devonfw.com">devonfw</a>
37+
<a class="navbar-item" href="https://devonfw.github.io">devonfw</a>
3938
<button class="navbar-burger" data-target="topbar-nav">
4039
<span></span>
4140
<span></span>
@@ -44,12 +43,12 @@ <h3>Dear devonfw friends!</h3>
4443
</div>
4544
<div id="topbar-nav" class="navbar-menu">
4645
<div class="navbar-end">
47-
<a class="navbar-item" href="https://devonfw.com/docs/java/current/">Java</a>
48-
<a class="navbar-item" href="https://devonfw.com/docs/typescript/current/">TypeScript</a>
46+
<a class="navbar-item" href="https://devonfw.github.io/docs/java/current/">Java</a>
47+
<a class="navbar-item" href="https://devonfw.github.io/docs/typescript/current/">TypeScript</a>
4948
<a class="navbar-item" href="https://github.com/devonfw/ide">IDE</a>
5049
<a class="navbar-item" href="https://github.com/devonfw/hangar">CI/CD</a>
51-
<a class="navbar-item" href="https://devonfw.com/website/pages/learning/">Tutorials</a>
52-
<a class="navbar-item" href="https://devonfw.com/website/pages/docs/master.html">Legacy Docs</a>
50+
<a class="navbar-item" href="https://devonfw.github.io/website/pages/learning/">Tutorials</a>
51+
<a class="navbar-item" href="https://devonfw.github.io/website/pages/docs/master.html">Legacy Docs</a>
5352
<div class="navbar-item search hide-for-print">
5453
<div id="search-field" class="field">
5554
<input id="search-input" type="text" placeholder="Search the docs" title="">
@@ -135,7 +134,7 @@ <h2>Hangar</h2>
135134
<footer>
136135
<div class="bottom-footer">
137136
<ul>
138-
<li><a href="https://devonfw.com/website/pages/docs/devonfw-guide_ide.wiki_LICENSE.asciidoc.html">Terms of use</a></li>
137+
<li><a href="https://devonfw.github.io/website/pages/docs/devonfw-guide_ide.wiki_LICENSE.asciidoc.html">Terms of use</a></li>
139138
</ul>
140139
</div>
141140

@@ -144,9 +143,10 @@ <h2>Hangar</h2>
144143
</div>
145144
<script src="./js/devonfw.js"></script>
146145
<script src="./js/cookie-consent.js"></script>
147-
<script src="https://cginternal.devonfw.com/communitycontent/main.js"></script>
146+
<script src="https://cginternal.devonfw.github.io/communitycontent/main.js"></script>
148147
<script src="./docs/_/js/vendor/lunr.js"></script>
149148
<script src="./docs/_/js/search-ui.js" id="search-ui-script" data-site-root-path="./docs" data-snippet-length="100" data-stylesheet="./docs/_/css/search.css"></script>
150149
<script async src="./docs/search-index.js"></script>
151150
</body>
152151
</html>
152+

static/js/cookie-consent.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@
574574
function gtag(){dataLayer.push(arguments);}
575575
function loadGAonConsent(){
576576
// Google Analytics
577-
if(location.hostname == "devonfw.com"){
577+
if(location.hostname == "devonfw.github.io"){
578578
window.dataLayer = window.dataLayer || [];
579579
gtag('js', new Date());
580580
gtag('config', 'UA-151636804-1', { 'anonymize_ip': true });
@@ -615,7 +615,7 @@ window.addEventListener("load", function(){
615615
"deny":"Decline",
616616
"allow": "Accept",
617617
"link": "cookie policy",
618-
"href": "https://devonfw.com/"
618+
"href": "https://devonfw.github.io/"
619619
},
620620
revokable:true,
621621
onStatusChange: function(status, chosenBefore) {
@@ -637,3 +637,4 @@ if (document.cookie.split(';').filter(function(item) {
637637
}).length) {
638638
loadGAonConsent();
639639
}
640+

website/components/footer/footer.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Community::
2929
--
3030

3131
[.footerFooter]
32-
* https://devonfw.com/website/pages/docs/devonfw-guide_ide.wiki_LICENSE.asciidoc.html[Terms of Use]
32+
* https://devonfw.github.io/website/pages/docs/devonfw-guide_ide.wiki_LICENSE.asciidoc.html[Terms of Use]
3333
* https://github.com/devonfw[Support]

website/components/header/header.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
[.website-navbar]
66
// this links need to be set as with a leading # and the <<link,name>> syntax in order to work properly
77
// see also https://github.com/asciidoctor/asciidoctor/issues/417?source=cc#issuecomment-471338264
8-
* image:/images/Logo_devonfw.svg[logo, link="https://devonfw.com/"]
9-
* https://devonfw.com/website/pages/learning/[Tutorials]
8+
* image:/images/Logo_devonfw.svg[logo, link="https://devonfw.github.io/"]
9+
* https://devonfw.github.io/website/pages/learning/[Tutorials]
1010
* <</website/pages/solutions/index.html#,Solutions>>
1111
* <</website/pages/docs/master.html#,Docs>>
1212

website/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010

1111
<meta name="title" property="og:title" content="devonfw website">
1212
<meta property="og:type" content="website">
13-
<meta name="image" property="og:image" content="https://devonfw.com/images/devonfwwebsite.png">
13+
<meta name="image" property="og:image" content="https://devonfw.github.io/images/devonfwwebsite.png">
1414
<meta name="description" property="og:description" content="devonfw is the standard open source software development platform; Serving the full Software Delivery Life Cycle.">
15-
<meta property="og:url" content="https://devonfw.com/index.html">
15+
<meta property="og:url" content="https://devonfw.github.io/index.html">
1616

1717
<meta name="twitter:title" content="devonfw website">
1818
<meta name="twitter:description" content="devonfw is the standard open source software development platform; Serving the full Software Delivery Life Cycle.">
19-
<meta name="twitter:image" content="https://devonfw.com/images/devonfwwebsite.png">
19+
<meta name="twitter:image" content="https://devonfw.github.io/images/devonfwwebsite.png">
2020
<meta name="twitter:card" content="summary_large_image">
2121

2222
<!-- ************************************* -->

0 commit comments

Comments
 (0)