Skip to content

Commit 1a109b4

Browse files
authored
Refactor theme (#757)
- Separate theme components, layouts, and hooks into directories - Allow shared to be imported with a relative path in content - Remove unused components and their dependencies - Remove one-off deps in favor of inline solutions - Remove edit links from index pages without any content
1 parent dffba56 commit 1a109b4

File tree

117 files changed

+354
-963
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+354
-963
lines changed

.reuse/dep5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Upstream-Name: documentation
33
Upstream-Contact: Myles Borins <mylesborins@github.com>
44
Source: https://github.com/npm/documentation
55

6-
Files: content/* static/*
6+
Files: content/* static/* src/*
77
Copyright: 2020 GitHub
88
License: CC-BY-4.0
99

10-
Files: scripts/* cli/* theme/* src/* .github/* *.md *.js *.json .npmrc .gitignore .nvmrc
10+
Files: scripts/* cli/* theme/* .github/* *.md *.js *.json .npmrc .gitignore .nvmrc
1111
Copyright: 2020 GitHub
1212
License: MIT

CONTENT-MODEL.md

Lines changed: 1 addition & 1 deletion

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions

content/about-npm/index.mdx

Lines changed: 2 additions & 1 deletion

content/getting-started/configuring-your-local-environment/downloading-and-installing-node-js-and-npm.mdx

Lines changed: 2 additions & 1 deletion
Lines changed: 1 addition & 1 deletion

content/getting-started/index.mdx

Lines changed: 1 addition & 1 deletion

content/getting-started/managing-your-npm-user-account/changing-your-npm-username.mdx

Lines changed: 1 addition & 1 deletion

content/getting-started/managing-your-npm-user-account/deleting-your-npm-user-account.mdx

Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)