From db525bb04daf24c30e6b3c4c8d1ef803f4ee49b4 Mon Sep 17 00:00:00 2001 From: claudiahdz Date: Mon, 11 Nov 2019 18:00:33 +0200 Subject: [PATCH] chore(docs): docs cleanup chore(docs): change chmod markdown files chore(docs): update gitignore --- .gitignore | 2 +- docs/content/cli-commands/npm-access.md | 0 docs/content/cli-commands/npm-adduser.md | 0 docs/content/cli-commands/npm-audit.md | 0 docs/content/cli-commands/npm-bin.md | 0 docs/content/cli-commands/npm-bugs.md | 0 docs/content/cli-commands/npm-build.md | 0 docs/content/cli-commands/npm-bundle.md | 0 docs/content/cli-commands/npm-cache.md | 0 docs/content/cli-commands/npm-ci.md | 0 docs/content/cli-commands/npm-completion.md | 0 docs/content/cli-commands/npm-config.md | 0 docs/content/cli-commands/npm-dedupe.md | 0 docs/content/cli-commands/npm-deprecate.md | 0 docs/content/cli-commands/npm-dist-tag.md | 0 docs/content/cli-commands/npm-docs.md | 0 docs/content/cli-commands/npm-doctor.md | 0 docs/content/cli-commands/npm-edit.md | 0 docs/content/cli-commands/npm-explore.md | 0 docs/content/cli-commands/npm-help-search.md | 0 docs/content/cli-commands/npm-help.md | 0 docs/content/cli-commands/npm-hook.md | 0 docs/content/cli-commands/npm-init.md | 0 docs/content/cli-commands/npm-install-ci-test.md | 0 docs/content/cli-commands/npm-install-test.md | 0 docs/content/cli-commands/npm-install.md | 2 +- docs/content/cli-commands/npm-link.md | 0 docs/content/cli-commands/npm-logout.md | 0 docs/content/cli-commands/npm-ls.md | 0 docs/content/cli-commands/npm-org.md | 0 docs/content/cli-commands/npm-outdated.md | 0 docs/content/cli-commands/npm-owner.md | 0 docs/content/cli-commands/npm-pack.md | 0 docs/content/cli-commands/npm-ping.md | 0 docs/content/cli-commands/npm-prefix.md | 0 docs/content/cli-commands/npm-profile.md | 0 docs/content/cli-commands/npm-prune.md | 0 docs/content/cli-commands/npm-publish.md | 0 docs/content/cli-commands/npm-rebuild.md | 0 docs/content/cli-commands/npm-repo.md | 0 docs/content/cli-commands/npm-restart.md | 0 docs/content/cli-commands/npm-root.md | 0 docs/content/cli-commands/npm-run-script.md | 0 docs/content/cli-commands/npm-search.md | 0 docs/content/cli-commands/npm-shrinkwrap.md | 0 docs/content/cli-commands/npm-star.md | 0 docs/content/cli-commands/npm-stars.md | 0 docs/content/cli-commands/npm-start.md | 0 docs/content/cli-commands/npm-stop.md | 0 docs/content/cli-commands/npm-team.md | 0 docs/content/cli-commands/npm-test.md | 0 docs/content/cli-commands/npm-token.md | 0 docs/content/cli-commands/npm-uninstall.md | 0 docs/content/cli-commands/npm-unpublish.md | 0 docs/content/cli-commands/npm-update.md | 0 docs/content/cli-commands/npm-version.md | 0 docs/content/cli-commands/npm-view.md | 0 docs/content/cli-commands/npm-whoami.md | 0 docs/content/cli-commands/npm.md | 0 docs/content/configuring-npm/folders.md | 0 docs/content/configuring-npm/npmrc.md | 0 docs/content/configuring-npm/package-json.md | 2 +- docs/content/configuring-npm/package-lock-json.md | 0 docs/content/configuring-npm/package-locks.md | 0 docs/content/configuring-npm/shrinkwrap-json.md | 0 docs/content/using-npm/coding-style.md | 0 docs/content/using-npm/config.md | 0 docs/content/using-npm/developers.md | 0 docs/content/using-npm/disputes.md | 0 docs/content/using-npm/orgs.md | 0 docs/content/using-npm/registry.md | 0 docs/content/using-npm/removal.md | 0 docs/content/using-npm/scope.md | 0 docs/content/using-npm/scripts.md | 0 docs/content/using-npm/semver.md | 0 docs/src/components/scripts.js | 2 +- 76 files changed, 4 insertions(+), 4 deletions(-) mode change 100755 => 100644 docs/content/cli-commands/npm-access.md mode change 100755 => 100644 docs/content/cli-commands/npm-adduser.md mode change 100755 => 100644 docs/content/cli-commands/npm-audit.md mode change 100755 => 100644 docs/content/cli-commands/npm-bin.md mode change 100755 => 100644 docs/content/cli-commands/npm-bugs.md mode change 100755 => 100644 docs/content/cli-commands/npm-build.md mode change 100755 => 100644 docs/content/cli-commands/npm-bundle.md mode change 100755 => 100644 docs/content/cli-commands/npm-cache.md mode change 100755 => 100644 docs/content/cli-commands/npm-ci.md mode change 100755 => 100644 docs/content/cli-commands/npm-completion.md mode change 100755 => 100644 docs/content/cli-commands/npm-config.md mode change 100755 => 100644 docs/content/cli-commands/npm-dedupe.md mode change 100755 => 100644 docs/content/cli-commands/npm-deprecate.md mode change 100755 => 100644 docs/content/cli-commands/npm-dist-tag.md mode change 100755 => 100644 docs/content/cli-commands/npm-docs.md mode change 100755 => 100644 docs/content/cli-commands/npm-doctor.md mode change 100755 => 100644 docs/content/cli-commands/npm-edit.md mode change 100755 => 100644 docs/content/cli-commands/npm-explore.md mode change 100755 => 100644 docs/content/cli-commands/npm-help-search.md mode change 100755 => 100644 docs/content/cli-commands/npm-help.md mode change 100755 => 100644 docs/content/cli-commands/npm-hook.md mode change 100755 => 100644 docs/content/cli-commands/npm-init.md mode change 100755 => 100644 docs/content/cli-commands/npm-install-ci-test.md mode change 100755 => 100644 docs/content/cli-commands/npm-install-test.md mode change 100755 => 100644 docs/content/cli-commands/npm-install.md mode change 100755 => 100644 docs/content/cli-commands/npm-link.md mode change 100755 => 100644 docs/content/cli-commands/npm-logout.md mode change 100755 => 100644 docs/content/cli-commands/npm-ls.md mode change 100755 => 100644 docs/content/cli-commands/npm-org.md mode change 100755 => 100644 docs/content/cli-commands/npm-outdated.md mode change 100755 => 100644 docs/content/cli-commands/npm-owner.md mode change 100755 => 100644 docs/content/cli-commands/npm-pack.md mode change 100755 => 100644 docs/content/cli-commands/npm-ping.md mode change 100755 => 100644 docs/content/cli-commands/npm-prefix.md mode change 100755 => 100644 docs/content/cli-commands/npm-profile.md mode change 100755 => 100644 docs/content/cli-commands/npm-prune.md mode change 100755 => 100644 docs/content/cli-commands/npm-publish.md mode change 100755 => 100644 docs/content/cli-commands/npm-rebuild.md mode change 100755 => 100644 docs/content/cli-commands/npm-repo.md mode change 100755 => 100644 docs/content/cli-commands/npm-restart.md mode change 100755 => 100644 docs/content/cli-commands/npm-root.md mode change 100755 => 100644 docs/content/cli-commands/npm-run-script.md mode change 100755 => 100644 docs/content/cli-commands/npm-search.md mode change 100755 => 100644 docs/content/cli-commands/npm-shrinkwrap.md mode change 100755 => 100644 docs/content/cli-commands/npm-star.md mode change 100755 => 100644 docs/content/cli-commands/npm-stars.md mode change 100755 => 100644 docs/content/cli-commands/npm-start.md mode change 100755 => 100644 docs/content/cli-commands/npm-stop.md mode change 100755 => 100644 docs/content/cli-commands/npm-team.md mode change 100755 => 100644 docs/content/cli-commands/npm-test.md mode change 100755 => 100644 docs/content/cli-commands/npm-token.md mode change 100755 => 100644 docs/content/cli-commands/npm-uninstall.md mode change 100755 => 100644 docs/content/cli-commands/npm-unpublish.md mode change 100755 => 100644 docs/content/cli-commands/npm-update.md mode change 100755 => 100644 docs/content/cli-commands/npm-version.md mode change 100755 => 100644 docs/content/cli-commands/npm-view.md mode change 100755 => 100644 docs/content/cli-commands/npm-whoami.md mode change 100755 => 100644 docs/content/cli-commands/npm.md mode change 100755 => 100644 docs/content/configuring-npm/folders.md mode change 100755 => 100644 docs/content/configuring-npm/npmrc.md mode change 100755 => 100644 docs/content/configuring-npm/package-json.md mode change 100755 => 100644 docs/content/configuring-npm/package-lock-json.md mode change 100755 => 100644 docs/content/configuring-npm/package-locks.md mode change 100755 => 100644 docs/content/configuring-npm/shrinkwrap-json.md mode change 100755 => 100644 docs/content/using-npm/coding-style.md mode change 100755 => 100644 docs/content/using-npm/config.md mode change 100755 => 100644 docs/content/using-npm/developers.md mode change 100755 => 100644 docs/content/using-npm/disputes.md mode change 100755 => 100644 docs/content/using-npm/orgs.md mode change 100755 => 100644 docs/content/using-npm/registry.md mode change 100755 => 100644 docs/content/using-npm/removal.md mode change 100755 => 100644 docs/content/using-npm/scope.md mode change 100755 => 100644 docs/content/using-npm/scripts.md mode change 100755 => 100644 docs/content/using-npm/semver.md diff --git a/.gitignore b/.gitignore index 27c4f27bf47a0..763bb30e749f8 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,6 @@ npm-debug.log /docs/.cache/ /docs/node_modules/ /man/ -/doc/*/npm-index.md /npmrc /release/ /npm-*.tgz @@ -25,3 +24,4 @@ npm-debug.log .nyc_output /test/npm_cache* /node_modules/.cache +.DS_Store \ No newline at end of file diff --git a/docs/content/cli-commands/npm-access.md b/docs/content/cli-commands/npm-access.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-adduser.md b/docs/content/cli-commands/npm-adduser.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-audit.md b/docs/content/cli-commands/npm-audit.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-bin.md b/docs/content/cli-commands/npm-bin.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-bugs.md b/docs/content/cli-commands/npm-bugs.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-build.md b/docs/content/cli-commands/npm-build.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-bundle.md b/docs/content/cli-commands/npm-bundle.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-cache.md b/docs/content/cli-commands/npm-cache.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-ci.md b/docs/content/cli-commands/npm-ci.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-completion.md b/docs/content/cli-commands/npm-completion.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-config.md b/docs/content/cli-commands/npm-config.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-dedupe.md b/docs/content/cli-commands/npm-dedupe.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-deprecate.md b/docs/content/cli-commands/npm-deprecate.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-dist-tag.md b/docs/content/cli-commands/npm-dist-tag.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-docs.md b/docs/content/cli-commands/npm-docs.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-doctor.md b/docs/content/cli-commands/npm-doctor.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-edit.md b/docs/content/cli-commands/npm-edit.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-explore.md b/docs/content/cli-commands/npm-explore.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-help-search.md b/docs/content/cli-commands/npm-help-search.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-help.md b/docs/content/cli-commands/npm-help.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-hook.md b/docs/content/cli-commands/npm-hook.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-init.md b/docs/content/cli-commands/npm-init.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-install-ci-test.md b/docs/content/cli-commands/npm-install-ci-test.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-install-test.md b/docs/content/cli-commands/npm-install-test.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-install.md b/docs/content/cli-commands/npm-install.md old mode 100755 new mode 100644 index 89ac14cd88e07..7110e303a7426 --- a/docs/content/cli-commands/npm-install.md +++ b/docs/content/cli-commands/npm-install.md @@ -38,7 +38,7 @@ A `package` is: * a) a folder containing a program described by a [`package.json`](/configuring-npm/package-json) file * b) a gzipped tarball containing (a) * c) a url that resolves to (b) -* d) a `@` that is published on the registry (see [`npm-registry`](/using-npm/registry)) with (c) +* d) a `@` that is published on the registry (see [`registry`](/using-npm/registry)) with (c) * e) a `@` (see [`npm dist-tag`](/cli-commands/npm-dist-tag)) that points to (d) * f) a `` that has a "latest" tag satisfying (e) * g) a `` that resolves to (a) diff --git a/docs/content/cli-commands/npm-link.md b/docs/content/cli-commands/npm-link.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-logout.md b/docs/content/cli-commands/npm-logout.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-ls.md b/docs/content/cli-commands/npm-ls.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-org.md b/docs/content/cli-commands/npm-org.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-outdated.md b/docs/content/cli-commands/npm-outdated.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-owner.md b/docs/content/cli-commands/npm-owner.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-pack.md b/docs/content/cli-commands/npm-pack.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-ping.md b/docs/content/cli-commands/npm-ping.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-prefix.md b/docs/content/cli-commands/npm-prefix.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-profile.md b/docs/content/cli-commands/npm-profile.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-prune.md b/docs/content/cli-commands/npm-prune.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-publish.md b/docs/content/cli-commands/npm-publish.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-rebuild.md b/docs/content/cli-commands/npm-rebuild.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-repo.md b/docs/content/cli-commands/npm-repo.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-restart.md b/docs/content/cli-commands/npm-restart.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-root.md b/docs/content/cli-commands/npm-root.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-run-script.md b/docs/content/cli-commands/npm-run-script.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-search.md b/docs/content/cli-commands/npm-search.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-shrinkwrap.md b/docs/content/cli-commands/npm-shrinkwrap.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-star.md b/docs/content/cli-commands/npm-star.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-stars.md b/docs/content/cli-commands/npm-stars.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-start.md b/docs/content/cli-commands/npm-start.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-stop.md b/docs/content/cli-commands/npm-stop.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-team.md b/docs/content/cli-commands/npm-team.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-test.md b/docs/content/cli-commands/npm-test.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-token.md b/docs/content/cli-commands/npm-token.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-uninstall.md b/docs/content/cli-commands/npm-uninstall.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-unpublish.md b/docs/content/cli-commands/npm-unpublish.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-update.md b/docs/content/cli-commands/npm-update.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-version.md b/docs/content/cli-commands/npm-version.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-view.md b/docs/content/cli-commands/npm-view.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm-whoami.md b/docs/content/cli-commands/npm-whoami.md old mode 100755 new mode 100644 diff --git a/docs/content/cli-commands/npm.md b/docs/content/cli-commands/npm.md old mode 100755 new mode 100644 diff --git a/docs/content/configuring-npm/folders.md b/docs/content/configuring-npm/folders.md old mode 100755 new mode 100644 diff --git a/docs/content/configuring-npm/npmrc.md b/docs/content/configuring-npm/npmrc.md old mode 100755 new mode 100644 diff --git a/docs/content/configuring-npm/package-json.md b/docs/content/configuring-npm/package-json.md old mode 100755 new mode 100644 index ba9db154c7a66..b7759f482f914 --- a/docs/content/configuring-npm/package-json.md +++ b/docs/content/configuring-npm/package-json.md @@ -30,7 +30,7 @@ Some rules: * The name must be less than or equal to 214 characters. This includes the scope for scoped packages. -* The name can't start with a dot or an underscore. +* The names of scoped packages can begin with a dot or an underscore. This is not permitted without a scope. * New packages must not have uppercase letters in the name. * The name ends up being part of a URL, an argument on the command line, and a folder name. Therefore, the name can't contain any non-URL-safe characters. diff --git a/docs/content/configuring-npm/package-lock-json.md b/docs/content/configuring-npm/package-lock-json.md old mode 100755 new mode 100644 diff --git a/docs/content/configuring-npm/package-locks.md b/docs/content/configuring-npm/package-locks.md old mode 100755 new mode 100644 diff --git a/docs/content/configuring-npm/shrinkwrap-json.md b/docs/content/configuring-npm/shrinkwrap-json.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/coding-style.md b/docs/content/using-npm/coding-style.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/developers.md b/docs/content/using-npm/developers.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/disputes.md b/docs/content/using-npm/disputes.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/orgs.md b/docs/content/using-npm/orgs.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/registry.md b/docs/content/using-npm/registry.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/removal.md b/docs/content/using-npm/removal.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/scope.md b/docs/content/using-npm/scope.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md old mode 100755 new mode 100644 diff --git a/docs/content/using-npm/semver.md b/docs/content/using-npm/semver.md old mode 100755 new mode 100644 diff --git a/docs/src/components/scripts.js b/docs/src/components/scripts.js index 4d4a9a0fa9049..75126e11ffaf8 100644 --- a/docs/src/components/scripts.js +++ b/docs/src/components/scripts.js @@ -3,12 +3,12 @@ import React from 'react' const IS_STATIC = process.env.GATSBY_IS_STATIC const Scripts = () => { + // Workaround: Make links work on the static html site if (IS_STATIC) { return (