Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
288 commits
Select commit Hold shift + click to select a range
c965272
rebuild package-lock
shawnbot Dec 3, 2018
230d9bb
fix docs test on CI
shawnbot Dec 3, 2018
eded035
add metadata support
shawnbot Dec 3, 2018
9b8727a
add custom mdx plugin w/YAML frontmatter parsing
shawnbot Dec 3, 2018
fc424ab
change primer "repository" key to "primer/primer"
shawnbot Dec 4, 2018
5ba6a64
nix overly verbose console warning
shawnbot Dec 4, 2018
c5c9561
copy over module indexes from github/styleguide
shawnbot Dec 4, 2018
aebb8db
add <h1> with page meta.title
shawnbot Dec 4, 2018
25a442e
don't copy primer-{support,utilities}/README
shawnbot Dec 4, 2018
5d74233
move svg loader to lib/mdx
shawnbot Dec 4, 2018
32c4ee7
rename lib/mdx -> lib/config
shawnbot Dec 4, 2018
79d3b35
install @zeit/next-sass and primer-colors
shawnbot Dec 4, 2018
e8ba091
move pages/doc-components/ -> src/
shawnbot Dec 4, 2018
c54c4b6
remove trailing slashes from side nav links
shawnbot Dec 4, 2018
aff3f32
strip trailing slash from router.pathname
shawnbot Dec 4, 2018
0cbc288
reorganize page logic, redirect / -> /css
shawnbot Dec 4, 2018
395a736
move changelog back to /whats_new/changelog
shawnbot Dec 4, 2018
b6c5ae7
bring back tree-model (yep)
shawnbot Dec 4, 2018
5e72e4c
move page tree logic into src/utils
shawnbot Dec 4, 2018
ed92871
import primer/index.scss
shawnbot Dec 4, 2018
5b2cdeb
sort imports
shawnbot Dec 4, 2018
e493115
build out the side nav
shawnbot Dec 4, 2018
cfa54cc
update page mapping, add whats-new content
shawnbot Dec 4, 2018
36cc8cc
fix header nav links
shawnbot Dec 4, 2018
15e336d
factor out NextLink
shawnbot Dec 4, 2018
5054a55
simplify metadata
shawnbot Dec 4, 2018
9377a78
update generated pages .gitignore
shawnbot Dec 5, 2018
bf53d51
remove MDX component cruft, fix MDXProvider warning
shawnbot Dec 5, 2018
41de574
fix child key warning
shawnbot Dec 5, 2018
58826e9
fix prop warnings
shawnbot Dec 5, 2018
52e8996
lint
shawnbot Dec 5, 2018
9609af5
lint
shawnbot Dec 5, 2018
d571737
lint pages + src
shawnbot Dec 5, 2018
35d566c
lint
shawnbot Dec 5, 2018
ad310d9
add more pages from github/styleguide
shawnbot Dec 5, 2018
904be8e
lowercase principles pages
shawnbot Dec 5, 2018
700ced8
add more files to now.json
shawnbot Dec 5, 2018
56a8cb2
install node-sass
shawnbot Dec 5, 2018
81572ae
use the static css build
shawnbot Dec 5, 2018
8aee199
swap out next-sass for next-css
shawnbot Dec 5, 2018
8daa292
nix support/base.md
shawnbot Dec 5, 2018
dd2a0f6
use mdx-loaded (with batteries!)
shawnbot Dec 5, 2018
0e00a16
add table of contents, use mdx-loader frontMatter export
shawnbot Dec 5, 2018
aee8070
add frontmatter to primer-marketing-support
shawnbot Dec 5, 2018
9215383
add tools pages
shawnbot Dec 5, 2018
fa73332
add side nav switching
shawnbot Dec 5, 2018
6e3cf68
remove some unneeded frontmatter
shawnbot Dec 5, 2018
e08b68a
add title: Docs to /css
shawnbot Dec 5, 2018
7c9ac9e
make NodeLink a common component
shawnbot Dec 5, 2018
6901ef5
add key to List iterator
shawnbot Dec 5, 2018
8d5437f
return (don't exit) from copy.js on Now
shawnbot Dec 5, 2018
abc4ae5
remove unused lib/*.js
shawnbot Dec 5, 2018
ddf07bf
nix pages/css/_copies.json
shawnbot Dec 5, 2018
8cc2a45
add settings.react to .eslintrc.json
shawnbot Dec 5, 2018
33c5ad4
lint
shawnbot Dec 5, 2018
7448568
build full page list, don't exit(1) on diff
shawnbot Dec 5, 2018
1b66c6b
add what's new sidebar
shawnbot Dec 5, 2018
c2f0c4b
fix what's new section links
shawnbot Dec 5, 2018
2700bd6
deploy it!
shawnbot Dec 5, 2018
5d4f212
install now
shawnbot Dec 5, 2018
7a99f82
run now + commit-status via npx
shawnbot Dec 5, 2018
6d19cda
fix some syntax highlighting
shawnbot Dec 5, 2018
511d7aa
tweak commit-status args
shawnbot Dec 5, 2018
e044ded
lint
shawnbot Dec 5, 2018
0ae132b
nix @primer/next for now
shawnbot Dec 5, 2018
40390e5
simplify webpack rules
shawnbot Dec 5, 2018
0871afe
add next-sass
shawnbot Dec 5, 2018
bdd2f22
use primer/index.scss
shawnbot Dec 5, 2018
0f570b3
bring back klaw-sync?
shawnbot Dec 5, 2018
22ca302
move primer css alias to lib/config
shawnbot Dec 5, 2018
62c7071
nix webpack() callback from next.config.js, tidy
shawnbot Dec 5, 2018
f123bc3
nix assets/ from asset path
shawnbot Dec 5, 2018
2a9e16b
tweak resolve.alias for primer css
shawnbot Dec 5, 2018
b6042f9
pass production flag to publicRuntimeConfig
shawnbot Dec 5, 2018
486cfd0
vary primer css url in production
shawnbot Dec 5, 2018
eae2ace
ignore static/primer.css
shawnbot Dec 5, 2018
d7a8e7b
copy primer css build in script/build-docs
shawnbot Dec 5, 2018
f43e65a
simplify sidenav route logic
shawnbot Dec 5, 2018
176744b
tweak deploy commit status
shawnbot Dec 5, 2018
8b2ef65
nix remark-{frontmatter,yaml-config} (provided by mdx-loader)
shawnbot Dec 5, 2018
a076d45
nix (dupe) site directory
shawnbot Dec 5, 2018
b5e2ef7
add doc comment for NodeLink
shawnbot Dec 5, 2018
a44ac95
revamp color system docs
shawnbot Dec 6, 2018
4cbcd73
add color to docs
shawnbot Dec 6, 2018
d4c2842
replace color with chroma-js, add prop-types
shawnbot Dec 6, 2018
ac4f414
fix color contrast on color system page
shawnbot Dec 6, 2018
8a030b1
lint
shawnbot Dec 6, 2018
ca22d8d
lint, move contrast constants into separate file
shawnbot Dec 6, 2018
5cd4ec4
add title-case
shawnbot Dec 6, 2018
4e57d9b
properly blend fades with bg to calculate text colors
shawnbot Dec 6, 2018
0479a6c
color system fade swatch tweaks
shawnbot Dec 6, 2018
29ef338
move copy.js -> script/copy, add watch()
shawnbot Dec 6, 2018
8132c0c
wrap up script/copy w/ --watch flag, add watching to next.config.js
shawnbot Dec 6, 2018
3abd52b
nix utilities/marketing.md
shawnbot Dec 6, 2018
b1d7692
be smarter about files synced
shawnbot Dec 6, 2018
b903b40
sort paths in docs/pages/css/.gitignore
shawnbot Dec 6, 2018
4f2fadb
install metalsmith and plugins
shawnbot Dec 7, 2018
d5e8a55
add path metadata to all docs
shawnbot Dec 7, 2018
d0371f4
fix marketing-utilities paths
shawnbot Dec 7, 2018
c2e05d8
refactor syncing with Metalsmith :sparkles:
shawnbot Dec 7, 2018
ff62ac1
move sync hook from next.config to lib/config
shawnbot Dec 7, 2018
a443038
Box is stable, right?
shawnbot Dec 7, 2018
e54d885
flex utils are stable
shawnbot Dec 7, 2018
f00af46
add package header
shawnbot Dec 7, 2018
54b3bf0
rename copy -> script
shawnbot Dec 7, 2018
4da5321
only attempt to sync in CI
shawnbot Dec 7, 2018
42fe044
tidy up
shawnbot Dec 7, 2018
378df00
primer-support is stable
shawnbot Dec 7, 2018
eebce54
status: New release -> Stable
shawnbot Dec 7, 2018
d691c24
rework color utilities page
shawnbot Dec 7, 2018
b183d91
improve PackageHeader
shawnbot Dec 7, 2018
c371303
fix warning about root
shawnbot Dec 7, 2018
0f5e9cc
add metadata to the changelog
shawnbot Dec 7, 2018
b42ed54
fix content area width
shawnbot Dec 7, 2018
d2b4991
simplify next.config.js
shawnbot Dec 7, 2018
3b2cdad
tweak maxWidth (932), use LiveEditor
shawnbot Dec 7, 2018
da6d15b
update package-lock (with docs deps)
shawnbot Dec 7, 2018
ff8d0cb
run prepare in docs dir before deploying
shawnbot Dec 7, 2018
384b6f4
derp, add prepare run-script to docs/package.json
shawnbot Dec 7, 2018
4f74ce8
lint
shawnbot Dec 7, 2018
3eadd1a
nix prepare script because Now runs it
shawnbot Dec 7, 2018
6108e0c
npm run sync manually (not prepare)
shawnbot Dec 7, 2018
e025fd7
document how SideNav components work
shawnbot Dec 7, 2018
2935e0d
guard against non-existent paths in <NavList>
shawnbot Dec 7, 2018
73a20eb
add comment for RouteMatch
shawnbot Dec 7, 2018
9328967
loosen up PackageHeader propTypes
shawnbot Dec 7, 2018
88dbdd0
improve responsiveness, tighten up hero
shawnbot Dec 7, 2018
0301cf0
remove squirrelly SideNav display props
shawnbot Dec 7, 2018
a7fcf79
fix font size in PackageHeader
shawnbot Dec 8, 2018
59f34ee
disable mdx-loader syntax highlighting
shawnbot Dec 8, 2018
39b698f
install style-parser (ugh)
shawnbot Dec 8, 2018
07ed1f7
LiveEditor -> CodeExample, make it work
shawnbot Dec 8, 2018
e359d28
clean up deps, add html-2-jsx
shawnbot Dec 10, 2018
961f4af
use html-2-jsx
shawnbot Dec 10, 2018
d9bd354
add ClipboardCopy component
shawnbot Dec 10, 2018
5b5dc4b
style live code with prism-github
shawnbot Dec 10, 2018
c5a6cb2
extract package metadata from */package.json
shawnbot Dec 14, 2018
847726c
add custom mdx (webpack) loader w/remark-toc
shawnbot Dec 14, 2018
8907a7e
move outline (toc) logic out of _app.js
shawnbot Dec 14, 2018
bc4e000
lint
shawnbot Dec 14, 2018
c2ff8e5
add various remark and mdx-related deps
shawnbot Dec 14, 2018
f2325b3
clean up IndexHero
shawnbot Dec 14, 2018
0f22531
lint
shawnbot Dec 14, 2018
fc8139b
stub out landing page :sparkles:
shawnbot Dec 14, 2018
2626cf5
add packages.json to pages/css/.gitignore
shawnbot Dec 14, 2018
919d487
convert HTML to JSX transparently :sunglasses:
shawnbot Dec 14, 2018
b94ead8
lint
shawnbot Dec 14, 2018
548c172
customize our rehype-prism bits
shawnbot Dec 17, 2018
76fbfed
improve package listings on landing page
shawnbot Dec 17, 2018
821f92c
use our own clipboard copy logic /shrug
shawnbot Dec 17, 2018
7659b0e
flag internal pages more obviously
shawnbot Dec 17, 2018
b084379
get CodeExample working with most HTML and ERB
shawnbot Dec 17, 2018
2ef60c5
tweak contributing page
shawnbot Dec 17, 2018
9faeeda
mark non-live HTML snippets as "dead" in getting-started
shawnbot Dec 17, 2018
dbe3e9d
mark some pages as internal
shawnbot Dec 17, 2018
5487a21
fix dropdown source link
shawnbot Dec 17, 2018
2ed5750
add getting started box to landing page
shawnbot Dec 17, 2018
cbb9ef9
lint
shawnbot Dec 17, 2018
1de93c2
nix mdx-loader
shawnbot Dec 17, 2018
7a71728
add details-dialog-element
shawnbot Dec 17, 2018
724f1b5
fix empty alt attrs + autofocus
shawnbot Dec 17, 2018
c844ab2
make internal stuff orange
shawnbot Dec 17, 2018
ed666bd
trim yaml frontmatter on pagehead
shawnbot Dec 17, 2018
8e10d12
inject global CSS to work around .markdown-body .rule
shawnbot Dec 17, 2018
aa77f01
lint
shawnbot Dec 17, 2018
f5198f8
tidy up yaml frontmatter
shawnbot Dec 17, 2018
0f426a2
restore full repository field in primer/package.json
shawnbot Dec 17, 2018
9f203f7
re-add @mdx-js/mdx
shawnbot Dec 17, 2018
6d9618e
add styleguide CSS + JS bundles
shawnbot Dec 17, 2018
1a9d3f8
update OG metadata
shawnbot Dec 18, 2018
163aafb
add sort_title keys for marketing utilities
shawnbot Dec 18, 2018
e505c80
rebuild package-lock
shawnbot Dec 18, 2018
ee5165d
sort side nav links by meta.sort_title || meta.title
shawnbot Dec 18, 2018
f08bcca
default data = {} in package meta components
shawnbot Dec 18, 2018
f0c0375
kill default prism-code styles
shawnbot Dec 20, 2018
85bfb29
make HTML syntax gray for now
shawnbot Dec 20, 2018
ca4ceab
fix side nav height
shawnbot Dec 20, 2018
fea374a
lint
shawnbot Dec 20, 2018
b4c4578
simpliy hero padding
shawnbot Dec 20, 2018
a0ac1fa
move the hero into css/index.md
shawnbot Dec 20, 2018
dd4d880
get the hero differently (to fix render issue?)
shawnbot Dec 20, 2018
8115deb
just use Docs as the link text
shawnbot Dec 20, 2018
5b658f3
simplify landing page markup again
shawnbot Dec 20, 2018
6bd089a
Merge pull request #616 from primer/docs
shawnbot Dec 21, 2018
595727f
move a comment
shawnbot Dec 21, 2018
ac4ad25
alias the deployment to primer-css-$TRAVIS_BRANCH
shawnbot Dec 21, 2018
8a03949
add docs/README.md
shawnbot Dec 21, 2018
2f76606
link to Metalsmith again
shawnbot Dec 21, 2018
97cbe9d
update the commit status url to the branch alias
shawnbot Dec 21, 2018
6e69546
fix prefix branch alias url with https://
shawnbot Dec 21, 2018
7ec1057
Merge pull request #626 from primer/docs-docs
shawnbot Dec 21, 2018
0e90ca8
use the pr branch in now alias
shawnbot Dec 21, 2018
9b4caa8
do branch urls better, derp
shawnbot Dec 21, 2018
e941cdf
exclude private packages from rc versioning
shawnbot Dec 21, 2018
da3f5ac
whitespace
shawnbot Dec 21, 2018
e1bc134
tidier
shawnbot Dec 21, 2018
cb1a385
exclude private packages in getPackages()
shawnbot Dec 21, 2018
b97a1af
move docs build to Travis deploy stage
shawnbot Dec 21, 2018
b445ecd
sanitize dots in branch names
shawnbot Dec 21, 2018
5e85cb9
use dashes instead of underscores in branch alias
shawnbot Dec 21, 2018
419841e
only publish non-private packages
shawnbot Dec 21, 2018
f94b5b2
don't exclude docs from getPackages()
shawnbot Dec 21, 2018
e15bd06
rebuild package-lock w/node 8
shawnbot Dec 23, 2018
f3e9590
run node 8 on now
shawnbot Dec 23, 2018
85a1ea5
clean up release scripts; separte out changelog script
shawnbot Dec 30, 2018
438380f
move --yes flag to .travis.yml (for local testing)
shawnbot Jan 3, 2019
46d8fd9
add standalone pre-release check script
shawnbot Jan 3, 2019
924a975
add --dry-run support to script/release-candidate
shawnbot Jan 3, 2019
330d180
tidy up release-candidate script again
shawnbot Dec 23, 2018
487d98b
just do lerna publish --canary for release candidates
shawnbot Dec 30, 2018
e432190
fix broken year tests
shawnbot Jan 3, 2019
3b9efdc
update year in licenses and source headers to 2019
shawnbot Jan 3, 2019
290f877
fix script/get-packages
shawnbot Jan 3, 2019
0935b47
update the docs primer dependency version manually
shawnbot Jan 3, 2019
5efe7b3
write published primer version to /VERSION, use that
shawnbot Jan 3, 2019
a8c3c1f
remove some out-of-date info from the contributing docs
shawnbot Jan 4, 2019
6c2aaac
remove sidebar frontmatter field
shawnbot Jan 4, 2019
f3539dc
only get the primer version from VERSION if it exists
shawnbot Jan 4, 2019
2e305d6
Merge pull request #632 from primer/its-2019
shawnbot Jan 4, 2019
9538cf9
add script/happy-new-year
shawnbot Jan 4, 2019
1c9c0a6
Merge branch 'its-2019' into docs-release-fixes
shawnbot Jan 4, 2019
3dc61a4
only update primer version in docs on mismatch
shawnbot Jan 4, 2019
af3a318
nix script/after_success
shawnbot Jan 4, 2019
d0074b0
don't run generate-changelog on master releases
shawnbot Jan 4, 2019
e5b818e
don't run script/after_success
shawnbot Jan 4, 2019
1b177ab
move script/release-pr to deploy stage
shawnbot Jan 4, 2019
3e5ab64
update release branch pattern to "release-*"
shawnbot Jan 4, 2019
b701d53
do the deployment setup in before_deploy (not after_success)
shawnbot Jan 4, 2019
68718b7
post a pending commit status for docs deployment
shawnbot Jan 4, 2019
e787705
move lerna-changelog back into release-candidate
shawnbot Jan 4, 2019
0b0648a
nix happy-new-year script
shawnbot Jan 4, 2019
955f170
tighten up deploy commit statuses
shawnbot Jan 4, 2019
a5c1364
Merge pull request #631 from primer/docs-release-fixes
shawnbot Jan 4, 2019
d9c365a
write primer-version.txt instead of VERSION (because Lerna)
shawnbot Jan 4, 2019
687ba69
switch "publish" commit status notifiers to "postpublish"
shawnbot Jan 7, 2019
95307c6
notify post-publish in primer
shawnbot Jan 7, 2019
2a15788
fix path to script/notify
shawnbot Jan 7, 2019
0bc4102
echo out the release-pr branch
shawnbot Jan 7, 2019
7324c66
simplify release-pr logic again
shawnbot Jan 7, 2019
8d56c8e
add missing resolve import
shawnbot Jan 7, 2019
d9b3997
move release-pr conditions back to the script again
shawnbot Jan 7, 2019
c09bf29
simplify travis deployment config w/deploy script
shawnbot Jan 7, 2019
2ab362a
use the travis branch env vars
shawnbot Jan 7, 2019
da3ba6a
pass args through in script/release-candidate
shawnbot Jan 7, 2019
144b18d
ignore primer-version.txt
shawnbot Jan 7, 2019
eed2fea
update changelog for v10.10.3
shawnbot Jan 7, 2019
5c2719f
add back bump script
shawnbot Jan 7, 2019
32f7398
Publish
shawnbot Jan 7, 2019
c14f9ac
bump the tool versions because lerna is dumb
shawnbot Jan 7, 2019
426b85a
bump stylelint-config-primer, too
shawnbot Jan 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
bring back klaw-sync?
  • Loading branch information
shawnbot committed Dec 17, 2018
commit 0f570b32ad7fcb2bc5ee8b32e2e45c1ad7c626b4
10 changes: 5 additions & 5 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"eslint-plugin-github": "1.0.0",
"eslint-plugin-prettier": "^3.0.0",
"fs-extra": "^4.0.2",
"klaw": "^3.0.0",
"klaw-sync": "^6.0.0",
"mdx-live": "2.0.0-alpha.2",
"mdx-loader": "^2.0.2",
"minimatch": "^3.0.4",
Expand Down