1
0
mirror of synced 2025-12-31 15:04:15 -05:00
Commit Graph

75 Commits

Author SHA1 Message Date
Peter Bengtsson
f4b276d0d2 Get hovercard info from pageinfo API (#36542) 2023-04-24 17:04:10 +00:00
Peter Bengtsson
218c866805 Enable hover preview cards for all docsets (#36078)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2023-04-13 17:21:39 +00:00
Felicity Chapman
a829fc75c1 Add README images to internal-docs folder (#36346) 2023-04-12 16:31:32 +00:00
Peter Bengtsson
8d13af951e Set correct scope attributes on rowheaders tables (#35999)
Co-authored-by: Rachael Sewell <rachmari@github.com>
2023-03-30 11:41:33 +00:00
Peter Bengtsson
ec85c1d228 AUTOTITLE on anchor links should error (#35823) 2023-03-27 19:42:26 +00:00
Peter Bengtsson
fa8551e29a hover preview cards should work on /pages/ independent of version (#35829) 2023-03-27 19:31:06 +00:00
Kevin Heis
589bf333ef Remove ver_gt and ver_lt (#35838) 2023-03-23 22:33:59 +00:00
Hector Alfaro
002a6b829d Separate out use of MD processor for wrapping images and wrapping tables (#35789) 2023-03-23 16:55:55 +00:00
Peter Bengtsson
07a3e2a48c Preview hover cards (#34702)
Co-authored-by: Grace Park <gracepark@github.com>
Co-authored-by: Joe Oak <41307427+joeoak@users.noreply.github.com>
2023-03-21 19:59:49 +00:00
Peter Bengtsson
4c220747ec Auto-convert tables to first col header (#35533) 2023-03-17 12:53:12 +00:00
Peter Bengtsson
7ead61ff01 Remove AVIF as possible dynamic format (#35185) 2023-03-01 13:01:32 +00:00
Peter Bengtsson
d19996f6a2 Default to enterprise-cloud@latest for admin links (#34983) 2023-02-22 16:33:06 +00:00
Peter Bengtsson
5c1d95560c transform <img> to <picture> (#34429) 2023-02-22 13:38:12 +00:00
Peter Bengtsson
860a7cebda Clean up rewrite-local-links for insights (#34880) 2023-02-17 21:30:33 +00:00
Peter Bengtsson
5cb5ffa5c1 fallback on failed autotitle lookups in translations (#34847) 2023-02-17 18:02:44 +00:00
Peter Bengtsson
d7b52e772d catch typos near 'AUTOTITLE' (#34493)
Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com>
2023-02-07 17:22:44 +00:00
Peter Bengtsson
acee311e5c Resolve Liquid in AUTOTITLE page titles (#34382) 2023-02-02 19:29:22 +00:00
Peter Bengtsson
2b885fce25 rewrite dotcom-only HTML links (#34248) 2023-01-30 21:00:32 +00:00
Peter Bengtsson
d566da188f correctly transform hardcoded fpt links (#34240) 2023-01-30 12:44:34 +00:00
Peter Bengtsson
49dd50b47d remove all uses of encodeEntities (#34202) 2023-01-26 20:29:04 +00:00
Peter Bengtsson
ce97d5d01e turn AUTOTITLE to actual titles (#33902) 2023-01-25 14:58:59 +00:00
Peter Bengtsson
5d52867e3d highlight.js@11.7.0 (#33895) 2023-01-11 17:28:55 +00:00
Kevin Heis
928b0dab02 Fix translation reporting (round 1!) (#33754) 2023-01-05 20:16:38 +00:00
Peter Bengtsson
e650b4cf2a remove removeNewlinesFromInlineTags from renderContent (#33586) 2023-01-03 13:50:42 +00:00
Peter Bengtsson
5c73e13291 remove cheerioObject option (#33585) 2022-12-15 18:10:56 +00:00
Peter Bengtsson
9c47ca166e speed up link checker on PR (#32992) 2022-11-28 22:10:22 +00:00
Peter Bengtsson
3d462180da optimize render of textOnly snippets (#31581)
Co-authored-by: Robert Sese <734194+rsese@users.noreply.github.com>
2022-10-11 17:52:03 +00:00
Josh Soref
b2e8a66e93 Fix liquidjs link 2022-08-25 18:31:28 -04:00
Rachael Sewell
efaf5f825d remove legacy asset plugin (#23588) 2022-07-11 14:06:53 -07:00
Peter Bengtsson
ccfe752232 don't call it an 'Error' (#28963) 2022-07-11 20:34:07 +00:00
Peter Bengtsson
46c701b863 DISABLE_REWRITE_ASSET_URLS for some Actions (#28165) 2022-06-13 08:59:16 -04:00
Robert Sese
b3b86c290d Only use English slug if one exists (#28399) 2022-06-10 19:35:24 +00:00
Peter Bengtsson
2eee72f257 parse5@7.0.0 with full ESM support (#28014) 2022-05-26 16:49:58 +00:00
Peter Bengtsson
987fef9315 correct how legacy enterprise links are rewritten (#25183)
Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2022-02-09 16:09:42 +00:00
Peter Bengtsson
40f4d6d4fc make refs with slash characters simpler (#24792) 2022-01-28 17:58:55 +00:00
Peter Bengtsson
daf6c65884 rewrite enterprise-serverl@atest links to enterprise-server@<version> (#24476)
* rewrite enterprise-server@latest links to enterprise-server@<actual>

* update test
2022-01-21 13:39:48 +00:00
Peter Bengtsson
6451382d17 lookup on links by using Set (#24469) 2022-01-20 21:03:07 +00:00
Peter Bengtsson
ae3dadfc66 cache asset images more aggressively (#23553)
* cache asset images more aggressively

* more careful about which gets the manual surrogate key

* fix rendered-content-link-checker script too

* feedbacked
2021-12-10 13:01:48 +00:00
Peter Bengtsson
0eb15bca49 optimization: hash lookup is faster than in-array check (#23079) 2021-11-23 21:44:35 +00:00
Peter Bengtsson
e8637b582b exit early in renderContent() on empty template (#22979)
Part of #1187

Co-authored-by: Octomerger Bot <63058869+Octomerger@users.noreply.github.com>
2021-11-19 04:51:12 +00:00
Lucas Costi
10ff422248 Change the copy code button to the copy octicon (#22769)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
2021-11-15 02:33:59 +00:00
Mike Surowiec
d2199e3deb Use Doctocat link header style (#21615)
* update autolinkHeadings to use Doctocat link header style

* fix header link test

* update graphql/rest rendering to use doctocat header link

* fix: miniToc issue with stray anchor

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-21 18:14:38 -04:00
Kevin Heis
29ebc555cb Add btn-primary-matte, ScrollButton, TruncateLines to storybook (#21611)
* Update create-processor.js

* Use built in semibold

* Preparing articlelist

* Add blue button to storybook

* Scope fade styles

* Add truncate component

* Add scroll button to storybook

* Update storybook.tsx

* Update DefaultLayout.tsx
2021-09-20 23:21:29 +00:00
Kevin Heis
43158e8392 Upgrade NPM packages (#21480)
* Upgrade a bunch of packages

* ...and upgrade highlightjs

* ... and ajv-formats (but not ajv)

* Revert graphql changes

* Revert "Revert graphql changes"

This reverts commit a5b8a34d52a48a7c2858415f6b1081c1d4902482.

* Update build-changelog.js

* Upgrade html-entities

* Upgrade commander, following migration guide
2021-09-13 23:31:43 +00:00
Kevin Heis
9f7c20dae8 Upgrade Primer CSS to version 17, removing marketing styles (#20965)
* Package updates

* Fix up things that look broken

* Add to utils

* Lead now just sets font size, just use f3 where needed

* Update package-lock.json

* Update index.tsx

* Delete bump-link.scss

* Update trigger-error.js

* Update components/GenericError.tsx

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>

* Update ArticlePage.tsx

* Update ActionBar.tsx

* Changes from meeting

* Found a few more monos

* Fix from a merge conflict

* Missed a few f3s

* Update SubLandingHero.tsx

* Bye gradients

* Match up breadcrumbs

* Update SubLandingHero.tsx

* Update lists.scss

Co-authored-by: Ash Guillaume <10384315+ashygee@users.noreply.github.com>
2021-08-31 14:49:39 -07:00
Kevin Heis
dc952b9dcf Upgrade minor packages (#20960)
* Upgrade minor packages

* Add dockerfile syntax back

* Update create-processor.js

* Update create-processor.js
2021-08-19 12:57:39 -07:00
Grace Park
5bf7cca35d remove liquid tags (#20937) 2021-08-18 15:52:44 +00:00
Kevin Heis
b29e37318a Remove import x statements (#20594)
* Clear out most import x

* Update rimraf use

* Move up readme blocks in scripts
2021-07-29 20:28:30 +00:00
Kevin Heis
d68dde17d1 Upgrade pipeline with env COMMONMARK=1 npm start to see new, otherwise parse current (#20508)
* Update the trim nightmare

* Update create-processor.js

* Update other packages in the rendering pipeline

* A few more updates

* Fix tables

* Update lint-files.js

* Fix copy code blocks

* Update render-content.js

* remove whitespace from liquid conditionals

* We no longer need require eslint rules

* Neat, it worked

* Revert test change

* Update create-processor.js

* Without aliases

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-07-29 14:24:26 +00:00
Mike Surowiec
9386571aa4 fix: use named export for all-versions (#20478)
* fix: use named export for all-versions

* run prettier
2021-07-22 19:29:00 +00:00