diff --git a/docs/assets/definitions.scss b/docs/assets/definitions.scss
index b90560541..53475f465 100644
--- a/docs/assets/definitions.scss
+++ b/docs/assets/definitions.scss
@@ -4,5 +4,5 @@ $code-color: #696680;
$link-color: #368d74;
$link-hover-color: #26614d;
$selection-color: #f0e7ed;
-$basic-transition: color 0.25s ease;
+$basic-transition: color 0.25s ease, fill 0.25s ease;
$nav-width: 260px;
diff --git a/docs/common/DocsAnchorTarget.vue b/docs/common/DocsAnchorTarget.vue
index fb9d6cab5..994beadce 100644
--- a/docs/common/DocsAnchorTarget.vue
+++ b/docs/common/DocsAnchorTarget.vue
@@ -31,11 +31,11 @@
type: String,
validator(value) {
if (!value.startsWith('#')) {
- log.warn(`'anchor' prop value '${value}' must start with a '#'`);
+ log.error(`'anchor' prop value '${value}' must start with a '#'`);
return false;
}
- if (!value.match(/^#[a-zA-Z0-9_-]*$/)) {
- log.warn(`'anchor' prop value '${value}' must match /^#[a-zA-Z0-9_-]*$/`);
+ if (!value.match(/^#[\w.:]*$/)) {
+ log.error(`'anchor' prop value '${value}' invalid`);
return false;
}
return true;
diff --git a/docs/common/DocsGithubLink.vue b/docs/common/DocsGithubLink.vue
new file mode 100644
index 000000000..6247f206d
--- /dev/null
+++ b/docs/common/DocsGithubLink.vue
@@ -0,0 +1,108 @@
+
+
+
+ {{ linkText }}
+
+
+
+
+
+
+
+
+
diff --git a/docs/common/DocsPageTemplate/BranchLink.vue b/docs/common/DocsPageTemplate/BranchLink.vue
new file mode 100644
index 000000000..36c883ed0
--- /dev/null
+++ b/docs/common/DocsPageTemplate/BranchLink.vue
@@ -0,0 +1,48 @@
+
+
+
+
+
+ Local environment
+
+ |
+
+
+
+
+
+
+
+
+
diff --git a/docs/common/DocsPageTemplate/GitHubLink.vue b/docs/common/DocsPageTemplate/GitHubLink.vue
deleted file mode 100644
index b0f1573b2..000000000
--- a/docs/common/DocsPageTemplate/GitHubLink.vue
+++ /dev/null
@@ -1,66 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
diff --git a/docs/common/DocsPageTemplate/Header.vue b/docs/common/DocsPageTemplate/Header.vue
index cc27cd690..55fcfe0eb 100644
--- a/docs/common/DocsPageTemplate/Header.vue
+++ b/docs/common/DocsPageTemplate/Header.vue
@@ -13,7 +13,7 @@
link to current page
-
+
@@ -28,12 +28,12 @@
+
+
+
diff --git a/docs/plugins/load-common-components.js b/docs/plugins/load-common-components.js
index acfe53dc1..72d577099 100644
--- a/docs/plugins/load-common-components.js
+++ b/docs/plugins/load-common-components.js
@@ -2,6 +2,7 @@ import Vue from 'vue';
import VueSimpleMarkdown from 'vue-simple-markdown';
import DocsExternalLink from '~/common/DocsExternalLink';
+import DocsGithubLink from '~/common/DocsGithubLink';
import DocsInternalLink from '~/common/DocsInternalLink';
import DocsAnchorTarget from '~/common/DocsAnchorTarget';
import DocsPageSection from '~/common/DocsPageSection';
@@ -15,6 +16,7 @@ Vue.component('DocsPageSection', DocsPageSection);
Vue.component('DocsInternalLink', DocsInternalLink);
Vue.component('DocsAnchorTarget', DocsAnchorTarget);
Vue.component('DocsExternalLink', DocsExternalLink);
+Vue.component('DocsGithubLink', DocsGithubLink);
Vue.component('DocsShow', DocsShow);
Vue.component('DocsDoNot', DocsDoNot);
Vue.component('DocsFilter', DocsFilter);
diff --git a/docs/tableOfContents.js b/docs/tableOfContents.js
index 9994fd656..88e6c675f 100644
--- a/docs/tableOfContents.js
+++ b/docs/tableOfContents.js
@@ -64,6 +64,10 @@ export default [
path: '/principles',
title: 'Design principles',
}),
+ new Page({
+ path: '/versions',
+ title: 'Version history',
+ }),
],
}),
new Section({