Commit Graph

14 Commits

Author SHA1 Message Date
dan
54e6276f2f [Beta] Fix header IDs (#5128)
* Fix heading scripts

* [Beta] Fix header ID generation

* Fix headers

* Remove the Convention block breaking TOC

* Fix message
2022-09-28 19:05:10 +01:00
dan
b59b64f386 [Beta] Upgrade to MDX 2 (#5107)
* [Beta] MDX 2

* Fix up old pages
2022-09-24 17:37:15 +01:00
dan
6e21a2e5a8 [Beta] Move from MDX loader to getStaticPaths (#4990)
* Move Markdown from src/pages to src/content

* Use getStaticProps

* Fix Fast Refresh

* Clean up

* rm unused

* Fixes
2022-09-05 22:42:29 +01:00
dan
ccf8576ab4 [Beta] Refactor Layouts (#4975)
* [Beta] Refactor Layouts

* TypeScript

* oops

* Make it work for all pages
2022-09-04 23:18:03 +01:00
dan
70312ab780 [Beta] Delete dead code (#4637) 2022-05-07 17:55:18 +01:00
Strek
71b743a2a6 Generate Ids when there are none in local development (#4304)
* Generate Ids when there are no headings

* Tweak code

Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
2022-02-07 19:08:41 +00:00
dan
73d7d13446 [Beta] Move /reference -> /apis (#4294)
* [Beta] Move /reference -> /apis

* come on

* Update CONTRIBUTING.md

* Update sidebarReference.json
2022-02-04 17:42:27 +00:00
Strek
49a552c1c1 Fix prettier CI and add it to pre commit (#4100)
* Add prettier before commit and during CI

* Add workflow

* Reverse merge main to branch

* dry run prettier

* dry run prettier

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine

* Revert "[warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine"

This reverts commit 43dbe9ed3f.

* Revert "dry run prettier"

This reverts commit b62948042c.

* Revert "dry run prettier"

This reverts commit 382f9a4691.

* Revert "Reverse merge main to branch"

This reverts commit 43667eaf29.

* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine
2021-11-15 18:23:25 +00:00
Titus
4022f9774b Use custom ID format that works better with MDX 2 (#4105)
* Fix two unicode whitespaces which are invalid

* Use custom ID format that works better with MDX 2

* Fix sebastian

* remark-slug as dev dep
2021-11-15 04:20:32 +00:00
Alexey Pyltsyn
5c1f51316f Add support for Unicode chars when detect headings IDs (#4086) 2021-11-11 12:35:22 +00:00
Alexey Pyltsyn
e206d8cdf1 Set page layout dynamically (#4084) 2021-11-11 00:27:46 +00:00
harish-sethuraman
8333b6d127 Fixes wrong breadcrumb for 404 page (#4074)
* Fixes wrong breadcrumb for 404 page

* Change Home as default layout

* Add layout Learn to the pages inside learn
2021-11-10 18:10:20 +00:00
Rachel Nabors
926dbeeb7c Re-add public folder 2021-10-28 22:27:24 +01:00
Rachel Nabors
981db3397e Initial check-in of new React docs and website
Co-authored-by: Dan Abramov <dan.abramov@me.com>
Co-authored-by: Sylwia Vargas <sylwia.vargas@gmail.com>
Co-authored-by: Dan Lebowitz <dan.lebo@me.com>
Co-authored-by: Razvan Gradinar <grazvan@fb.com>
Co-authored-by: Jared Palmer <jared@palmer.net>
Co-authored-by: Dane Grant <danecando@gmail.com>
Co-authored-by: Dustin Goodman <dustin.s.goodman@gmail.com>
Co-authored-by: Rick Hanlon <rickhanlonii@gmail.com>
Co-authored-by: Maggie Appleton <maggie.fm.appleton@gmail.com>
Co-authored-by: Alex Moldovan <alex.n.moldovan@gmail.com>
Co-authored-by: Ives van Hoorne <ives.v.h@gmail.com>
Co-authored-by: Brian Vaughn <bvaughn@fb.com>
Co-authored-by: Dmitri Pavlutin <dpavlutin@gmail.com>
2021-10-28 21:33:41 +01:00