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

38 Коммитов

Автор SHA1 Сообщение Дата
Jason Etcovitch 7b31c08e16
"All articles" component of Actions landing page (#16318)
* Spike out all-articles.html

* Use it somewhere

* Do the thing

* Use 3 columns

* Increase space between links

* Hide standalone categories

* Move all-articles to bottom of product-landing

* Add obj_size filter

* Add buttons if numArticles > 10

* Add click event to show

* Add a chevron ^

* Assign maxArticles for some DRY fun

* Add some comments
2020-11-12 12:57:30 -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
Sarah Schneider ce33df1cd3
New broken link report (#16412)
* add linkinator npm package

* add new script that uses Linkinator

* reorg the excluded links file and update comments

* replace blc artifacts with linkinator artifacts in .gitignore

* update the scheduled workflow to use the new script

* dismantle BLC scripts

* add workflow_dispatch event so we can test this manually

* npm uninstall broken-link-checker

* use different exit codes depending on whether broken links are found
2020-11-10 15:28:44 -05:00
Leona B. Campbell 1e33237812
graphql latest (#16370) 2020-11-05 17:23:25 -08:00
Sarah Schneider e9c09f1f7d
ran script/update-enterprise-dates.js (#16337) 2020-11-04 10:49:56 -05:00
Sarah Schneider ba310bf991
Support GHAE in Algolia (#16315)
* add frontend search support for GHAE version

* add support for GHAE version to Algolia sync

* add browser tests for frontend search

* if a version can be derived from a path, but it is not a real version (like from a path that 404s), fall back to dotcom

* Update javascripts/search.js

* Update lib/algolia/sync.js
2020-11-03 15:35:56 -05:00
Jason Etcovitch 7d55775285
Actions landing page top bits (#16266)
* Add changelog frontmatter

* Reorganize some properties

* Move sections to product-landing

* Add more items

* Changing heading design

* Redesign hero

* Remove "GitHub Actions:"

* Popular ~articles~

* Use proper date formatting

* Quick start => Quickstart

* Add a comment

* Add to content/README
2020-11-03 13:23:50 -05:00
Matt Pollard 2484cd3f16
Add external GitHub CLI product (#16277) 2020-11-03 08:11:49 +01:00
Laura Coursen a3e1733aa1
GitHub AE (GHAE) (#16090) 2020-11-02 15:12:44 -06:00
Rachael Sewell 1fe4e51eaa
update openapi schema name (#16231) 2020-10-27 11:28:33 -07:00
Jason Etcovitch 174d8539c6
Support arbitrary keys in new featuredLinks frontmatter (#16239)
* Add featuredLinks to frontmatter

* Parse them in featured-links.js

* Remove old raw setup

* Use them

* Missed a couple

* Update translation files

* Fix frontmatter schema

* Loop over the right object

* Also update translations' usage

* Update docs and tests

* Better README comment

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Return next()

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2020-10-27 13:53:10 -04:00
Rachael Sewell f22a82fcfb
translate openapi versioning (#16202) 2020-10-26 14:38:30 -07:00
Kevin Heis 93849795e0
Record redirect events (#16181)
* Record redirect events

* Update index.js

* Update record-redirect.js

* Only run when it can send to Hydro

* Update record-redirect.js
2020-10-26 10:18:42 -07:00
Kevin Heis 3daacd9a6b
Add new schemas for redirect, copy, print (#16175)
* Add new schemas for redirect, copy, print

* Update schema-event.js

* Update events.js

* Copy -> Clipboard

* Update events.js
2020-10-23 09:31:58 -07:00
Sarah Schneider 095410dcb0
Throw error on mismatched versioning (#16191)
* throw an error if a page is available in a version that its parent product is not available in

* add tests

* fix one Insights content file versioned for FPT when Insights is only available in GHES currently
2020-10-23 11:13:05 -04:00
Kevin Heis 380c4dcc82
Hydro exit event (#16067)
* Start a basic exit event

* Combine to one performance function

* Lint

* Fancy operators

* Update events.js

* Update events.js

* Update cookie-settings.js

* Add scroll tracking

* Tell "standard" to use babel-eslint

* Throttle scroll tracking

* Lint

* Use sendBeacon

* Update index.js
2020-10-21 09:42:02 -07:00
Kevin Heis 8982d200cc
Migrate experiments and helpfulness to Hydro (#16059)
* Migrate experiments and helpfulness to Hydro

* Clean out old tests

* ...and more old tests to delete
2020-10-19 14:31:54 -07:00
Leona B. Campbell 5b725ddc27
ran the script (#16078) 2020-10-16 11:42:01 -07:00
Jason Etcovitch 207695312c
Actions landing page tweaks (#15927)
* Learn `more => GitHub Actions`

* Getting started => Guides

* Remove features row

* Guides => Code examples

* Shouldn't remove gettingStartedLinks

* Add introLinks frontmatter

* Fix wrong articles in "Manage workflows"

* Change more guides wording
2020-10-15 16:01:28 -04:00
Sarah Schneider f42530c35d
Support redirects to /v3 and /v4 links that have the new version format (#16037)
* add temporary redirect support

* add temporary redirect tests

* add ENDYANK comments per @zeke suggestion
2020-10-15 09:20:27 -04:00
Leona B. Campbell 7ce476db7b
adding latest graphql docs (#16003) 2020-10-13 13:27:46 +10:00
Chiedo 8872f6373d Merge remote-tracking branch 'origin/jeffmcaffer-patch-2' into bulk-windows-fixes-1602277955 2020-10-09 17:18:21 -04:00
Jeff McAffer c906187cf7
handle windows paths in product definitions 2020-10-09 08:52:59 -07:00
Jeff McAffer d16c1f2087
add missing slash require 2020-10-08 19:59:15 -07:00
Jeff McAffer b1f1e1cb6a
correct for windows slashes in redirect `precompile` 2020-10-08 19:20:27 -07:00
Zeke Sikelianos 03e728f184
fix endpoints-available-for-github-apps page (#15933)
* fix endpoints-available-for-github-apps page

* lint
2020-10-08 14:11:43 -07:00
Kevin Heis 7c0c493c35
Sending events to POST /events endpoint (#15796) 2020-10-08 09:24:41 -07:00
Sarah Schneider cf7ffc9cfb
Fix bug in path handler (#15858)
* minor clarification in comment

* handle scenario where a new version has been injected into an old path

* update oldEnterprisePath regex and comment

* lint
2020-10-02 19:36:23 -04:00
Kevin Heis b9a691f429
Create schema for events to Hydro (#15776)
* Create schema-event-2.js

* Update schema-event-2.js

* Expand a few field names

* Avoid id and timestamp from the FAQ

* Update schema-event-2.js

* Update from meeting with Kath and Jason

* Update schema-event-2.js

* Update schema-event-2.js

* Update schema-event-2.js
2020-10-02 15:22:37 -07:00
Rachael Sewell 001d63860a
update GraphQL and changelog (#15869) 2020-10-02 12:09:48 -07:00
Zeke Sikelianos f298882078
add contributing/development.md (#15806)
* add contributing/development.md

* Update CONTRIBUTING.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Update contributing/development.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Update contributing/development.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Update contributing/development.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Update contributing/development.md

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>

* Update contributing/development.md

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

* Update contributing/development.md

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

* cross-link to various liquid docs

Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2020-10-01 11:27:27 -07:00
Sarah Schneider 0b1c7ad466
Update Enterprise Liquid deprecation handling to use new versions (#15818)
* update Liquid deprecation fixtures to use new versions

* update module that removes deprecated GHES frontmatter for new versions

* update module that removes deprecated GHES conditionals for new versions

* update script to use new versions and also remove internal-developer checkout option

* update deprecated Liquid tests to use new versions

* remove unnecessary leading slash in getEnterpriseServerNumber pattern

* include a step that runs script/remove-unused-assets.js

* Update script/remove-deprecated-enterprise-version-markup.js

Co-authored-by: Jason Etcovitch <jasonetco@github.com>

* require script instead of execSync

Co-authored-by: Jason Etcovitch <jasonetco@github.com>
2020-09-30 19:29:08 -04:00
Jason Etcovitch 239643b094
Add basic Hydro SDK (#15725)
* Add back changes from prior to purge

* Add back in updates since main change

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2020-09-30 12:49:27 -04:00
Sarah Schneider 5caa6f282c
satisifies -> satisfies (#15814) 2020-09-30 10:28:47 -04:00
Jason Etcovitch caaee7a124
Update all files to use `{% data %}` (#15253)
* Add back changes from prior to purge

* Manually fix some invalid Liquid

* Updoot render-content

* Improve test messages to show correct output

* Run el scripto

* Pass the remaining test
2020-09-29 16:01:04 -04:00
Sarah Schneider aa5a62d49d
Remove versions feature flag code (#15793)
* remove FEATURE_NEW_VERSIONS from feature-flags.json

* remove process.env.FEATURE_NEW_VERSIONS from include files

* remove process.env.FEATURE_NEW_VERSIONS from lib files

* remove process.env.FEATURE_NEW_VERSIONS from middleware files

* remove process.env.FEATURE_NEW_VERSIONS from script files

* remove process.env.FEATURE_NEW_VERSIONS from test files

* update test fixtures to use new versions as canonical fixtures
2020-09-29 13:36:07 -04:00
Zeke Sikelianos 42fda8ec4d
use @github/rest-api-operations@2.0.1 (with github/github defs!) (#15602) 2020-09-28 13:27:37 -07: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