Skip to content

Commit

Permalink
Docs: remove docs script (fixes #14288) (#14971)
Browse files Browse the repository at this point in the history
* Chore: remove `docs` script (fixes #14288)

* Chore: remove `docs` script

* Docs: remove `npm run docs` reference
  • Loading branch information
snitin315 committed Aug 25, 2021
1 parent 44c6fc8 commit 6663e7a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
6 changes: 0 additions & 6 deletions Makefile.js
Expand Up @@ -582,12 +582,6 @@ target.test = function() {
target.checkLicenses();
};

target.docs = function() {
echo("Generating documentation");
exec(`${getBinFile("jsdoc")} -d jsdoc lib`);
echo("Documentation has been output to /jsdoc");
};

target.gensite = function(prereleaseVersion) {
echo("Generating eslint.org");

Expand Down
8 changes: 2 additions & 6 deletions docs/developer-guide/development-environment.md
Expand Up @@ -81,12 +81,8 @@ Be sure to run this after making changes and before sending a pull request with

#### npm run lint

Runs just the JavaScript and JSON linting on the repository
Runs just the JavaScript and JSON linting on the repository.

#### npm run webpack

Generates `build/eslint.js`, a version of ESLint for use in the browser

#### npm run docs

Generates JSDoc documentation and places it into `/jsdoc`.
Generates `build/eslint.js`, a version of ESLint for use in the browser.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -23,7 +23,6 @@
"generate-betarelease": "node Makefile.js generatePrerelease -- beta",
"generate-rcrelease": "node Makefile.js generatePrerelease -- rc",
"publish-release": "node Makefile.js publishRelease",
"docs": "node Makefile.js docs",
"gensite": "node Makefile.js gensite",
"webpack": "node Makefile.js webpack",
"perf": "node Makefile.js perf"
Expand Down

0 comments on commit 6663e7a

Please sign in to comment.