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

101 Коммитов

Автор SHA1 Сообщение Дата
Sarah Schneider ff718d7fc1 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-24 10:00:07 -04:00
Sarah Schneider 5978edb47b remove feature flagged code 2021-05-20 10:01:33 -04: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
Sarah Schneider a5d52dcef0
Add landing page for GitHub Enterprise (#19041) 2021-05-12 11:55:32 +00:00
Mike Surowiec e716172ba6
Merge branch 'main' into sponsors-react-3 2021-05-11 13:41:15 -07: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
Mike Surowiec 8598b600f3 wip: add LandingHero, FeaturedArticles 2021-05-07 16:35:11 -07:00
Rachael Sewell d9c336f6a6
add custom popular heading to landing pages (#19147) 2021-05-05 17:55:47 +00: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 3293ed0939 Merge branch 'main' of github.com:github/docs-internal into sublanding-fixes 2021-04-30 11:58:09 -04:00
Sarah Schneider baf661cb54 Merge branch 'main' of github.com:github/docs-internal into render-product-landing-introlinks-dynamically 2021-04-27 20:50:08 -04:00
Sarah Schneider 36599fa9c6
Merge branch 'main' into sublanding-fixes 2021-04-27 20:44:52 -04:00
Sarah Schneider 1e8baf292a
Merge branch 'main' into add-ghes-releases-link-to-versions-dropdown 2021-04-27 20:13:53 -04:00
Sarah Schneider 277d298cf3 update the sublanding layout based on the lib changes 2021-04-27 17:15:04 -04:00
Sarah Schneider 757a5961cc delete no longer needed layout file and middleware 2021-04-26 15:36:08 -04:00
Sarah Schneider bb6ca67b02 render the intro links dynamically 2021-04-26 12:18:56 -04:00
Sarah Schneider b8fea827ae
Merge branch 'main' into toggle-images 2021-04-23 13:59:35 -04:00
Sarah Schneider 81a4b5efcb
Merge branch 'main' into update-new-site-tree-deps 2021-04-22 16:12:13 -04:00
Sarah Schneider c694e1c854 only use toggle images in default layout for now 2021-04-22 12:17:44 -04:00
jmarlena 1fc4c3f68b
Article restructuring for Sponsors landing page (#18772)
* Move article from github directory as a top-level product

* Update article titles

* Remove old -ing article titles

* Use older format for this PR

* Finish updating links for retitled articles

* Remove sponsors topic

* Add sponsors to index.md

* Create folder for map topic for sponsors

* Add integrating folder/category with super basic graphql article

* Add get started category/folder

* Update index.md

* Add articles to category folders and update all the links and check it out locally 🙏

* Fix space

* Fix set of broken links

* Update link in resuable

* Add the quickstart

* Add USD

* Add matching donations caveat

* fix ci failures

* Bringing back `-ing` to Sponsors titles, categories, & links (#18817)

* Bringing back -ing

* The one that got away

* Apply @ethanpalm's input

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>

* Apply product input

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Apply @emilyistoofunky's input

* Sponsors landing page design (#18774)

* Add sponsors to index.md as a top-level product

* Revamp the GitHub Sponsors landing page with article links

* remove merge tags

* add community section

* add sponsor descriptions

* swap repo for user

* remove prefix tag

* lint

* remove topic fix landing page

* Tweak articles on landing page

* Drop "account"

* Add quickstart

* Bigger, brighter, and shorter intro

* Possibly too long of an intro?

* fix quickstart link

* add guides page

* fix error for mismatch between title and filename

* use link over guid

* remove HTML from layout file (aligns to #18811)

* use variable for section title

* Add intro

* Remove beta

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Apply suggestions from code review

* Integrate article changes and remove old TOC

* Fixing the commented out text to match other landing pages 👓

* Apply suggestions from code review

Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

* Switch up order of sidebar categories

* Add new text to landing page button

* Add topics and types

* Add the underscore

* Add some more topics

* fix `type:`

* Fix topics

* plural ftw

* hide learning paths when not defined

* lint

* Add quickstart to guides page

* remove unused sidebar links

* hide subsection title when learning tracks are not present

* Apply @emilyistoofunky's topics input

* Remove duplicated topics

* Events ftw

* typo

* Remove obsolete topics for now

* add some temporary duplicate topics

* Resolve Linter error

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
Co-authored-by: Ethan Palm <56270045+ethanpalm@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-04-21 11:48:19 -07:00
Sarah Schneider af519b5131 use article layout for TOCs instead of new separate generic-toc layout that has to be maintained 2021-04-21 13:05:52 -04:00
Sarah Schneider 88cbc97798 split up generic TOC include depending on whether there are children or not 2021-04-20 15:19:42 -04:00
Sarah Schneider 27f0448219 preserve hardcoded markdown content in TOC files 2021-04-20 11:25:22 -04:00
Sarah Schneider 5d03537551 differentiate between TOCs with grandchildren vs. only children 2021-04-20 11:15:03 -04:00
Sarah Schneider 05f20c26f1 use color-border-info now that purple is no longer part of primer 2021-04-19 15:26:13 -04: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 30c2ec41f9 reference new include files in product-landing layout 2021-04-15 12:31:41 -04:00
Mike Surowiec cf886a385c fix: enterprise server releases layout and mini toc contents 2021-04-14 12:02:17 -07: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
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
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
Sarah Schneider aa62f45893
Merge branch 'main' into version-product-landing-frontmatter 2021-03-31 12:16:18 -04:00
Rachael Sewell 1676028143
Tweak sublanding page design (#17977) 2021-03-29 18:12:03 -07:00
Sarah Schneider 76227bd771 correctly version intro links in the layout 2021-03-26 11:42:23 -04:00
Sarah Schneider b320016ea5 parse some of the landing page frontmatter so we can respect conditionals 2021-03-26 11:24:29 -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
Sarah Schneider 91abecb597 add upgrade notices to release notes layout, localized with links 2021-03-19 10:19:55 -04: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 8a89d842f4 move patch version ID to outer div 2021-03-08 09:16:54 -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 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 92163877c1 fix conflict 2021-02-11 18:56:41 +09:00
Jason Etcovitch b17792766b
Fix links to articles/products/categories (#17761) 2021-02-10 14:55:38 -05: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
Jason Etcovitch 39e0e0dda1
Use Liquidjs instead of Liquid (#16743)
* Install liquidjs, uninstall liquid

* Comment a bunch of stuff out to get going

* Fix invalid includes

* Fix all includes (path => 'path')

* Get the homepage to render

* Do link-in-list kinda

* Revert "Fix all includes (path => 'path')"

This reverts commit d6fead646353aa5041d9229470a62a1d487456b9.

* Support non-dynamic partials

* Extract getTemplate helper

* Do remaining custom Liquid tags

* Fix some custom tag bugs

* Moar bugs

* Re-add link tag

* Cleaner diff

* Actually fix extended markdown tags

* Fully comment out version matchers

* Smaller diff

* Rely only on Liquid internals for conditionals

* Use new operators option in Liquid engine

* Fix link.js

* Don't need options

* Updoot to the right doot

* Fix some bugs

* Fix another bug

* Pass a test

* Fix the translate bits

* Adjust a test

* Fix another invalid Liquid bug

* Two more borked translations

* Found some more

* Don't need this change

* Revert "Don't need this change"

This reverts commit a916d619747f0492865a69c3e237c97c4d4e7fad.

* This should fix the broken links

* Missed one

* Revert "This should fix the broken links"

This reverts commit e6c2cc0d9055d958706260d57edbe293281c150e.

* Revert "Missed one"

This reverts commit bbe1f23baf16e020f6f7931589decb1afc75dfbd.

* Updoot liquidjs
2021-02-08 12:58:51 -05:00