mirror of
				https://github.com/em-squared/5e-drs.git
				synced 2025-10-31 05:24:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			451 lines
		
	
	
	
		
			12 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			451 lines
		
	
	
	
		
			12 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| module.exports = {
 | |
|   title: 'Héros & Dragons DRS',
 | |
|   description: 'Document de Référence Système pour le jeu de rôle Héros & Dragons',
 | |
|   plugins: [
 | |
|     [
 | |
|       '@vuepress/blog',
 | |
|       {
 | |
|         directories: [
 | |
|           {
 | |
|             // Unique ID of current classification
 | |
|             id: 'spell',
 | |
|             // Meta title for spell list page
 | |
|             title: 'Grimoire',
 | |
|             // Target directory
 | |
|             dirname: 'grimoire',
 | |
|             // Path of the `entry page` (or `list page`)
 | |
|             path: '/grimoire/',
 | |
|             layout: 'SpellsLayout',
 | |
|             itemLayout: 'SpellLayout',
 | |
|             itemPermalink: '/grimoire/:slug',
 | |
|             pagination: {
 | |
|               lengthPerPage: 1000,
 | |
|               sorter: (prev, next) => {
 | |
|                 return prev.path - next.path
 | |
|               },
 | |
|             },
 | |
|           },
 | |
|           {
 | |
|             // Unique ID of current classification
 | |
|             id: 'monster',
 | |
|             // Meta title for spell list page
 | |
|             title: 'Bestiaire',
 | |
|             // Target directory
 | |
|             dirname: 'bestiaire',
 | |
|             // Path of the `entry page` (or `list page`)
 | |
|             path: '/bestiaire/',
 | |
|             layout: 'MonstersLayout',
 | |
|             itemLayout: 'MonsterLayout',
 | |
|             itemPermalink: '/bestiaire/:slug',
 | |
|             pagination: {
 | |
|               lengthPerPage: 1000,
 | |
|               sorter: (prev, next) => {
 | |
|                 return prev.path - next.path
 | |
|               },
 | |
|             },
 | |
|           },
 | |
|           {
 | |
|             // Unique ID of current classification
 | |
|             id: 'magicitem',
 | |
|             // Meta title for spell list page
 | |
|             title: 'Liste des objets magiques',
 | |
|             // Target directory
 | |
|             dirname: 'liste-objets-magiques',
 | |
|             // Path of the `entry page` (or `list page`)
 | |
|             path: '/liste-objets-magiques/',
 | |
|             layout: 'MagicItemsLayout',
 | |
|             itemLayout: 'MagicItemLayout',
 | |
|             itemPermalink: '/liste-objets-magiques/:slug',
 | |
|             pagination: {
 | |
|               lengthPerPage: 1000,
 | |
|               sorter: (prev, next) => {
 | |
|                 return prev.path - next.path
 | |
|               },
 | |
|             },
 | |
|           },
 | |
|         ],
 | |
|       }
 | |
|     ],
 | |
|     ['check-md', {}],
 | |
|     [
 | |
|       'sitemap', {
 | |
|         hostname: 'https://heros-et-dragons.fr'
 | |
|       },
 | |
|     ],
 | |
|   ],
 | |
|   // extendPageData ($page) {
 | |
|   //   $page.rawContent = ($page._strippedContent)
 | |
|   // },
 | |
|   markdown: {
 | |
|     anchor: {
 | |
|       permalinkBefore: false,
 | |
|       permalinkSymbol: '<i class="v-icon notranslate mdi mdi-link-variant"></i>'
 | |
|     },
 | |
|     extendMarkdown: md => {
 | |
|       md.use(require('markdown-it-div'), {marker: "§"})
 | |
|       md.use(require('markdown-it-multimd-table'), {
 | |
|         multiline:  true,
 | |
|         rowspan:    true,
 | |
|         headerless: false,
 | |
|       })
 | |
|     }
 | |
|   },
 | |
|   themeConfig: {
 | |
|     repository: 'https://github.com/em-squared/heros-et-dragons-drs',
 | |
|     kofi: 'https://ko-fi.com/S6S410PB8',
 | |
|     primaryColor: '#563f5a',
 | |
|     accentColor: '#9b1c47',
 | |
|     searchPlaceholder: 'Recherche',
 | |
|     nav: [
 | |
|       { text: 'Home', link: '/' },
 | |
|       { text: 'À propos', link: '/a-propos/' }
 | |
|     ],
 | |
|     sidebarDepth: 1,
 | |
|     sidebar: [
 | |
|       {
 | |
|         title: 'Pour les joueurs',
 | |
|         expanded: true,
 | |
|         children: [
 | |
|           {
 | |
|             title: "Création du personnage",
 | |
|             path: '/creation-du-personnage/'
 | |
|           },
 | |
|           {
 | |
|             title: 'Au-delà du niveau 1',
 | |
|             path: '/au-dela-du-niveau-1/'
 | |
|           },
 | |
|           {
 | |
|             title: 'Races',
 | |
|             path: '/races/',
 | |
|             children: [
 | |
|               {
 | |
|                 title: 'Les races',
 | |
|                 path: '/races/',
 | |
|                 exact: true
 | |
|               },
 | |
|               {
 | |
|                 title: 'Demi-elfe',
 | |
|                 path: '/races/demi-elfe/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Demi-orc',
 | |
|                 path: '/races/demi-orc/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Elfe',
 | |
|                 path: '/races/elfe/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Gnome',
 | |
|                 path: '/races/gnome/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Halfelin',
 | |
|                 path: '/races/halfelin/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Humain',
 | |
|                 path: '/races/humain/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Nain',
 | |
|                 path: '/races/nain/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Aasimar',
 | |
|                 path: '/races/aasimar/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Demi-ogre',
 | |
|                 path: '/races/demi-ogre/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Félys',
 | |
|                 path: '/races/felys/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Homme serpent',
 | |
|                 path: '/races/homme-serpent/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Sangdragon',
 | |
|                 path: '/races/sangdragon/'
 | |
|               },
 | |
|               {
 | |
|                 title: 'Tieffelin',
 | |
|                 path: '/races/tieffelin/'
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           {
 | |
|             title: "Personnalité & Historique",
 | |
|             path: '/personnalite-et-historique/',
 | |
|             children: [
 | |
|               {
 | |
|                 title: "Personnalité & Historique",
 | |
|                 path: '/personnalite-et-historique/',
 | |
|                 exact: true
 | |
|               },
 | |
|               {
 | |
|                 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",
 | |
|             path: '/classes/',
 | |
|             children: [
 | |
|               {
 | |
|                 title: "Les classes",
 | |
|                 path: '/classes/',
 | |
|                 exact: true
 | |
|               },
 | |
|               {
 | |
|                 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: "Équipement",
 | |
|             children: [
 | |
|               {
 | |
|                 title: "Système monétaire",
 | |
|                 path: '/systeme-monetaire/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Armures",
 | |
|                 path: '/armures/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Armes",
 | |
|                 path: '/armes/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Équipement d'aventurier",
 | |
|                 path: '/equipement-d-aventurier/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Outils",
 | |
|                 path: '/outils/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Montures et véhicules",
 | |
|                 path: '/montures-et-vehicules/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Marchandises",
 | |
|                 path: '/marchandises/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Dépenses courantes",
 | |
|                 path: '/depenses-courantes/'
 | |
|               }
 | |
|             ]
 | |
|           },
 | |
|           {
 | |
|             title: 'Options de personnalisation',
 | |
|             path: '/options-de-personnalisation/'
 | |
|           },
 | |
|           {
 | |
|             title: 'Utiliser les caractéristiques',
 | |
|             path: '/utiliser-les-caracteristiques/'
 | |
|           },
 | |
|           {
 | |
|             title: "Partir à l'aventure",
 | |
|             path: '/partir-a-l-aventure/'
 | |
|           },
 | |
|           {
 | |
|             title: "Combattre",
 | |
|             path: '/combattre/'
 | |
|           },
 | |
|           {
 | |
|             title: "Gérer la santé du personnage",
 | |
|             path: '/gerer-la-sante-du-personnage/'
 | |
|           },
 | |
|           {
 | |
|             title: "Lancer des sorts",
 | |
|             path: '/lancer-des-sorts/'
 | |
|           },
 | |
|           {
 | |
|             title: 'Grimoire',
 | |
|             path: '/grimoire/'
 | |
|           },
 | |
|         ]
 | |
|       },
 | |
|       {
 | |
|         title: 'Pour les meneurs',
 | |
|         children: [
 | |
|           {
 | |
|             title: "Créatures & oppositions",
 | |
|             children: [
 | |
|               {
 | |
|                 title: "Comprendre le profil technique des monstres",
 | |
|                 path: '/comprendre-le-profil-technique-des-monstres/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Inventer un monstre ou un PNJ",
 | |
|                 path: '/inventer-un-monstre-ou-un-pnj/'
 | |
|               },
 | |
|               {
 | |
|                 title: "Construire une rencontre",
 | |
|                 path: '/construire-une-rencontre/'
 | |
|               },
 | |
|             ]
 | |
|           },
 | |
|           {
 | |
|             title: "Bestiaire",
 | |
|             path: '/bestiaire/'
 | |
|           },
 | |
|           {
 | |
|             title: "Les trésors",
 | |
|             path: '/les-tresors/'
 | |
|           },
 | |
|           {
 | |
|             title: "Objects magiques",
 | |
|             path: '/objets-magiques/'
 | |
|           },
 | |
|           {
 | |
|             title: "Objets magiques intelligents",
 | |
|             path: '/objets-magiques-intelligents/'
 | |
|           },
 | |
|           {
 | |
|             title: "Liste des objets magiques",
 | |
|             path: '/liste-objets-magiques/'
 | |
|           },
 | |
|           {
 | |
|             title: "Les pièges",
 | |
|             path: '/pieges/'
 | |
|           },
 | |
|           {
 | |
|             title: "Les maladies",
 | |
|             path: '/maladies/'
 | |
|           },
 | |
|           {
 | |
|             title: "La folie",
 | |
|             path: '/folie/'
 | |
|           },
 | |
|           {
 | |
|             title: "Les objets",
 | |
|             path: '/objets-opposition/'
 | |
|           },
 | |
|           {
 | |
|             title: "Les poisons",
 | |
|             path: '/poisons/'
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       {type: 'divider'},
 | |
|       {
 | |
|         title: "Licence OGL",
 | |
|         path: '/licence-ogl/',
 | |
|         icon: 'mdi-clipboard-text'
 | |
|       }
 | |
|     ]
 | |
|   }
 | |
| }
 | 
