Remove VuePress

master
Futago-za Ryuu 5 years ago
parent a1cf32d65a
commit 3c05ffe3f9

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

1
.gitignore vendored

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

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

@ -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>

@ -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" ),
],
};

@ -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",
},
],
},
];

@ -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

@ -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;
}

@ -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 />

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

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

@ -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. > 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)_ ## v0.10.0 _(August 19, 2016)_

@ -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. > 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)_ ## v0.2.1 _(March 8, 2010)_

@ -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. > 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)_ ### v0.3 _(March 14, 2010)_

@ -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. > See [commit history](https://github.com/pegjs/pegjs/compare/0.3...0.4) for a full list of changes.
## v0.4 _(April 17, 2010)_ ## v0.4 _(April 17, 2010)_

@ -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. > 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)_ ## v0.5.1 _(November 28, 2010)_

@ -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. > 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)_ ## v0.6.2 _(April 20, 2011)_

@ -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. > 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)_ ## v0.7.0 _(April 18, 2012)_

@ -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. > 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)_ ## v0.8.0 _(December 24, 2013)_

@ -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. > 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)_ ## v0.9.0 _(August 30, 2015)_

@ -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)). 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). 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. 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). To see the list of contributors check out the [repository's contributors page](https://github.com/pegjs/pegjs/graphs/contributors).
<PageFooter />

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

@ -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"
}
}

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

Loading…
Cancel
Save