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

361 Коммитов

Автор SHA1 Сообщение Дата
github-openapi-bot e32567fb17
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-09 20:46:46 +00:00
Kevin Heis 207c536609
Add `page_event_id` to all successive events ()
* Add `page_event_id` to all successive events

* Update events.js

* Break out event inits into functions so they don't break each other

* Update events.js

* Update events.js

* Update events.js
2021-02-09 15:40:27 +00:00
github-openapi-bot 134a7b9995
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-08 23:28:40 +00:00
github-openapi-bot 0ec7c3f48f
Update OpenAPI Descriptions 2021-02-08 18:34:56 +00:00
Jason Etcovitch 39e0e0dda1
Use Liquidjs instead of Liquid ()
* 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
github-openapi-bot 7e862d6ddb
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-05 05:08:57 +00:00
github-openapi-bot 5b8f1a9ab7
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files
2021-02-05 01:39:25 +00:00
lucascosti f65e8d342e Action ran graphql script"update-files" 2021-02-05 01:11:37 +00:00
github-openapi-bot e1ac41b80b
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-02 22:05:24 +00:00
Jason Etcovitch 53d8e60959
Add a test for non-English rendering ()
* Throw in some code that should fail a test

* Remove read-frontmatter behavior

* Unskip the test that would catch this

* Remove the throw to pass the test
2021-02-02 18:14:39 +00:00
github-openapi-bot d7b926f731
Update OpenAPI Descriptions () 2021-02-02 02:38:08 +00:00
github-openapi-bot 8a3d415da4
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-01 22:58:13 +00:00
github-actions[bot] 21eeba6144
Action ran graphql script"update-files" () 2021-02-01 11:38:55 -08:00
github-openapi-bot 11d340d2ac
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions

* Add decorated OpenAPI schema files

Co-authored-by: Sarah Edwards <skedwards88@github.com>
2021-02-01 18:29:53 +00:00
Jason Etcovitch f2c08b31a8
Static method isn't a thing on this version? () 2021-01-29 17:38:50 -05:00
Jason Etcovitch 653a57aa00
Don't use slugger singleton () 2021-01-29 17:15:08 -05:00
Jason Etcovitch 53ad15c959
Use hast-util-to-string to get heading text () 2021-01-29 21:42:35 +00:00
Jason Etcovitch bd63f47636
Remove cheerio from Page#render ()
* Write our plugin

* Include it

* Move the RegEx

* Don't rewriteLocalLinks with cheerio anymore

* Process after HTML ast is generated

* Use the same logic as before, just to see if it'll pass

* Don't require languageCode/version

* Only work on local links

* Needs an href

* Only update href if there's a new one to use

* Check for node.properties

* Some links are just mean

* Move use-english-headings to be a plugin

* Bail if no englishHeadings were passed

* Install rehype-wrap

* Wrap ol > li img in div.procedural-image-wrapper

* Test for platform without cheerio

* Use a plugin for rewriteAssetPathsToS3

* Remove cheerio from page.render

* Fix require paths

* SImplify

* Fix some 🐛s

* Use our own rehype-wrap

* Move rewriteAssetPathsToS3 after HTML AST

* Remove some console logs

* Fix check for includesPlatformSpecificContent

* Rename ast => tree
2021-01-29 15:44:50 -05:00
Jason Etcovitch 989006bab5
Move the rewriteLocalLinks behavior to an AST pipeline plugin ()
* Write our plugin

* Include it

* Move the RegEx

* Don't rewriteLocalLinks with cheerio anymore

* Process after HTML ast is generated

* Use the same logic as before, just to see if it'll pass

* Don't require languageCode/version

* Only work on local links

* Needs an href

* Only update href if there's a new one to use

* Check for node.properties

* Some links are just mean
2021-01-29 15:36:17 +00:00
Jason Etcovitch 8d4f3e65fe
Move test & script utils out of `/lib` ()
* Remove an unused file

* Move authenticate-to-aws to scripts/utils

* Move crowdin-config to tests/utils

* Remove add-frontmatter-to-file

* Move find-unused-assets

* Move git-utils to script/utils

* Move lib/github to script/utils

* Revert "Remove an unused file"

This reverts commit cd93ad846a0354e957359f23124eb0724c9147cf.

* Move find-extraneous-translation-files to script/utils

* We already have tests/helpers

* Rename script/utils => helpers for consistency

* Forgot a path

