1
0
mirror of synced 2025-12-21 10:57:10 -05:00
Commit Graph

264 Commits

Author SHA1 Message Date
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
Sarah Schneider
26c351f4ff Merge branch 'main' of github.com:github/docs-internal into update-new-site-tree-deps 2021-04-15 14:46:27 -04:00
Sarah Schneider
0a38c29339 add new include and layout files that are feature flagged 2021-04-15 14:35:17 -04:00
Sarah Schneider
e6b2aedd66 Merge branch 'main' into move-html-into-include-files 2021-04-15 13:55:08 -04:00
Sarah Schneider
121a3be4fa add community-examples include file 2021-04-15 12:30:59 -04:00
Sarah Schneider
88034a3d97 add code-examples include file 2021-04-15 12:30:25 -04:00
Sarah Schneider
18b91cd3b1 Merge branch 'main' into update-categories-json 2021-04-15 10:29:46 -04:00
Mike Surowiec
cf886a385c fix: enterprise server releases layout and mini toc contents 2021-04-14 12:02:17 -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
Sarah Schneider
3a2839cb17 differentiate between title and shortTitle in siteTree 2021-04-14 10:35:10 -04:00
Sarah Schneider
f860ff34e2 add an image toggler button 2021-04-13 15:54:39 -04: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
Sarah Schneider
c48c06a356 delete unused file 2021-04-12 15:35:20 -04:00
Kevin Heis
f160594a09 Enable set AIRGAP cookie to view Lunr search results (#18648)
* Enable set `lunr` cookie to view Lunr search results

* Use AIRGAP instead of lunr for cookie name
2021-04-09 17:38:32 +00:00
Sarah Schneider
12747b8898 rename version switcher layout file and only display if multiple permalinks 2021-04-08 10:13:27 -04:00
Sarah Schneider
c7f647f68a update references 2021-04-01 15:29:59 -04:00
Sarah Schneider
b063f68e9d Merge branch 'main' into versioning-in-landing-pages 2021-03-30 18:58:02 -04:00
Rachael Sewell
1676028143 Tweak sublanding page design (#17977) 2021-03-29 18:12:03 -07:00
Sarah Schneider
4271f73e10 change conditional to reference layout instead of relativePath 2021-03-29 12:18:16 -04:00
Sarah Schneider
b9ede41295 show header version picker on landing pages as well as homepage 2021-03-26 09:52:11 -04:00
Kevin Heis
a017660a76 Include header/footer components across layout types (#18377)
* Flesh out our layouts to include header/footer components across layout types

* Update contribution.html

* Remove extra line that we don't need when we have the gray section
2021-03-25 10:01:13 -07:00
Rachael Sewell
02ee72fa25 add topics attribute to search (#18212) 2021-03-17 13:11:29 -07:00
skullface
83f1e3af44 [SEO] Correct footer links (#18136)
* correct Support link omg

* customer stories link correction

* one more!

Co-authored-by: Sarah Schneider <sarahs@github.com>
2021-03-15 09:57:26 -07:00
Steve Winton
5ca3c8759e Remove 'rel="nofollow"' from contributor links 2021-03-11 15:37:49 -06:00
Steve Winton
81f9cdecde Add info octicon next to contributor callout 2021-03-11 14:58:24 -06:00
Steve Winton
221d6a8902 Reference ui.contributor_callout data attribute
To facilitate localization

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-03-11 12:26:14 -06:00
Steve Winton
953b9677a7 Replace partner-callout with contributor-callout
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2021-03-11 12:23:06 -06:00
Steve Winton
44d34f5c52 Add support for new contributor frontmatter object 2021-03-10 15:36:02 -06:00
Emily Gould
052a540cdb Getting started category landing page (#17841)
* Start building out landing page in index file

* Add articles

* Add a couple more popular articles

* Tweak intro to cover more audiences

* Add TOC back with new organization

* Update content/github/getting-started-with-github/index.md

* Category as product guides section

* Update breadcrumbs.js

* Update server.js

* Update product-landing.html

* Remove TOC listing

* Revert removing TOC

* Update index.md

* Update index.md

* Update content/github/getting-started-with-github/index.md

* Apply suggestions from code review

Co-authored-by: Laura Coursen <lecoursen@github.com>

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Laura Coursen <lecoursen@github.com>
2021-03-09 10:04:45 -06:00
Sarah Schneider
5fe68e0033 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-03-08 12:17:45 -05:00
skullface
39dd0ce68d avoid redirect in footer 2021-03-05 17:07:09 -05:00
Sarah Schneider
4290013f53 use separate include files for enterprise-server vs. github-ae release notes 2021-03-01 17:02:24 -05:00
Kevin Heis
8b6e1bed8b Merge branch 'main' into add-button-for-scrolling-to-top 2021-02-22 14:40:16 -08:00
Kevin Heis
46ccfc5d93 Run AB test on survey stars (#17861)
* Run AB test on survey stars

* Update browser.js

* Use text stars instead of primer ones

* Update experiment.js
2021-02-18 16:29:17 +00:00
Kevin Heis
eedcd1d861 Combine three super footer elements into one section (#16724)
* Combine three super footer elements into one section

* Update support-section.html

* Update heading font sizes
2021-02-11 14:10:33 -08:00
kazuhitonakayama
ef7748face Erase href and remove unwanted styles 2021-02-11 23:41:38 +09:00
kazuhitonakayama
3d3ade8c16 remove includes scripts 2021-02-11 22:25:57 +09:00
kazuhitonakayama
2230da65de use octicon for scroll-top-button 2021-02-11 19:50:05 +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
a3ad549e39 Block a few more things in AIRGAP (#17657)
* Block a few more things in AIRGAP

* Update middleware/context.js

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

* Update product-landing.html

Co-authored-by: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
2021-02-09 23:07:23 +00:00
Kevin Heis
1918d2ea14 Inline CSRF token in HTML (#17748)
* Inline CSRF token

* Fix tests
2021-02-09 22:08:24 +00:00
Jason Etcovitch
7aed83d5f8 Remove currentLanguage from translation_notification (#17733) 2021-02-08 20:05:29 +00:00
Jason Etcovitch
fcade11d77 FIx version switcher size (#17732) 2021-02-08 19:45:04 +00:00
Jason Etcovitch
28efe65bf5 Fix some invalid Liquid (#17705)
* Remove quotes from render paths

* Do the same for includes

* Fix {{{ in breadcrumbs

* Remove some old octicon syntax

* Fix some wonks

* Borked one

* Unchange `render` calls

* Smaller diff

* Even smaller
2021-02-05 13:17:15 -05:00
Vanessa Yuen
4038e9ca85 Add topic property and filter to guides page (#17328)
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-29 12:32:31 +00:00
Kevin Heis
8b86fd8fef Reduce minified JS bundle size from 189kb to 73kb (#17552) 2021-01-28 22:12:04 +00:00
Vanessa Yuen
9bc90cd932 Learning Track navigation banner (#17440)
* add middleware to handle `learn` query param

* add exception to query-less cache key

* add querystring to learning track guides
2021-01-25 16:57:32 +00:00