Граф коммитов

150 Коммитов

Автор SHA1 Сообщение Дата
Mike Surowiec b279482cf9
Footer styling (#21877) 2021-10-06 18:09:11 +00:00
Mike Surowiec d81f51ebf7
Picker improvements (#21765)
* close Language and ArticleVersion pickers after click

* cleanup ArticleGridLayout due to VersionPicker changes

* fix tsc errors resulting from primer upgrade

* fix / update tests

* cleanup mobile pickers visual consistency

* use btn-sm on VersionPicker

* update translation and close on click for enterprise releases

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-09-30 20:22:13 +00:00
Kevin Heis 29ebc555cb
Add btn-primary-matte, ScrollButton, TruncateLines to storybook (#21611)
* Update create-processor.js

* Use built in semibold

* Preparing articlelist

* Add blue button to storybook

* Scope fade styles

* Add truncate component

* Add scroll button to storybook

* Update storybook.tsx

* Update DefaultLayout.tsx
2021-09-20 23:21:29 +00:00
Mike Surowiec d8b4383dc6
Improve Search styling (#21295)
* fix: improve search highlight contrast
2021-09-03 16:20:23 +00:00
Kevin Heis 9f7c20dae8
Upgrade Primer CSS to version 17, removing marketing styles (#20965)
* Package updates

* Fix up things that look broken

* Add to utils

* Lead now just sets font size, just use f3 where needed

* Update package-lock.json

* Update index.tsx

* Delete bump-link.scss

* Update trigger-error.js

* Update components/GenericError.tsx

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>

* Update ArticlePage.tsx

* Update ActionBar.tsx

* Changes from meeting

* Found a few more monos

* Fix from a merge conflict

* Missed a few f3s

* Update SubLandingHero.tsx

* Bye gradients

* Match up breadcrumbs

* Update SubLandingHero.tsx

* Update lists.scss

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
2021-08-31 14:49:39 -07:00
Mike Surowiec d76c16da19
Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00
Mike Surowiec 06d8f81401
Two-pane Experiment (#21092)
* pull changes from docs-playground

* cleanup, add callout banner

* cleanup linting and test fixes

* add discussion link

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-08-26 14:19:40 -04:00
Mike Surowiec 5f5aa0b0d1
BumpLink component (#21033)
* create BumpLink component, re-org components/ui
2021-08-24 11:25:38 -04:00
Mike Surowiec 2a25efcd8e
Scope Search scss (#20964)
* scope Search scss, reduce custom styling

* use translation for loading and no results found

* remove unnescessary test
2021-08-23 09:15:39 -04:00
Kevin Heis ae7b652463
Create a storybook with callout component (#20902)
* Create a storybook with callout component

* Add to dist/storybook

* Remove references to dist dir, storybook takes place

* Update Callout.stories.tsx

* Update Dockerfile

* Update Dockerfile
2021-08-17 20:28:59 +00:00
Mike Surowiec 4b9a6912b9
Scope sub-landing scss and remove some custom styles (#20893)
* scope sub-landing scss and remove some custom styles
2021-08-16 17:22:21 +00:00
Mike Surowiec ccbb92ab87
scope release-notes scss to component and reduce custom styles (#20847) 2021-08-16 14:10:58 +00:00
Mike Surowiec 7955c52b99
Scope image.scss styles to markdown-body, fix emoji rendering (#20805) 2021-08-12 19:37:07 +00:00
Mike Surowiec c433c43019
Sidebar refactor: scope css + more (#20837)
* refactor sidebar, scope css, wire up nav events to link component, update tests

* remove link onClick analytics event

* fix: missing key on breadcrumbs
2021-08-12 15:28:32 -04:00
Mike Surowiec 23f4681b42
Scope product-callout and contributor-callout css to component (#20801)
* remove custom css for product-callout and contributor-callout

* create callout component, update existing test

* use Callout in more places
2021-08-11 17:50:20 +00:00
Grace Park 9d78bbc38c
Fixing h4 and h5 header font sizes (#20782)
* Fixing h4 and h5 font sizes

* remove line space
2021-08-10 23:55:21 +00:00
Mike Surowiec a511c95c7f
SCSS and Component cleanup (pt 1) (#20572)
* turn article.scss into a module + componentized

* Update Survey to use only component styles, add cancel button

* Update GenericError + 404 page to use only standard classes

* update LearningTrack to not use markdown-body

* remove / consolidate stylesheets

* cleanup Graphiql explorer page and scss

* Componentize Breadcrumb styles

* Componentize DeprecationBanner styles

* scope h2 a link style to markdown-body

* cleanup nav, organize page-header and page-footer components

* remove unused scroll-button.scss

* organize LanguagePicker and ProductPicker

* add declarations file

* remove featured-links.scss, update tests

* update list utility and toc test

* fix bad merge resolution

* update breadcrumbs test
2021-07-29 17:27:20 +00:00
Kevin Heis c00196f60e
Remove toggle images (#20573) 2021-07-28 21:23:49 +00:00
Grace Park 426d7e7f1e
UX change for rest references - show expandable content (#20561)
* update ux for rest

* removing my arrow and using the current one
2021-07-28 12:08:53 -07:00
Grace Park 8ba413cabc
React Cleanup: Documentation (#20517)
* initial documentation changes

* editing layouts terminology

* update to match other files

* move javascripts to components/lib

* fix: dockerfile

* update based on Mikes updates to the javascripts directory

* update components/README.md

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-27 09:07:18 -07:00
Grace Park 44f451eb09
Removing webpack build step (#20405)
* removing webpack build step

* keep copywebpackplugin and add fonts to assets/fonts

* update marketing font path

* update font path

* update font

* remove builtAssets

* remove copying front end code with dist

* move Inter fonts to /assets/fonts/inter

* move copy-webpack-plugin back to deps

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-22 09:11:30 -07:00
Mike Surowiec df38087aed
Update 404/500 pages to no longer use liquid templates (#20450)
* Update 404/500 page rendering to no longer use liquid templates

* updating tests

* remove unused path

Co-authored-by: Grace Park <gracepark@github.com>
2021-07-21 12:22:30 -07:00
Kevin Heis 8a56437c93
Pretty format (#20352)
* Update prettier flow to include JS

* Run prettier

* ...run prettier
2021-07-14 14:35:01 -07:00
Rachael Sewell 6d248082b5
sidebar style updates (#19929) 2021-06-24 11:15:24 -07:00
Mike Surowiec b084dbc23d
React: Enable all remaining pages (#20012)
* enable all remaining pages

* update tests for survey, filter card dropdowns

* fix search test

* fix: mobile search layout

* update sidebar test

* fix: learning track page is optional

* fix broken links
2021-06-21 19:52:58 +00:00
Mike Surowiec 83e33cc9bb
Quiet sass warnings (#19960)
* npm install sass@latest

* add quietDeps: true to webpack config

* prevent error message from hmr abort, cleans up the log

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-06-16 19:47:01 +00:00
Mike Surowiec bf21cd1104
fix header styling, add missing sectionLinks (#19915) 2021-06-15 16:35:19 +00:00
Grace Park 3f248976ad Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 18:08:33 -07:00
Felicity Chapman 23b0b84111
Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Grace Park c8ceeb35f2 Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 09:37:13 -07:00
Grace Park e0c6211b65 adding more styling and graphql changes - should be ready to run script 2021-06-10 09:32:16 -07:00
Rachael Sewell 3e10ebbe61
css for ghes release notes links (#19803) 2021-06-09 20:50:41 +00:00
Mike Surowiec 04ba91fda0
Refactor React Header component (#19755) 2021-06-07 23:31:32 +00:00
Kevin Heis 516106b7c5
Rename "helpfulness" to survey (#19727) 2021-06-04 12:22:31 -07:00
Grace Park 05fb4cb9b2 adding just the styling for header update 2021-06-04 10:29:21 -07:00
Mike Surowiec e0d9a061a3
React category / sub-landing page (#19635)
Re-work routes to use GlobalPage, implements TocLanding, bundle of minor cleanup / fixes
2021-06-02 16:28:39 +00:00
Kevin Heis eb23bfbefa
Remove breadcrumb whitespace (#19364) 2021-05-17 08:50:24 -07:00
Grace Park 2f832b6878
Changing Sidebar Style Changes (#6391)
This PR is updating the sidebar so that the current active page sidebar is viewable via bold and the marker.
2021-05-13 17:47:31 +00:00
Kevin Heis 3021b260a5
Update guides section to use a standard bg color (#19289)
* Update guides section to use a standard bg color

* Update product-landing.html
2021-05-13 15:11:38 +00:00
Kevin Heis 08ec46d0d1
Render color mode settings from github/github cookie (#19275)
* Add color mode selector in footer

* Interpret color mode from cookie

* Update render-page.js

* Delete color-mode.js

* Update render-page.js

* Make this more resilient to HTML tag changes

* Update scroll-button.scss
2021-05-13 14:45:11 +00:00
Kevin Heis d47d795e7c
Enable dark mode, matching OS setting (#18749)
* Enable dark mode, matching OS setting

* A few more dark mode tweaks

* Revert mountain opacity

* Update mountains on homepage to rgba

* Revert "Update sidebar to use primer backgrounds (#18818)"

This reverts commit 229ce4518f.

* Revert "Revert "Update sidebar to use primer backgrounds (#18818)""

This reverts commit 5845e25c5d5236776fb83acc42a3444b5f44b960.

* Update overrides.scss

* Remove labtocat and waldocat from 500 and 404

* Readd sidebar changes
2021-05-10 11:06:54 -07:00
Ethan Palm 18c71b152b
Language support across GitHub products (#18677)
* Update content

* Create github-language-support.md

* Add reminder HTML comments

* Add link to supported languages article

* Add intro for GitHub's products

* Add note to list of CodeQL supported languages

* table with package managers

* Update table and add conceptual info

* Versioning to fix broken links

* Fix table layout

* Add package managers to table

* Fix versioning syntax

* Incorporate reviewer feedback

* Center table headers

* Update Dependabot features in table

* Add footnote for third-party code scanning support

* Update link

* support native markdown table alignments

* Update links for ghes2.22

* Use proper names of package managers

* Add Scala

* Adjust conceptual info

* Flip table axes

* Delete unused reusables

* Update link to Packages info

* fix merge conflict

* fix other merge conflict

* Update codeql-languages-bullets.md

* Revert "Update codeql-languages-bullets.md"

This reverts commit 69547205f5e43a8fbf3edc51c89f0f647eef285a.

* Update article topic to sentence case

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-05-10 12:35:34 -04:00
Sarah Schneider 8b52142fa5 add anchors to product landing and sublanding elements so we can deep link to them 2021-04-30 14:42:21 -04:00
Sarah Schneider d976323089 remove individual image toggle code 2021-04-27 10:29:03 -04:00
Sarah Schneider ecbaf0efe5 Merge branch 'main' of github.com:github/docs-internal into toggle-images 2021-04-26 14:41:16 -04:00
Kevin Heis a7623cdb62
Reorganize SCSS without changing any of the properties or values (#18963)
* Reorganize SCSS without changing any of the properties or values

* Mis-moved a few files

* Split up "other"
2021-04-26 16:18:25 +00:00
Sarah Schneider 1b5c67542d reduce transition time 2021-04-23 10:23:26 -04:00
Sarah Schneider 46ce4da9e6 mimic the procedural-image-wrapper class styles 2021-04-23 10:23:11 -04:00
Sarah Schneider c7f34dfc31 fix margins in icons at bottom of page 2021-04-22 12:24:18 -04:00
Sarah Schneider 0971f6e6ae put toggle images button down next to scroll button 2021-04-22 12:17:31 -04:00
Sarah Schneider 75d2dcf136 Merge branch 'main' of github.com:github/docs-internal into toggle-images 2021-04-22 11:16:51 -04:00
Kevin Heis d629ca00d0
Remove unused custom styling (#18912) 2021-04-22 15:04:33 +00:00
Kevin Heis 9d13602e29
Import missing avatar style (#18895) 2021-04-21 14:26:00 +00:00
Kevin Heis ce508dbe65
Remove thead background (#18883)
* Remove thead background

* Update tables.scss
2021-04-20 21:12:49 +00:00
Kevin Heis 79ecb96316
End "custom core" primer, use regular core instead (#18887) 2021-04-20 17:30:57 +00:00
Sarah Schneider 6a708b9a49 wrap images in a button so they can be individually toggled 2021-04-16 14:55:16 -04:00
Sarah Schneider 4d72fef334 try out an icon instead of a button with text 2021-04-16 12:17:01 -04:00
Kevin Heis ddbe1e9ad7
Revert "Update sidebar to use primer backgrounds (#18818)" (#18824)
This reverts commit 229ce4518f.
2021-04-15 21:22:24 +00:00
Kevin Heis 229ce4518f
Update sidebar to use primer backgrounds (#18818)
See https://github.com/github/docs-team/issues/546#issuecomment-820647057
2021-04-15 12:44:45 -07:00
Kevin Heis 031843bc96
First batch of Primer Upgrade fixes (#18763)
* Update header-notification.html

* Add some dark mode fixes pre-enablement
2021-04-14 16:28:42 +00:00
Kevin Heis 46c16001c3
Upgrade Primer with translation shim for trashcan icon (#18735)
* Revert "Revert "Upgrade Primer CSS to 16 (#18713)""

This reverts commit c01d3e302e.

* Add a hack to handle trashcan icon in translated content
2021-04-13 18:38:04 +00:00
Mike Surowiec c01d3e302e Revert "Upgrade Primer CSS to 16 (#18713)"
This reverts commit 49377f9096.
2021-04-13 09:19:28 -07:00
Kevin Heis 49377f9096
Upgrade Primer CSS to 16 (#18713)
* Upgrade primer to 16

* Upgrade colors in scss

* Get SCSS to build

* Initial dark mode support

* trashcan -> trash

* More specific search browser test

* Fix link color on homepage

* Update overrides.scss

* Upgrade some colors to primer variables

* Hide dark mode support for now

* Apply suggestions from code review

* Update overrides.scss
2021-04-13 16:00:46 +00:00
Vanessa Yuen bbd9f03f6e
Populate product-landing "What's new" section using GitHub Changelog (#18328)
Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-04-08 20:51:37 +00:00
Rachael Sewell 1676028143
Tweak sublanding page design (#17977) 2021-03-29 18:12:03 -07:00
Steve Winton 16b2b27c25
Apply margin style to .contributor-callout p element 2021-03-11 12:27:40 -06:00
Rachael Sewell 32ce2f6492
add image max size for ol (#17993) 2021-03-01 23:21:02 +00:00
kazuhitonakayama ef7748face Erase href and remove unwanted styles 2021-02-11 23:41:38 +09:00
kazuhitonakayama c810d795e6 omit the compatibility prefixes 2021-02-11 19:38:48 +09:00
kazuhitonakayama b66cf972ac omit the border of scroll-top-button 2021-02-11 19:36:55 +09:00
kazuhitonakayama 521ce8b2b0 change div element to button element 2021-02-11 19:30:45 +09:00
kazuhitonakayama 92163877c1 fix conflict 2021-02-11 18:56:41 +09:00
Kevin Heis e07c603b7d
Remove html-truncate, truncate with CSS instead (#17630)
* Remove html-truncate, truncate with CSS instead

* Update search.js
2021-02-02 17:55:05 +00:00
Vanessa Yuen 3ffe51a8f0
sublanding tweaks based on feedback (#17445)
* tweaks based on feedback

* "marginalize" the columns with GUTTER

* layout changes to align the learning track heading heights

* star icon

* update ui language

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-28 12:28:10 +00:00
Kevin Heis 2fb2e962bc
Move site search to use an endpoint (#17359)
* Move site search to use an endpoint

* Update browser.js

* Update search.js

* Update lib/search/versions.js

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Fix URLs

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-01-20 15:37:42 +00:00
Simran 9a07d5a491
Actions: Various fixes for migration pages (#2093) 2021-01-18 17:19:38 +10:00
Melanie Yarbrough c2336bb11e
[DO NOT MERGE] GitHub Enterprise Server 3.0 release candidate megabranch (#16479) 2021-01-13 19:16:05 -08:00
Vanessa Yuen 641ed02e81
Actions Guides sublanding page (#16740)
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
Co-authored-by: Cynthia Rich <crichID@github.com>
2021-01-11 18:30:57 +01:00
Kevin Heis bb46eb5231
Merge branch 'main' into fix-bread 2021-01-05 08:21:55 -08:00
Kevin Heis d7eb248a10
Fix a bunch of random typos (#17129)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-05 16:07:27 +00:00
kazuhitonakayama 389fde5d93 Place a scrollable button to the top of the page
When a site is viewed from a smartphone or other device, the absence of the relevant button may cause difficulty for users.
2020-12-25 15:28:44 +09:00
Arhell ec8f03c3af fix breadcrumbs block 2020-12-22 01:09:59 +02:00
Rachael Sewell ac69fc44c2
Hide content that overflows in search list (#17066) 2020-12-18 15:52:32 -08:00
Chiedo John f24da3147a
Merge branch 'main' into upd-dropdown 2020-12-16 10:00:52 -05:00
Jason Etcovitch ca127e987e
Change release notes colors (#16923)
* Use pastel colors

* Whit text

* Slugify/anchor section headings

* Use classes instead of style attributes

* Use fancy-pants SCSS

* Simplify a tad

* TIL text-inherit helper

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

* Remove redundant `style` attr

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2020-12-14 15:06:03 +00:00
Arhell fa01c64d68 update dropdown 2020-12-13 12:38:54 +02:00
Jason Etcovitch 92d5722103
Add 2.22 release notes (#16586)
* Add 2.22.0

* Add 2.22.1

* Add 2.22.2

* Add 2.22.3

* Add 2.22.4

* Lint YAML files

* intro shouldn't be required

* Align all notes

* Full height sidebar

* Make the sidebar full height properly

* Get the real layout going

* Include full name

* Move details > summary around

* Fix sticky sidebar

* Tweak bottom of page

* Add more label colors

* Change heading title

* Don't be <details>, change sticky header

* Include other releases' info

* Show prev/next links

* Change sidenav to show all releases

* Fix ordering of chevron

* Fix link underlines

* Collapsing minor versions

* Moar padding

* Setup schema for sub-sections

* Update a YAML file to match schema

* Redo rendering/sorting logic

* Update layout

* Convert remaining notes

* Improve schema

* Use proper min properties

* Custom bullet points

* Show details control for version picker

* Improve layout on small screens

* One more tiny fix

* Order by semver

* Use proper version in details

* Fix extra arrows showing up

* Change label colors

* Pass the reference check

* Add gradients

* Gradient all the things
2020-12-11 13:43:11 -05:00
Sarah Schneider dc38acdde8 support custom Early Access breadcrumbs 2020-12-07 16:18:03 -05:00
Arhell be1f88328f fix navigation on tablet 2020-11-26 01:39:28 +02:00
Sarah Schneider baec6e4b8b
match code style in table to code style in body (#16516)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2020-11-19 10:13:31 -05:00
Sarah Schneider 0d4885bfe3 add dev-toc stylesheet 2020-11-16 16:13:32 -05:00
Chiedo John ca4645ef05
Merge branch 'main' into fix-table-overflow 2020-11-12 10:15:19 -05:00
Jason Etcovitch dd91c5a707
"Guides" section of the Actions landing page (#16216)
* Add custom hover shadows

* Support avatars

* Add guide-card include

* Use it in product-landing

* Add gradient styles

* Add guides frontmatter

* Use guideArticles instead of full objects

* Add support for authors

* Add support for category header

* Just pass the whole page

* Use it

* guide.url => guide.href

* Use `*.githubusercontent.com`

* Fix mobile card width

* Remove showDescription check

* Use featureLinks.guideCards

* Forgot an if

* Remove support banner

* Just use login instead of name/avatarUrl

* Change card spacing

* Use circular avatars

* Add margin beneath "Guides"

* Use smaller font

* Even moar spacing

* Remove category

* Remove lead text, move button to bottom right

* update guide cards

* Change author of setting up ci to GitHub

* Attribute node js guide to GitHub

* Add author tag to powershell guide

* update top guides section with correct actions links

* Enforce size for single avatars

* Adjust spacing

Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
2020-11-11 12:53:46 -05:00
MAKSS e896f48966 Fix the table overflowing sidebar
Fixes #1205
change current markup of table based on the previous fix with use of javascript/wrap-code-terms.js
2020-11-10 18:44:14 +03:30
Sarah Schneider 4fbec62f25
fix crashing child tables in REST docs (#16407) 2020-11-09 20:20:59 -05:00
Jason Etcovitch efed031ea4
Add copy button to code blocks (#16052)
* Add deps

* Setup copy events

* Updoot

* Tweak styling

* Do a lil' proof-of-concept

* Updoot @github-docs/render-content

* Use SCSS variables for custom styles

* Adjust docs

* Ignore clipboard in check-deps

* Add copy annotation to quickstart workflow sample

Co-authored-by: Cynthia Rich <crichID@users.noreply.github.com>
2020-10-16 10:55:35 -04:00
Jason Etcovitch 305ea20c49
Add "Alliance" font (#16012)
* Add font files

* Add @font-face bits

* Use it once
2020-10-15 15:51:51 -04:00
Jon Rohan dba1e7b589 Creating background color utility 2020-09-28 09:02:45 -07:00
Sarah Schneider cc7bd5d701
Wrap slash characters in tables (#15774)
* include slashes in list of chars to inject <wbr> tags around for better table rendering

* add clarifying comment to tables.scss
2020-09-28 10:54:23 -04:00
Vanessa Yuen 3df90fc9b8 Hello git history spelunker!
Are you looking for something? Here is all of the GitHub Docs history in one single commit. Enjoy! 🎉
2020-09-27 14:10:11 +02:00