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

747 Коммитов

Автор SHA1 Сообщение Дата
Sarah Schneider 63e3f917c6 Merge branch 'main' of https://github.com/github/docs-internal into hidden-docs-alt 2020-11-02 14:21:19 -05: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
Sarah Schneider dc50c7464e Merge branch 'main' of https://github.com/github/docs-internal into hidden-docs-alt 2020-10-26 09:52:58 -04: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
Sarah Schneider f4e05b189c exclude hidden products in addition to hidden pages from Algolia 2020-10-22 10:07:41 -04:00
Sarah Schneider e44bef852a Merge branch 'main' of https://github.com/github/docs-internal into hidden-docs-alt 2020-10-21 15:37:31 -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
Sarah Schneider beaf73378d hide early-access from public list of products 2020-10-21 09:43:23 -04:00
Chiedo a48998c789 Keep all the React Engine logic in one file 2020-10-21 09:25:50 -04:00
Chiedo fe812048a4 Make the rendering engine safe 2020-10-21 08:43:04 -04:00
Sarah Schneider f40f2419be support hidden products, which will just be early-access in practice 2020-10-20 17:22:08 -04:00
Sarah Schneider d818c9ff4d restore old hidden docs implementation 2020-10-20 17:19:14 -04:00
Chiedo 7573ff2471 Add some comments that explain logic 2020-10-20 09:26:52 -04:00
Chiedo b8c8e0f545 Minor performance improvement 2020-10-20 09:25:28 -04:00
Chiedo 3c71bc71ed Minor patches 2020-10-20 09:06:43 -04:00
Chiedo 89d745b164 Remove uneeded code 2020-10-20 09:03:32 -04:00
Chiedo 8ef2822b48 Add performance optimization 2020-10-20 09:00:22 -04: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
Chiedo d51688b281 Everything working but CodeEditor 2020-10-19 09:04:03 -04:00
Chiedo c5a34e49e3 Set up foundations for code switcher 2020-10-18 22:03:44 -04:00
Chiedo 797adb1a0d Add a cool table component 2020-10-18 17:35:50 -04:00
Chiedo b781e43893 Add experimental react support within markdown
Also added fronmatter for interactive: true to turn on React on a file by file
basis and prevent slowing down the builds for non-react files
2020-10-18 14:44:34 -04: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