pegjs/docs/.vuepress/config.js
Futago-za Ryuu 8b7bff7ac3 Resolve linting errors
This also temporarliy disables linting '.ts' files due to the fact that the currect '.d.ts' files contain too many errors/warnings that need to be manually fixed, but since I'm going to be rewriting the whole module in TypeScript anyway, resolving these ESLint error's is a pointless waste of time.
2019-09-29 03:24:42 +01:00

46 lines
1.1 KiB
JavaScript

"use strict";
// const DEV_ENV = process.env.NODE_ENV !== "production";
module.exports = {
title: "PEG.js",
description: "A parser generator for JavaScript",
head: [
[ "meta", { "http-equiv": "XA-UA-Compatible", content: "IE=edge" } ],
[ "link", { rel: "shortcut icon", href: "/favicon.ico", type: "image/x-icon" } ],
],
dest: "dist",
ga: "UA-100728112-1",
themeConfig: {
nav: require( "./config/nav.js" ),
sidebar: require( "./config/sidebar.js" ),
sidebarDepth: 0,
displayAllHeaders: false,
activeHeaderLinks: true,
// search: DEV_ENV ? true : false,
searchMaxSuggestions: 5,
// algolia: DEV_ENV ? void 0 : {
// apiKey: "<API_KEY>",
// indexName: "<INDEX_NAME>"
// },
lastUpdated: true,
docsRepo: "pegjs/pegjs",
docsDir: "docs",
editLinks: true,
evergreen: false,
},
extraWatchFiles: [
require.resolve( "./config/nav.js" ),
require.resolve( "./config/sidebar.js" ),
],
};