* Fix path to crowdin-config

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-29 10:30:51 -05:00
Vanessa Yuen 4038e9ca85
Add topic property and filter to guides page ()
Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-29 12:32:31 +00:00
Rogan Ferguson 5b45d82110
Audit log git event public beta () 2021-01-29 10:30:42 +00:00
Kevin Heis 8b86fd8fef
Reduce minified JS bundle size from 189kb to 73kb () 2021-01-28 22:12:04 +00:00
Jason Etcovitch 2572d7bb85
Remove hubdown and use our own markdown pipeline ()
* Uninstall hubdown, install unified deps

* Create create-processor

* Use it

* Update a doc

* Tweak the language

* Use the same versions that hubdown used
2021-01-28 17:06:19 -05:00
Sarah Schneider c6cb579151 Merge branch 'main' of github.com:github/docs-internal into exclude-some-links 2021-01-28 16:44:59 -05:00
Sarah Schneider 9207af8994 add facebook to exclusions list 2021-01-28 16:44:54 -05:00
Kevin Heis d9d61f42ef
Add Lunr as a site search option ()
* Add Lunr as a site search option

* Use a class like the Algolia option does

* Lint

* Working on showing real content, prep for highlighting

* Move searching to their own files

* Split out ridiculous fn

* Add highlighting

* Less lunr search code

* A little more tidy

* Then chain on write too

* Mark from server too

* Write a batch of indices

* Update compress.js

* Highlighting with fewer calls

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js

* Update lunr-search.js
2021-01-28 19:38:22 +00:00
Shati Patel ae23d0114b
Merge branch 'main' into openapi-update-e3d37e33f5d6f3db5d80d5d602d7772843d043867c57c3e0ed3dd0af80aeec77 2021-01-28 09:35:26 +00:00
Jason Etcovitch 7af9e3bbcf
Use tags to mark individual middleware () 2021-01-27 17:54:51 -05:00
Jason Etcovitch 58319a221c
Instrument all of our middleware ()
* Add instrument-middleware.js

* Make it do some fancy require-ing

* Use it

* Prefix names

* dot prefix

* Improve async detection

* Add some comments

* Can't instrument error handler
2021-01-27 17:29:30 -05:00
github-openapi-bot c0e79c5c7a Add decorated OpenAPI schema files 2021-01-26 21:26:39 +00:00
github-openapi-bot 218db37f28 Update OpenAPI Descriptions 2021-01-26 13:21:16 -08:00
Sarah Schneider d16e019a9d exclude linkedin link 2021-01-26 13:21:06 -05:00
Sarah Schneider 7e0e865c3f few readme edits 2021-01-26 12:28:42 -05:00
Sarah Schneider 35e430c96d
Merge branch 'main' into make-developer-redirects-static 2021-01-26 11:30:16 -05:00
github-openapi-bot 797918453b
Update OpenAPI Descriptions () 2021-01-26 11:27:32 +00:00
Sarah Schneider f01b56813f make the enterprise developer paths more future-proof for new versions 2021-01-25 13:09:48 -05:00
Sarah Schneider 87bc25d7ca Merge branch 'main' of github.com:github/docs-internal into make-developer-redirects-static 2021-01-25 12:31:23 -05:00
Vanessa Yuen 9bc90cd932
Learning Track navigation banner ()
* 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
Sarah Schneider 5e286fd315
Merge branch 'main' into make-developer-redirects-static 2021-01-22 14:02:10 -05:00
Sarah Schneider 4be15f7b87
account for paths with or without version () 2021-01-22 15:07:08 +00:00
github-openapi-bot 594b8bff6c
Update OpenAPI Descriptions ()
* Update OpenAPI Descriptions
* Add decorated OpenAPI schema files
2021-01-22 16:08:52 +10:00
Laura Coursen 81aa7984c2
Add "About GitHub AE" () 2021-01-21 17:32:29 -05:00
Sarah Schneider 3aed23bdc9
Merge branch 'main' into make-developer-redirects-static 2021-01-21 14:14:57 -05:00
Kevin Heis c51f5390d4
Move search results to use relative urls ()
* Move search results to use relative urls

* ..and now we have real mark tags instead of em tags

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
2021-01-21 17:23:16 +00:00
github-openapi-bot 51d288372c
Update OpenAPI Descriptions 2021-01-21 09:23:41 +00:00
github-openapi-bot 8d4980cf3f
Update OpenAPI Descriptions () 2021-01-20 22:57:24 +00:00
Sarah Schneider 2846a160e9 draft of redirects README 2021-01-20 15:41:47 -05:00
Sarah Schneider 8198dd4ce7 Merge branch 'main' of github.com:github/docs-internal into make-developer-redirects-static 2021-01-20 15:08:35 -05:00
github-openapi-bot d15514cb77
Update OpenAPI Descriptions 2021-01-20 15:56:48 +00:00