We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58c241 commit 73d12caCopy full SHA for 73d12ca
1 file changed
website/shared/editlinks.js
@@ -94,13 +94,13 @@ const editLinksModule = (function(window) {
94
re: /(master-)?([^\/]+?)\.asciidoc/,
95
value: 'documentation'
96
},
97
- {
98
- re: /solutions\//,
99
- value: ''
100
- },
101
{
102
re: /solutions\/(solution\/[^\/]*)/,
103
index: 1
+ },
+ {
+ re: /solutions\//,
+ value: ''
104
}
105
];
106
return executeRules(rules);
@@ -199,6 +199,7 @@ const editLinksModule = (function(window) {
199
if(repoName) {
200
let folderName = getFolderName();
201
let branchName = getBranchName();
202
+ folderName = folderName.replace('solution/','solutions/');
203
let urlPrefix = "https://github.com/devonfw/" + repoName + "/edit/" + branchName + "/" + folderName + "/";
204
$('h2,h3,h4,h5').each(function() {
205
let headline = $( this );
0 commit comments