1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 19:53:11 +03:00
Commit Graph

169 Commits

Author SHA1 Message Date
Shawn Allen
e08b68a36a add title: Docs to /css 2018-12-17 15:26:50 -08:00
Shawn Allen
6e3cf68d71 remove some unneeded frontmatter 2018-12-17 15:26:50 -08:00
Shawn Allen
fa73332cb2 add side nav switching 2018-12-17 15:26:50 -08:00
Shawn Allen
921538392c add tools pages 2018-12-17 15:26:50 -08:00
Shawn Allen
0e00a16e5c add table of contents, use mdx-loader frontMatter export 2018-12-17 15:26:50 -08:00
Shawn Allen
dd2a0f64c6 use mdx-loaded (with batteries!) 2018-12-17 15:26:50 -08:00
Shawn Allen
8daa292b8c nix support/base.md 2018-12-17 15:26:50 -08:00
Shawn Allen
8aee199bde swap out next-sass for next-css 2018-12-17 15:26:50 -08:00
Shawn Allen
81572ae143 use the static css build 2018-12-17 15:26:50 -08:00
Shawn Allen
56a8cb2c34 install node-sass 2018-12-17 15:26:50 -08:00
Shawn Allen
700ced80d9 add more files to now.json 2018-12-17 15:26:50 -08:00
Shawn Allen
904be8e14f lowercase principles pages 2018-12-17 15:26:50 -08:00
Shawn Allen
ad310d937b add more pages from github/styleguide 2018-12-17 15:26:50 -08:00
Shawn Allen
35d566c8c8 lint 2018-12-17 15:26:50 -08:00
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