Browse Source

Remove VuePress

master
Futago-za Ryuu 1 year ago
parent
commit
3c05ffe3f9
25 changed files with 2 additions and 276 deletions
  1. +0
    -2
      .eslintignore
  2. +0
    -1
      .gitignore
  3. +0
    -6
      .vscode/settings.json
  4. +0
    -5
      docs/.vuepress/components/PageFooter.vue
  5. +0
    -53
      docs/.vuepress/config.js
  6. +0
    -80
      docs/.vuepress/config/nav.js
  7. +0
    -29
      docs/.vuepress/config/sidebar.js
  8. BIN
      docs/.vuepress/public/favicon.ico
  9. +0
    -15
      docs/.vuepress/styles/index.styl
  10. +0
    -17
      docs/README.md
  11. +0
    -6
      docs/changelogs/README.md
  12. +0
    -4
      docs/changelogs/v0.1.md
  13. +0
    -4
      docs/changelogs/v0.10.md
  14. +0
    -4
      docs/changelogs/v0.2.md
  15. +0
    -4
      docs/changelogs/v0.3.md
  16. +0
    -4
      docs/changelogs/v0.4.md
  17. +0
    -4
      docs/changelogs/v0.5.md
  18. +0
    -4
      docs/changelogs/v0.6.md
  19. +0
    -4
      docs/changelogs/v0.7.md
  20. +0
    -4
      docs/changelogs/v0.8.md
  21. +0
    -4
      docs/changelogs/v0.9.md
  22. +0
    -7
      docs/development.md
  23. +0
    -1
      docs/online.md
  24. +0
    -9
      docs/package.json
  25. +2
    -5
      package.json

+ 0
- 2
.eslintignore View File

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

+ 0
- 1
.gitignore View File

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


+ 0
- 6
.vscode/settings.json View File

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

+ 0
- 5
docs/.vuepress/components/PageFooter.vue 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>

+ 0
- 53
docs/.vuepress/config.js 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" ),
],

};

+ 0
- 80
docs/.vuepress/config/nav.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",
},
],
},

];

+ 0
- 29
docs/.vuepress/config/sidebar.js 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,

};

BIN
docs/.vuepress/public/favicon.ico View File

Before After

+ 0
- 15
docs/.vuepress/styles/index.styl 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;
}

+ 0
- 17
docs/README.md 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 />

+ 0
- 6
docs/changelogs/README.md 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 />

+ 0
- 4
docs/changelogs/v0.1.md 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)_


+ 0
- 4
docs/changelogs/v0.10.md 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)_


+ 0
- 4
docs/changelogs/v0.2.md 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)_


+ 0
- 4
docs/changelogs/v0.3.md 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)_


+ 0
- 4
docs/changelogs/v0.4.md 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)_


+ 0
- 4
docs/changelogs/v0.5.md 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)_


+ 0
- 4
docs/changelogs/v0.6.md 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)_


+ 0
- 4
docs/changelogs/v0.7.md 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)_


+ 0
- 4
docs/changelogs/v0.8.md 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)_


+ 0
- 4
docs/changelogs/v0.9.md 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)_


+ 0
- 7
docs/development.md 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 />

+ 0
- 1
docs/online.md View File

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

+ 0
- 9
docs/package.json 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"
}
}

+ 2
- 5
package.json 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"


Loading…
Cancel
Save