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
2 years ago
dan
b59b64f386
[Beta] Upgrade to MDX 2 ( #5107 )
* [Beta] MDX 2
* Fix up old pages
2 years ago
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
2 years ago
dan
ccf8576ab4
[Beta] Refactor Layouts ( #4975 )
* [Beta] Refactor Layouts
* TypeScript
* oops
* Make it work for all pages
2 years ago
dan
70312ab780
[Beta] Delete dead code ( #4637 )
3 years ago
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>
3 years ago
dan
73d7d13446
[Beta] Move /reference -> /apis ( #4294 )
* [Beta] Move /reference -> /apis
* come on
* Update CONTRIBUTING.md
* Update sidebarReference.json
3 years ago
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 43dbe9ed3fba10b03a90d989cf90b4af4efd2212.
* Revert "dry run prettier"
This reverts commit b62948042cd8f8addf8ee23110de4096a8630926.
* Revert "dry run prettier"
This reverts commit 382f9a4691dee04673e461b3eda0d52c1aefda3b.
* Revert "Reverse merge main to branch"
This reverts commit 43667eaf29b9ab4266397251c8d781f611dcdcf8.
* [warn] jsxBracketSameLine is deprecated so replaced it to bracketSameLine
3 years ago
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
3 years ago
Alexey Pyltsyn
5c1f51316f
Add support for Unicode chars when detect headings IDs ( #4086 )
3 years ago
Alexey Pyltsyn
e206d8cdf1
Set page layout dynamically ( #4084 )
3 years ago
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
3 years ago
Rachel Nabors
926dbeeb7c
Re-add public folder
3 years ago
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>
3 years ago