1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 04:43:05 +03:00
Commit Graph

155 Commits

Author SHA1 Message Date
Shawn Allen
d571737ce4 lint pages + src 2018-12-17 15:26:50 -08:00
Shawn Allen
9609af5b06 lint 2018-12-17 15:26:50 -08:00
Shawn Allen
52e8996cee lint 2018-12-17 15:26:50 -08:00
Shawn Allen
58826e9e64 fix prop warnings 2018-12-17 15:26:50 -08:00
Shawn Allen
41de574d82 fix child key warning 2018-12-17 15:26:50 -08:00
Shawn Allen
bf53d51592 remove MDX component cruft, fix MDXProvider warning 2018-12-17 15:26:50 -08:00
Shawn Allen
9377a7823c update generated pages .gitignore 2018-12-17 15:26:50 -08:00
Shawn Allen
5054a557e2 simplify metadata 2018-12-17 15:26:50 -08:00
Shawn Allen
15e336ddb7 factor out NextLink 2018-12-17 15:26:50 -08:00
Shawn Allen
36cc8cc318 fix header nav links 2018-12-17 15:26:50 -08:00
Shawn Allen
cfa54cc5dc update page mapping, add whats-new content 2018-12-17 15:26:50 -08:00
Shawn Allen
e4931155fc build out the side nav 2018-12-17 15:26:50 -08:00
Shawn Allen
5b2cdeb253 sort imports 2018-12-17 15:26:50 -08:00
Shawn Allen
ed92871477 import primer/index.scss 2018-12-17 15:26:50 -08:00
Shawn Allen
5e72e4c620 move page tree logic into src/utils 2018-12-17 15:26:50 -08:00
Shawn Allen
b6c5ae7437 bring back tree-model (yep) 2018-12-17 15:26:50 -08:00
Shawn Allen
395a7369a6 move changelog back to /whats_new/changelog 2018-12-17 15:26:50 -08:00
Shawn Allen
0cbc2887c0 reorganize page logic, redirect / -> /css 2018-12-17 15:26:50 -08:00
Shawn Allen
aff3f32b0c strip trailing slash from router.pathname 2018-12-17 15:26:50 -08:00
Shawn Allen
c54c4b691f remove trailing slashes from side nav links 2018-12-17 15:26:50 -08:00
Shawn Allen
e8ba091b20 move pages/doc-components/ -> src/ 2018-12-17 15:26:50 -08:00
Shawn Allen
79d3b353a2 install @zeit/next-sass and primer-colors 2018-12-17 15:26:50 -08:00
Shawn Allen
32c4ee78dc rename lib/mdx -> lib/config 2018-12-17 15:26:50 -08:00
Shawn Allen
5d74233523 move svg loader to lib/mdx 2018-12-17 15:26:50 -08:00
Shawn Allen
25a442e4e7 don't copy primer-{support,utilities}/README 2018-12-17 15:26:50 -08:00
Shawn Allen
aebb8db6f2 add <h1> with page meta.title 2018-12-17 15:26:50 -08:00
Shawn Allen
c5c9561863 copy over module indexes from github/styleguide 2018-12-17 15:26:50 -08:00
Shawn Allen
5ba6a64631 nix overly verbose console warning 2018-12-17 15:26:09 -08:00
Shawn Allen
9b8727a76c add custom mdx plugin w/YAML frontmatter parsing 2018-12-17 15:26:09 -08:00
Shawn Allen
eded03562c add metadata support 2018-12-17 15:26:09 -08:00
Shawn Allen
230d9bb290 fix docs test on CI 2018-12-17 15:26:09 -08:00
Shawn Allen
0a9c1555b9 pin docs deps to root 2018-12-17 15:26:09 -08:00
Shawn Allen
cfa6b5648d lint 2018-12-17 15:26:09 -08:00
Shawn Allen
d50301764a add eslint + prettier configs 2018-12-17 15:26:09 -08:00
Shawn Allen
fcdccc3eea tweak "do not edit" .gitignore comment 2018-12-17 15:26:09 -08:00
Shawn Allen
d2061f26d9 track copied files in pages/css/.gitignore 2018-12-17 15:26:09 -08:00
Shawn Allen
812ba7e91e copy all the site scaffolding from @primer/components 2018-12-17 15:26:09 -08:00
Shawn Allen
fd5771235a copy over all the config from @primer/components 2018-12-17 15:26:09 -08:00
Shawn Allen
2426818bb7 add copy.js to now.files 2018-12-17 15:26:09 -08:00
Shawn Allen
b1279a6f21 bail from copy.js on Now 2018-12-17 15:26:09 -08:00
Shawn Allen
13f9efdb64 copy files in prepare and predev 2018-12-17 15:26:09 -08:00
Shawn Allen
4581d90c4e write list of copied files 2018-12-17 15:26:09 -08:00
Shawn Allen
864a799c8d make copy.js synchronous 2018-12-17 15:26:09 -08:00
Shawn Allen
443962f1ac update run-scripts for now 2018-12-17 15:26:09 -08:00
Shawn Allen
944fa063ed index.mdx -> index.md 2018-12-17 15:26:09 -08:00
Shawn Allen
4a8e818d85 upgrade to @primer/next@0.0.10 2018-12-17 15:26:09 -08:00
Shawn Allen
8559f69671 copy, don't symlink 2018-12-17 15:26:09 -08:00
Shawn Allen
3bb689845f version:1 in now.json 2018-12-17 15:26:09 -08:00
Shawn Allen
878da82b88 alias -> name in now.json 2018-12-17 15:26:09 -08:00
Shawn Allen
cf621defea install @primer/components, bump @primer/next 2018-12-17 15:26:09 -08:00