Skip to content

Commit

Permalink
Update docgen
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Jul 26, 2024
1 parent 8d42c18 commit a1dae19
Show file tree
Hide file tree
Showing 4 changed files with 852 additions and 720 deletions.
10 changes: 8 additions & 2 deletions .vuepress/components/ProcessesSpec.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<DocGen :document="documentUrl" :apiVersion="version.apiTag" :notice="notice" />
<DocGen :document="documentUrl" :apiVersion="version.apiTag" :notice="notice" showExperimentalByDefault />
</template>

<script>
Expand All @@ -24,4 +24,10 @@ export default {
}
}
};
</script>
</script>

<style>
.docgen section.action-bar {
display: none;
}
</style>
6 changes: 6 additions & 0 deletions .vuepress/enhanceApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ const config = require('./config.js');

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

// for openeo-processes-docgen
// see https://github.com/vuejs/vuepress/issues/1434
if (typeof window !== "undefined") {
window.global = window;
}

export default ({ router, Vue }) => {
Vue.config.ignoredElements = [
'redoc'
Expand Down
Loading

0 comments on commit a1dae19

Please sign in to comment.