Skip to content

Commit

Permalink
fix: working plugin doc from json-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Jun 20, 2024
1 parent a8a9090 commit 90bb227
Show file tree
Hide file tree
Showing 7 changed files with 1,159 additions and 807 deletions.
13 changes: 2 additions & 11 deletions components/docs/NavSideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,13 @@
<script setup>
import Magnify from "vue-material-design-icons/Magnify.vue"
import Keyboard from "vue-material-design-icons/Keyboard.vue"
import Menu from "vue-material-design-icons/Menu.vue"
import RecursiveNavSidebar from "./RecursiveNavSidebar.vue";
</script>

<script>
import ChevronDown from "vue-material-design-icons/ChevronDown.vue"
import ChevronUp from "vue-material-design-icons/ChevronUp.vue"
import Menu from "vue-material-design-icons/Menu.vue"
import RecursiveNavSidebar from "./RecursiveNavSidebar.vue";
export default defineComponent({
components: {
RecursiveNavSidebar,
ChevronDown,
ChevronUp,
Menu
},
props: {
type: {
type: String,
Expand Down
3 changes: 0 additions & 3 deletions components/home/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@

<div class="companies-background overflow-x-hidden">
<Companies class="mt-4 mb-4 pb-4 companies container" />



</div>
</div>
<div
Expand Down
17 changes: 3 additions & 14 deletions components/layout/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -384,41 +384,30 @@ import Flash from "vue-material-design-icons/Flash.vue"
import Domain from "vue-material-design-icons/Domain.vue"
import CalendarOutline from "vue-material-design-icons/CalendarOutline.vue"
import CodeNotEqualVariant from "vue-material-design-icons/CodeNotEqualVariant.vue"
import ArrowRight from "vue-material-design-icons/ArrowRight.vue";
import Cogs from "vue-material-design-icons/Cogs.vue"
import AccountGroupOutline from "vue-material-design-icons/AccountGroupOutline.vue"
import Slack from "vue-material-design-icons/Slack.vue"
import Reload from "vue-material-design-icons/Reload.vue"
import Ballot from "vue-material-design-icons/Ballot.vue"
import AxisArrow from "vue-material-design-icons/AxisArrow.vue"
import ChartDonut from "vue-material-design-icons/ChartDonut.vue"
import BookOpenVariant from "vue-material-design-icons/BookOpenVariant.vue"
import Sync from "vue-material-design-icons/Sync.vue"
import BasketOutline from "vue-material-design-icons/BasketOutline.vue"
import BankOutline from "vue-material-design-icons/BankOutline.vue"
import PillMultiple from "vue-material-design-icons/PillMultiple.vue"
import Translate from "vue-material-design-icons/Translate.vue"
import Earth from "vue-material-design-icons/Earth.vue"
</script>

<script>
import ChevronDown from "vue-material-design-icons/ChevronDown.vue";
import ChevronRight from "vue-material-design-icons/ChevronRight.vue";
import GithubButton from "../layout/GithubButton.vue";
</script>

<script>
export default {
components: {
ChevronDown,
GithubButton
},
data() {
return {
transparentHeader: false,
transparentClass: false,
isOpen: false,
collapse: undefined
}
},
collapse: undefined,
created() {
const route = useRoute();
this.transparentHeader = route.meta.transparentHeader === true;
Expand Down
2 changes: 1 addition & 1 deletion middleware/route-lower-case.global.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default defineNuxtRouteMiddleware((to, from) => {
return navigateTo(to.fullPath.replace(to.path, to.path.toLocaleLowerCase()), {redirectCode: 301})
}

if (to.path !== "/" && to.path.endsWith("/")) {
if (!process.dev && to.path !== "/" && to.path.endsWith("/")) {
return navigateTo(to.path.substring(0, to.path.length - 1), {redirectCode: 301});
}
})
6 changes: 1 addition & 5 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,6 @@ export default defineNuxtConfig({
},

nitro: {
experimental: {
wasm: true
},
prerender: {
routes: ['/rss.xml'],
},
Expand Down Expand Up @@ -183,7 +180,7 @@ export default defineNuxtConfig({
},

build: {
transpile: ['vue3-count-to'],
transpile: ['vue3-count-to', '@kestra-io/ui-libs'],
extractCSS: true
},

Expand Down Expand Up @@ -212,7 +209,6 @@ export default defineNuxtConfig({
},

devtools: {
enabled: true,
timeline: {
enabled: true
}
Expand Down
Loading

0 comments on commit 90bb227

Please sign in to comment.