Skip to content

Commit

Permalink
chore(docs): docs cleanup
Browse files Browse the repository at this point in the history
chore(docs): change chmod markdown files

chore(docs): update gitignore
  • Loading branch information
claudiahdz committed Nov 14, 2019
1 parent b4f5e38 commit 9f943a7
Show file tree
Hide file tree
Showing 76 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -12,7 +12,6 @@ npm-debug.log
/docs/.cache/
/docs/node_modules/
/man/
/doc/*/npm-index.md
/npmrc
/release/
/npm-*.tgz
Expand All @@ -25,3 +24,4 @@ npm-debug.log
.nyc_output
/test/npm_cache*
/node_modules/.cache
.DS_Store
Empty file modified docs/content/cli-commands/npm-access.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-adduser.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-audit.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-bin.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-bugs.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-build.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-bundle.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-cache.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-ci.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-completion.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-config.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-dedupe.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-deprecate.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-dist-tag.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-docs.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-doctor.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-edit.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-explore.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-help-search.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-help.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-hook.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-init.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-install-ci-test.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-install-test.md 100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion docs/content/cli-commands/npm-install.md 100755 → 100644
Expand Up @@ -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 `<name>@<version>` that is published on the registry (see [`npm-registry`](/using-npm/registry)) with (c)
* d) a `<name>@<version>` that is published on the registry (see [`registry`](/using-npm/registry)) with (c)
* e) a `<name>@<tag>` (see [`npm dist-tag`](/cli-commands/npm-dist-tag)) that points to (d)
* f) a `<name>` that has a "latest" tag satisfying (e)
* g) a `<git remote url>` that resolves to (a)
Expand Down
Empty file modified docs/content/cli-commands/npm-link.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-logout.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-ls.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-org.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-outdated.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-owner.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-pack.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-ping.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-prefix.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-profile.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-prune.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-publish.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-rebuild.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-repo.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-restart.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-root.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-run-script.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-search.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-shrinkwrap.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-star.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-stars.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-start.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-stop.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-team.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-test.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-token.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-uninstall.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-unpublish.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-update.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-version.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-view.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm-whoami.md 100755 → 100644
Empty file.
Empty file modified docs/content/cli-commands/npm.md 100755 → 100644
Empty file.
Empty file modified docs/content/configuring-npm/folders.md 100755 → 100644
Empty file.
Empty file modified docs/content/configuring-npm/npmrc.md 100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion docs/content/configuring-npm/package-json.md 100755 → 100644
Expand Up @@ -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.
Expand Down
Empty file modified docs/content/configuring-npm/package-lock-json.md 100755 → 100644
Empty file.
Empty file modified docs/content/configuring-npm/package-locks.md 100755 → 100644
Empty file.
Empty file modified docs/content/configuring-npm/shrinkwrap-json.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/coding-style.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/config.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/developers.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/disputes.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/orgs.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/registry.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/removal.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/scope.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/scripts.md 100755 → 100644
Empty file.
Empty file modified docs/content/using-npm/semver.md 100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion docs/src/components/scripts.js
Expand Up @@ -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 (
<script
dangerouslySetInnerHTML={{
__html: `
// Workaround: Make links on our Markdown files work on the static site
var anchors = document.querySelectorAll(".sidebar a, .documentation a")
Array.prototype.slice.call(anchors).map(function(el) {
if (el.href.match(/file:\\/\\//)) {
Expand Down

0 comments on commit 9f943a7

Please sign in to comment.