diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 3364224..3f5db42 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -37,6 +37,11 @@ module.exports = { }, extendMarkdown: md => { md.use(require('markdown-it-div')) + md.use(require('markdown-it-multimd-table'), { + multiline: true, + rowspan: true, + headerless: false, + }) } }, themeConfig: { @@ -65,6 +70,10 @@ module.exports = { title: 'Races', path: '/races/', children: [ + { + title: 'Les races', + path: '/races/' + }, { title: 'Demi-elfe', path: '/races/demi-elfe/' @@ -119,6 +128,136 @@ module.exports = { } ] }, + { + title: "Personnalité & Historique", + children: [ + { + title: "Personnalité & Historique", + path: '/personnalite-et-historique/' + }, + { + title: "Brigand", + path: '/personnalite-et-historique/brigand/' + }, + { + title: "Crapule", + path: '/personnalite-et-historique/crapule/' + }, + { + title: "Dévot", + path: '/personnalite-et-historique/devot/' + }, + { + title: "Érudit", + path: '/personnalite-et-historique/erudit/' + }, + { + title: "Explorateur", + path: '/personnalite-et-historique/explorateur/' + }, + { + title: "Homme de loi", + path: '/personnalite-et-historique/homme-de-loi/' + }, + { + title: "Itinérant", + path: '/personnalite-et-historique/itinerant/' + }, + { + title: "Manouvrier", + path: '/personnalite-et-historique/manouvrier/' + }, + { + title: "Membre de guilde", + path: '/personnalite-et-historique/membre-de-guilde/' + }, + { + title: "Militaire", + path: '/personnalite-et-historique/militaire/' + }, + { + title: "Miséreux", + path: '/personnalite-et-historique/misereux/' + }, + { + title: "Primitif", + path: '/personnalite-et-historique/primitif/' + }, + { + title: "Sang-bleu", + path: '/personnalite-et-historique/sang-bleu/' + }, + { + title: "Serviteur", + path: '/personnalite-et-historique/serviteur/' + }, + { + title: "Solitaire", + path: '/personnalite-et-historique/solitaire/' + }, + { + title: "Villageois", + path: '/personnalite-et-historique/villageois/' + } + ] + }, + { + title: "Classes", + children: [ + { + title: "Les classes", + path: '/classes/' + }, + { + title: "Barbare", + path: '/classes/barbare/' + }, + { + title: "Barde", + path: '/classes/barde/' + }, + { + title: "Clerc", + path: '/classes/clerc/' + }, + { + title: "Druide", + path: '/classes/druide/' + }, + { + title: "Ensorceleur", + path: '/classes/ensorceleur/' + }, + { + title: "Guerrier", + path: '/classes/guerrier/' + }, + { + title: "Magicien", + path: '/classes/magicien/' + }, + { + title: "Moine", + path: '/classes/moine/' + }, + { + title: "Paladin", + path: '/classes/paladin/' + }, + { + title: "Rôdeur", + path: '/classes/rodeur/' + }, + { + title: "Roublard", + path: '/classes/roublard/' + }, + { + title: "Sorcier", + path: '/classes/sorcier/' + } + ] + }, { title: 'Options de personnalisation', path: '/options-de-personnalisation/' diff --git a/docs/.vuepress/store/index.js b/docs/.vuepress/store/index.js index 9df4201..a4d764a 100644 --- a/docs/.vuepress/store/index.js +++ b/docs/.vuepress/store/index.js @@ -15,6 +15,7 @@ export default new Vuex.Store({ rightDrawer: false, hasRightDrawer: false, inRightDrawer: null, + isThemeDark: false, }, getters: { @@ -22,6 +23,7 @@ export default new Vuex.Store({ rightDrawer: state => state.rightDrawer, hasRightDrawer: state => state.hasRightDrawer, inRightDrawer: state => state.inRightDrawer, + isThemeDark: state => state.isThemeDark, }, actions: { @@ -37,6 +39,9 @@ export default new Vuex.Store({ updateInRightDrawer: ({ commit }, payload) => { commit('setInRightDrawer', payload) }, + isThemeDark: ({ commit }, payload) => { + commit('setIsThemeDark', payload) + }, }, mutations: { @@ -52,5 +57,8 @@ export default new Vuex.Store({ setInRightDrawer: (state, payload) => { state.inRightDrawer = payload }, + setIsThemeDark: (state, payload) => { + state.isThemeDark = payload + }, }, }) diff --git a/docs/.vuepress/theme/components/Breadcrumb.vue b/docs/.vuepress/theme/components/Breadcrumb.vue new file mode 100644 index 0000000..801146e --- /dev/null +++ b/docs/.vuepress/theme/components/Breadcrumb.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/docs/.vuepress/theme/components/NavDrawer.vue b/docs/.vuepress/theme/components/NavDrawer.vue index 4eafe1b..fcecfc6 100644 --- a/docs/.vuepress/theme/components/NavDrawer.vue +++ b/docs/.vuepress/theme/components/NavDrawer.vue @@ -2,7 +2,7 @@