docs/tests/fixtures
Robert Sese 33c05d81ce
Change product landing page `introLinks` to a general map of link titles to links (#26360)
* Add cta button to frontmatter and context

* Add cta to Page

* Render cta button in product landing hero

* Handle external links

* Add simple unit test for cta link

* Address feedback

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Actually push condition update

* Show it's an external link

* Refactor FullLink so we use Link once

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* Custom link can also be null

* Rename 'cta' to 'custom' and make it the last introLink

* Update tests with 'cta' to 'custom' change

* Filter once

* Revert "Filter once"

This reverts commit a3f9a8a06b505d77fed47ca96a66c187c86c3c91.

* Update introLinks to a map of titles and URLs

* No more custom introLink in LandingHero

* Simplify introLinks processing

* introLinks can also be null

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* more concise

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* No longer necessary with the a plain introLinks map

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* '.entries()` is simpler

Co-authored-by: Peter Bengtsson <mail@peterbe.com>

* 'link' could be false depending on what version you're on

* Update test for new introLinks

Co-authored-by: Peter Bengtsson <mail@peterbe.com>
2022-04-01 11:01:37 -05:00
..
liquid-tags Throw an error if a 'data' Liquid tag fails (#25730) 2022-03-04 12:16:32 +00:00
products Throw error on mismatched versioning (#16191) 2020-10-23 11:13:05 -04:00
remove-liquid-statements GHEC version (#20947) 2021-10-15 15:41:33 -05:00
article-with-broken-links-and-images.md Group user docs on code security into a new "product" - with more redirects (#18278) 2021-03-22 09:28:35 +00:00
article-with-includeGuides.md Updating name: sublanding to guides and using DropdownMenu for type/topics filter (#23290) 2021-12-02 18:43:33 +00:00
article-with-introLinks.md Change product landing page `introLinks` to a general map of link titles to links (#26360) 2022-04-01 11:01:37 -05:00
article-with-learning-tracks.md Updating name: sublanding to guides and using DropdownMenu for type/topics filter (#23290) 2021-12-02 18:43:33 +00:00
article-with-mislocalized-frontmatter.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
article-with-redirect-from-string.md Quickstart guide about issues, pull requests, GitHub Discussions and team discussions (the return) (#18980) 2021-05-07 08:25:11 +01:00
article-with-videos.md Add support for videos to landing pages (#23801) 2021-12-17 11:09:00 -06:00
changelog-entry.json Update dependencies (#19408) 2021-05-19 17:32:47 +00:00
changelog-feed.json cache changelog feed in CI (#25759) 2022-03-03 20:32:34 +00:00
default-tool.md remove tool-switcher (#24242) 2022-01-12 16:32:30 +00:00
developer-redirects.json add feature flagged conditionals to tests 2021-05-18 20:44:46 -04:00
feature-versions-frontmatter.md write tests to ensure that ghes versioning in a feature gets combined with ghes versioning frontmatter, and does NOT overwrite it 2021-06-23 15:03:12 -04:00
github-blog-feed-packages-2021.xml content unit tests shouldn't depend on github.blog (#23578) 2021-12-13 08:57:00 +00:00
graphql-redirects.json update tests to remove free-pro-team from expected results 2021-01-14 17:08:30 -05:00
page-that-does-not-exist-in-translations-dir.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
page-versioned-for-all-enterprise-releases.md Support enterpriseServerVersions in Liquid statements (#16058) 2020-10-15 16:20:41 -04:00
page-versioned-for-ghae-next.md add tests 2021-03-17 10:30:16 -04:00
page-versioned-for-next-enterprise-release.md add tests 2021-03-17 10:30:16 -04:00
page-with-deprecated-enterprise-links.md correct how legacy enterprise links are rewritten (#25183) 2022-02-09 16:09:42 +00:00
page-with-frontmatter-error.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
page-with-missing-product-versions.md Hello git history spelunker! 2020-09-27 14:10:11 +02:00
page-with-optional-attributes.md an empty 'product', 'permissions', or 'learningTracks' gets stuck (#25070) 2022-02-07 16:08:51 +00:00
page-with-redirects.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
rest-redirects.json reactify rest pages (#25005) 2022-02-28 18:30:54 +00:00
rss-feed.xml break up large rest pages (#23652) 2021-12-14 20:39:25 +00:00
sample-article.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
sample-toc-index.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
short-versions.md support short versions in frontmatter 2021-06-14 19:51:38 -04:00
translated-toc-with-no-links-index.md Remove versions feature flag code (#15793) 2020-09-29 13:36:07 -04:00
updated-changelog-file.json Add graphql tests to CI, move snapshots to fixures, use mockdate 2020-11-25 11:12:13 -05:00