Skip to content

Commit 998e578

Browse files
committed
Update docgen
1 parent 8d42c18 commit 998e578

File tree

4 files changed

+852
-720
lines changed

4 files changed

+852
-720
lines changed

.vuepress/components/ProcessesSpec.vue

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<DocGen :document="documentUrl" :apiVersion="version.apiTag" :notice="notice" />
2+
<DocGen :document="documentUrl" :apiVersion="version.apiTag" :notice="notice" showExperimentalByDefault />
33
</template>
44

55
<script>
@@ -24,4 +24,10 @@ export default {
2424
}
2525
}
2626
};
27-
</script>
27+
</script>
28+
29+
<style>
30+
.docgen section.action-bar {
31+
display: none !important;
32+
}
33+
</style>

.vuepress/enhanceApp.js

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ const config = require('./config.js');
22

33
const defaultVersion = config.themeConfig.versions[config.themeConfig.defaultVersion];
44

5+
// for openeo-processes-docgen
6+
// see https://github.com/vuejs/vuepress/issues/1434
7+
if (typeof window !== "undefined") {
8+
window.global = window;
9+
}
10+
511
export default ({ router, Vue }) => {
612
Vue.config.ignoredElements = [
713
'redoc'

0 commit comments

Comments
 (0)