Kevin Heis
d9d61f42ef
Add Lunr as a site search option ( #17388 )
...
* 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 ( #17531 )
2021-01-27 17:54:51 -05:00
Jason Etcovitch
58319a221c
Instrument all of our middleware ( #17527 )
...
* 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
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 ( #17476 )
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 ( #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
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 ( #17443 )
2021-01-22 15:07:08 +00:00
github-openapi-bot
594b8bff6c
Update OpenAPI Descriptions ( #17437 )
...
* Update OpenAPI Descriptions
* Add decorated OpenAPI schema files
2021-01-22 16:08:52 +10:00
Laura Coursen
81aa7984c2
Add "About GitHub AE" ( #17420 )
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 ( #17411 )
...
* 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 ( #17398 )
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
Kevin Heis
2fb2e962bc
Move site search to use an endpoint ( #17359 )
...
* Move site search to use an endpoint
* Update browser.js
* Update search.js
* Update lib/search/versions.js
Co-authored-by: James M. Greene <JamesMGreene@github.com >
* Fix URLs
Co-authored-by: James M. Greene <JamesMGreene@github.com >
2021-01-20 15:37:42 +00:00
James M. Greene
9724f763f5
Implement discount fingerprinting without webpack ( #17337 )
2021-01-19 23:00:54 -06:00
Sarah Schneider
35b938a8f3
no longer need to precompile developer redirects now that we have the static redirects file
2021-01-19 20:51:48 -05:00
Sarah Schneider
efa186ca73
restore legacy redirect handling needed for (internal docs) links
2021-01-19 20:51:18 -05:00
Sarah Schneider
7e4286f76d
replace developer routes with static developer redirects file
2021-01-19 20:50:10 -05:00
Sarah Schneider
d060fddc6f
Merge branch 'main' of github.com:github/docs-internal into remove-legacy-redirects
2021-01-19 17:47:30 -05:00
Sarah Schneider
b47aaec71f
remove all the legacy redirect handling!
2021-01-19 17:44:42 -05:00
Sarah Schneider
ca395716c5
add latest GHES release to path
2021-01-19 17:44:24 -05:00
Sarah Schneider
e560fb229d
add new static file
2021-01-19 17:43:38 -05:00
Sarah Schneider
f0e9369a16
remove never used file
2021-01-19 16:50:21 -05:00
Sarah Schneider
863862dbb4
Merge branch 'main' into add-missing-path-posix-for-windows
2021-01-19 15:01:28 -05:00
Sarah Schneider
02e95f583a
change path.join to path.posix.join for Windows friendliness
2021-01-19 14:47:45 -05:00
rachmari
a8ce51cecb
Action ran graphql script"update-files"
2021-01-19 17:50:29 +00:00
Sarah Schneider
752edcfc53
use new static redirects file instead of precompiling on every server restart
2021-01-19 10:46:32 -05:00
Sarah Schneider
a92789ab73
turn static routes file into static redirects file
2021-01-19 10:46:04 -05: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
github-openapi-bot
198a6bd119
Updating OpenAPI descriptions ( #17324 )
...
* Updating OpenAPI descriptions
* Add decorated OpenAPI schema files
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com >
2021-01-18 09:39:56 +00:00
Sarah Schneider
ba661d65b7
do not create this redirect for deprecated enterprise versions
2021-01-15 15:32:23 -05:00
Sarah Schneider
36c3b108b2
Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper
2021-01-15 11:06:16 -05:00
Sarah Schneider
a8470e9034
remove unnecessary redirect (cuts down on about 18k redirects)
2021-01-15 11:05:48 -05:00
Sarah Schneider
9ca9acd286
add comment to FPT in all-versions
2021-01-15 10:53:44 -05:00
Sarah Schneider
3ff1bfca5a
account for early access
2021-01-15 10:49:12 -05:00
Sarah Schneider
51da7a9749
few tweaks
2021-01-15 10:11:17 -05:00
Sarah Schneider
4d4acd39ca
Merge branch 'remove-fpt' of github.com:github/docs-internal into remove-fpt-helper
2021-01-15 09:58:18 -05:00
Sarah Schneider
308e62616d
use path.join instead of string interpolation for consistency
2021-01-15 09:56:52 -05:00
Sarah Schneider
16c3fd56e0
go back to using path.join
2021-01-15 09:50:23 -05:00
Sarah Schneider
b4690547a7
remove no-longer-needed feature flag
2021-01-15 09:42:29 -05:00