Remove VuePress

This commit is contained in:
Futago-za Ryuu 2019-11-15 00:17:41 +00:00
parent a1cf32d65a
commit 3c05ffe3f9
25 changed files with 2 additions and 276 deletions

View file

@ -5,6 +5,4 @@
/coverage
node_modules
/website/*/**
/docs/.vuepress/dist
/docs/.vuepress/public
/dist

1
.gitignore vendored
View file

@ -1,7 +1,6 @@
/.idea
/packages/pegjs/dist
/packages/pegjs/.npmrc
/docs/.vuepress/dist
/dist
/examples/*.js
node_modules

View file

@ -1,6 +0,0 @@
{
"eslint.workingDirectories": [
".",
"docs/.vuepress"
]
}

View file

@ -1,5 +0,0 @@
<template>
<div id="footer">
Released under the <a href="https://opensource.org/licenses/MIT">MIT License</a> | Copyright © 2017+ Futago-za Ryuu
</div>
</template>

View file

@ -1,53 +0,0 @@
"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",
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,
smoothScroll: true,
},
plugins: [
[ "@vuepress/back-to-top", true ],
[ "@vuepress/google-analytics", {
ga: "UA-100728112-1",
} ],
],
extraWatchFiles: [
require.resolve( "./config/nav.js" ),
require.resolve( "./config/sidebar.js" ),
],
};

View file

@ -1,80 +0,0 @@
"use strict";
module.exports = [
{
text: "Try Online",
link: "/online",
},
{
text: "Documentation",
items: [
{
text: "Guides",
link: "/guides/getting-started",
},
{
text: "Grammar",
link: "/grammar/",
},
{
text: "API",
link: "/guides/javascript-api",
},
{
text: "Compatibility",
link: "/guides/compatibility",
},
],
},
{
text: "Development",
items: [
{
text: "Contribute",
link: "/development",
},
{
text: "Changelogs",
link: "/changelogs/",
},
{
text: "Source code",
link: "https://github.com/pegjs/pegjs",
},
{
text: "Issue tracker",
link: "https://github.com/pegjs/pegjs/issues",
},
],
},
{
text: "Community",
items: [
{
text: "Forums",
link: "https://gitq.com/pegjs/pegjs",
},
{
text: "Wiki",
link: "https://github.com/pegjs/pegjs/wiki",
},
{
text: "Stack Overflow",
link: "https://stackoverflow.com/questions/tagged/pegjs",
},
{
text: "Twitter",
link: "https://twitter.com/pegjs",
},
{
text: "Plugins",
link: "https://www.npmjs.com/search?q=pegjs%20plugin",
},
],
},
];

View file

@ -1,29 +0,0 @@
"use strict";
module.exports = {
"/grammar/": [
"",
"parsing-expression-types",
"balanced-braces",
"action-execution-environment",
"backtracking",
"case-insensitivity",
"error-messages",
[ "tracer", "Tracer" ],
],
"/guides/": [
"getting-started",
"installation",
"command-line",
"generating-a-parser",
"javascript-api",
"plugins",
"using-the-parser",
"compatibility",
],
"/": false,
};

Binary file not shown.

Before

Width:  |  Height:  |  Size: 318 B

View file

@ -1,15 +0,0 @@
html, body {
margin: 0;
padding: 0;
height: 100%;
}
#app {
min-height: 100%;
position: relative;
}
#footer {
position: absolute;
bottom: 5px;
right: 5px;
}

View file

@ -1,17 +0,0 @@
---
title: "A parser generator for JavaScript"
editLink: false
lastUpdated: false
---
PEG.js is a simple parser generator for JavaScript that produces fast parsers with excellent error reporting. You can use it to process complex data or computer languages and build transformers, interpreters, compilers and other tools easily.
## features
* Simple and expressive grammar syntax
* Integrates both lexical and syntactical analysis
* Parsers have excellent error reporting out of the box
* Based on the [parsing expression grammar](http://en.wikipedia.org/wiki/Parsing_expression_grammar) formalism
* Usable [from your browser](https://pegjs.org/online), from the command line, or via [JavaScript API](guides/javascript-api.md)
<PageFooter />

View file

@ -1,7 +1,3 @@
---
editLink: false
---
* [v0.10](./v0.10.md) _(August 19, 2016)_
* [v0.9](./v0.9.md) _(August 30, 2015)_
* [v0.8](./v0.8.md) _(December 24, 2013)_
@ -16,5 +12,3 @@ editLink: false
* [v0.2.1](./v0.2.md) _(March 8, 2010)_
* [v0.2](./v0.2.md) _(March 8, 2010)_
* [v0.1](./v0.1.md) _(March 8, 2010)_
<PageFooter />

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/commits/0.1) for a full list of changes.
## v0.1 _(March 8, 2010)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/v0.9.0...v0.10.0) for a full list of changes.
## v0.10.0 _(August 19, 2016)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/0.1...0.2.1) for a full list of changes.
## v0.2.1 _(March 8, 2010)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/0.2.1...0.3) for a full list of changes.
### v0.3 _(March 14, 2010)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/0.3...0.4) for a full list of changes.
## v0.4 _(April 17, 2010)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/0.4...0.5.1) for a full list of changes.
## v0.5.1 _(November 28, 2010)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/0.5.1...0.6.2) for a full list of changes.
## v0.6.2 _(April 20, 2011)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/0.6.2...v0.7.0) for a full list of changes.
## v0.7.0 _(April 18, 2012)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/v0.7.0...v0.8.0) for a full list of changes.
## v0.8.0 _(December 24, 2013)_

View file

@ -1,7 +1,3 @@
---
editLink: false
---
> See [commit history](https://github.com/pegjs/pegjs/compare/v0.8.0...v0.9.0) for a full list of changes.
## v0.9.0 _(August 30, 2015)_

View file

@ -1,8 +1,3 @@
---
title: Development
editLink: false
---
PEG.js is currently maintained by [Futago-za Ryuu](https://github.com/futagoza) ([@futagozaryuu](https://twitter.com/futagozaryuu)).
Since it's [inception](https://www.google.com/search?q=inception+meaning) in 2010, PEG.js was maintained by [David Majda](https://majda.cz/) ([@dmajda](http://twitter.com/dmajda)), until [May 2017](https://github.com/pegjs/pegjs/issues/503).
@ -35,5 +30,3 @@ _Ensure you have Node.js 8.6+ and Yarn installed._
It's also a good idea to check out the [package.json](https://github.com/pegjs/pegjs/blob/master/package.json) that defines various scripts.
To see the list of contributors check out the [repository's contributors page](https://github.com/pegjs/pegjs/graphs/contributors).
<PageFooter />

View file

@ -1 +0,0 @@
> Coming soon...

View file

@ -1,9 +0,0 @@
{
"name": "@pegjs/website",
"version": "2.0.0-wip",
"private": true,
"dependencies": {
"@vuepress/plugin-back-to-top": "1.1.0",
"@vuepress/plugin-google-analytics": "1.1.0"
}
}

View file

@ -8,11 +8,9 @@
"test"
],
"scripts": {
"lint": "eslint --ext .js,.vue . docs/.vuepress",
"lint": "eslint --ext .js .",
"spec": "mocha --reporter progress",
"benchmark": "node tools/benchmark",
"build-docs": "vuepress build docs",
"watch-docs": "vuepress dev docs",
"build-parser": "pegjs -c src/pegjs.config.js",
"build-dist": "bundle",
"watch-dist": "bundle --watch",
@ -30,8 +28,7 @@
"eslint": "6.4.0",
"mocha": "6.2.0",
"nyc": "14.1.1",
"rimraf": "3.0.0",
"vuepress": "1.1.0"
"rimraf": "3.0.0"
},
"engines": {
"node": ">= 8"