feat: systeme de recherche

Fix #17
This commit is contained in:
Kazhnuz 2020-01-12 01:50:38 +01:00
parent 0238bdf727
commit 78d9c88b84

View file

@ -15,9 +15,23 @@
name: 'RULEBOOK V2', name: 'RULEBOOK V2',
repo: 'http://git.chlore.net/kazhnuz/rulebook/', repo: 'http://git.chlore.net/kazhnuz/rulebook/',
loadSidebar: true, loadSidebar: true,
subMaxLevel: 2 subMaxLevel: 2,
// complete configuration parameters
search: {
maxAge: 86400000, // Expiration time, the default one day
paths: [], // or 'auto'
placeholder: 'Chercher',
noData: 'Aucun résultat',
// Headline depth, 1 - 6
depth: 2,
hideOtherSidebarContent: false, // whether or not to hide other sidebar content
}
} }
</script> </script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script> <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
</body> </body>
</html> </html>