1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Commit Graph

264 Commits

Author SHA1 Message Date
Grace Park
5bf7cca35d remove liquid tags (#20937) 2021-08-18 15:52:44 +00:00
Amy Burns
acabc37604 [MERGE 8/11 @ 8:45am PT] Codespaces Megabranch (#20378)
Adding Codespaces docs
2021-08-11 11:46:35 -04:00
Robert Sese
a9571cb7b1 Make child param IDs unique (#20630)
* Make child param IDs unique

* Use span instead of h4

* Add bottom margin
2021-08-04 17:00:11 +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
Grace Park
8ba413cabc React Cleanup: Documentation (#20517)
* initial documentation changes

* editing layouts terminology

* update to match other files

* move javascripts to components/lib

* fix: dockerfile

* update based on Mikes updates to the javascripts directory

* update components/README.md

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-07-27 09:07:18 -07:00
Grace Park
388e866e15 Delete rest toc item (#20492)
* delete graphql input object/object and rest toc item

* add back input object and object

* Update graphql-object.html
2021-07-26 11:13:56 -07:00
Grace Park
e58570e28d Part 4: React Cleanup after new 404/500 pages (#20465)
* remove 404 and 500 layouts

* removing unneeded liquid tags

* remove unnecessary includes

* remove javascripts

* adding liquid tags and update Dockerfile

* add tool-switcher
2021-07-22 08:59:34 -07:00
Grace Park
27aa5d92ea Remove FEATURE_NEXTJS Flag Part 1 (#20176)
* cleanup FEATURE_NEXTJS

* fixing some server tests

* updating article a for server tests

* update h2 to h4 map topic tests

* data off on TOCs

* updating dropdown article versions links

* Update so markdown renders in intros

* updating typo and all server tests are now passing

* remove nextjs feature flag

* head.js tests pass

* updating article-version-picker

* remove nextjs feature flag browser test

* update header.js tests

* fix page-titles.js test

* fix deprecated-enterprise versions

* adding early access

* testing

* getting childTocItem

* fixing table of contents to show child toc items

* updated to 2 because the sidebar article also has the same link

* remove comment

* updating pick

* Update TocLandingContext.tsx

* update package.json and change className to h4 for h2

* updating with mikes feedback

* remove a.active test

* React clean up: Delete unnecessary layouts/includes Part 2 (#20143)

* Delete unnecessary layouts

* setting back tests failing :(

* update layouts

* delete unnecessary includes

* remove github-ae-release-notes and updating layouts

* remove a.active test
2021-07-16 14:54:25 -07:00
Sarah Schneider
8cb3f02fd7 simplify conditionals (hat tip @mattpolard) 2021-06-24 12:38:47 -04:00
Sarah Schneider
a025b4cf5f fix bugs in old layouts 2021-06-23 12:54:24 -04:00
Sarah Schneider
15e33f05e7 Revert "Revert "Fix homepage versions dropdown" (#20087)"
This reverts commit f9f0b2ce86.
2021-06-23 10:12:36 -04:00
Matt Pollard
f9f0b2ce86 Revert "Fix homepage versions dropdown" (#20087) 2021-06-23 09:11:51 +02:00
Sarah Schneider
5e1b9fc39d update old layouts that use the homepage version (these layouts are still needed for tests) 2021-06-22 15:16:22 -04:00
Lucas Costi
572a05c123 Fix REST decorator for false default params (#19883) 2021-06-15 01:01:10 +00:00
Grace Park
3f248976ad Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 18:08:33 -07:00
Felicity Chapman
23b0b84111 Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Grace Park
c8ceeb35f2 Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 09:37:13 -07:00
Grace Park
e0c6211b65 adding more styling and graphql changes - should be ready to run script 2021-06-10 09:32:16 -07:00
Mike Surowiec
a88e99c83a Reactify: release notes (#19799)
* reactify release-notes pages

* update GHAE/ES react release notes to not rely on javascripts/release-notes.js
2021-06-09 20:44:32 +00:00
Sarah Edwards
337b947c94 change CLI to GitHub CLI on tool selector (#19791) 2021-06-08 20:12:01 +00:00
Kevin Heis
26a8e61d3a Update survey to use React/TS (#19728)
* Update survey to use React/TS

* Working survey form in react land

* A little cleanup

* Update Search.tsx

* Update Survey.tsx

* Remove token field from schema entirely, just let it fail validation

* Update events.js

* Update survey.html

* use Link component

* Use enum for state

* Update old to match new
2021-06-08 17:34:45 +00:00
Mike Surowiec
37499b80d2 Reactify article page rendering (#19679)
* feat: reactify article page rendering

* feat: add LearningTrackNav

* fix: use plain text title for article
2021-06-07 22:56:33 +00:00
Grace Park
e8c6d272d0 Merge branch 'main' into localization-grace 2021-06-07 13:19:03 -07:00
Kevin Heis
516106b7c5 Rename "helpfulness" to survey (#19727) 2021-06-04 12:22:31 -07:00
Sarah Schneider
25448712f8 Merge branch 'middleware-perf-part2' of github.com:github/docs-internal into middleware-perf 2021-06-04 13:58:50 -04:00
Sarah Edwards
340f663243 Add support for cURL in application selector (#19645) 2021-06-03 14:18:19 -07:00
Grace Park
a3e36c0d6a Merge branch 'main' into localization-grace 2021-06-01 15:45:42 -07:00
Sarah Schneider
0909729193 change the banner text depending on whether the currentWeek prop is set to true or false in the YAML 2021-05-28 11:33:06 -04:00
Sarah Schneider
4b35b4987b Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-28 09:23:56 -04:00
Grace Park
da67d8573c Update header-notification.html
Updating to only show article redirect on en pages
2021-05-24 11:41:20 -07:00
Sarah Schneider
eb6ad755e1 render the header-level version picker on release notes 2021-05-24 12:40:27 -04:00
Sarah Schneider
221de41388 more merge updates 2021-05-24 12:10:58 -04:00
Sarah Schneider
ff718d7fc1 Merge branch 'main' of github.com:github/docs-internal into github-ae-release-notes 2021-05-24 10:00:07 -04:00
Grace Park
4857490339 Adding user language redirect notice 2021-05-22 14:52:48 -07:00
Sarah Schneider
3727c70b5e rename vars for clarity 2021-05-21 16:12:33 -04:00
Sarah Schneider
028af1cefb change approach to generic TOC include files 2021-05-21 12:03:23 -04:00
Sarah Schneider
5978edb47b remove feature flagged code 2021-05-20 10:01:33 -04:00
Sarah Schneider
b4ab2c52b6 delete no longer used files 2021-05-20 10:01:08 -04:00
Sarah Schneider
48638adb5f do not show hidden page in product sidebar 2021-05-19 11:58:08 -04:00
Sarah Schneider
6468e85410 use rendered titles instead of raw titles 2021-05-19 10:40:58 -04:00
Sarah Schneider
4b5a741d03 replicate changes from #18749 in the new site tree sidebar layout 2021-05-19 08:44:14 -04:00
Sarah Schneider
5f8c945d04 update Primer class 2021-05-18 20:43:35 -04:00
Kevin Heis
c3cc0ba70c Visually reflect structure of articles and map topics within categories displayed in "All docs" section of landing pages (#19377) 2021-05-18 14:14:31 +00:00
Lucas Costi
aae6103f68 REST: Render non-requestBody parameter defaults (#19352)
Co-authored-by: Leona B. Campbell <3880403+runleonarun@users.noreply.github.com>
2021-05-17 18:54:55 +00:00
Kevin Heis
eb23bfbefa Remove breadcrumb whitespace (#19364) 2021-05-17 08:50:24 -07:00
Grace Park
2f832b6878 Changing Sidebar Style Changes (#6391)
This PR is updating the sidebar so that the current active page sidebar is viewable via bold and the marker.
2021-05-13 17:47:31 +00:00
Kevin Heis
08ec46d0d1 Render color mode settings from github/github cookie (#19275)
* Add color mode selector in footer

* Interpret color mode from cookie

* Update render-page.js

* Delete color-mode.js

* Update render-page.js

* Make this more resilient to HTML tag changes

* Update scroll-button.scss
2021-05-13 14:45:11 +00:00
Rachael Sewell
e867442ebf remove left column github ae release notes (#19282) 2021-05-12 19:02:20 -07:00
Sarah Schneider
a5d52dcef0 Add landing page for GitHub Enterprise (#19041) 2021-05-12 11:55:32 +00:00
Mike Surowiec
e716172ba6 Merge branch 'main' into sponsors-react-3 2021-05-11 13:41:15 -07:00