1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Commit Graph

91 Commits

Author SHA1 Message Date
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
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
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
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
Jason Etcovitch
591e22d8b1 Rename release notes for 3.0.0-rc to 3.0.0.rc (#17510)
* Change -rc versions to .rc\d*

* Fix the download link

* Rename to 3.0.0.rc1
2021-01-27 15:27:48 +00:00
Jason Etcovitch
c11f66d66f Prevent release-candidate label from wrapping (#17508)
* Add a test

* Try adding de

* Let's try all languages

* Add white-space: pre
2021-01-27 10:22:32 -05: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
Kevin Heis
6ae96188f2 Move 404 and 500 images to local (#17432) 2021-01-22 21:49:45 +00:00
Jason Etcovitch
e5703b0d3f Fix release notes sidescroll (#17412)
* Make some small adjustments

* It was so simple all along
2021-01-21 16:29:21 +00:00
James M. Greene
9724f763f5 Implement discount fingerprinting without webpack (#17337) 2021-01-19 23:00:54 -06:00
Vanessa Yuen
b46da8dfc7 Sublanding page all guides section (#16869)
* get link liquid tag to accept variables as param

* new liquid tag `link_as_article_card`

* refactor link liquid tag slightly so we can control what props get rendered

* generalize filterCodeExample to use in all guides section

* pass in `js-filter-card-max` instead of hardcode max

* tweaks and add `data` to CSP for images

* add liquid tag tests

* add some browser tests for card filters

* we still need to rely on `getPathWithLanguage` for hrefs that already have the language code embedded


Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-18 12:23:23 +00:00