| #
fccf9c8c |
| 05-Oct-2021 |
Cedric van Putten <[email protected]> |
[docs] Simplify markdown layout system (#14636)
* [docs] Add new version of the mdx headings plugin
This plugin is uncoupled from the existing frontmatter change in the custom webpack loader. It
[docs] Simplify markdown layout system (#14636)
* [docs] Add new version of the mdx headings plugin
This plugin is uncoupled from the existing frontmatter change in the custom webpack loader. It also has a fix for mixed children content type, and it can pipe through the ID from plugins like remark-slug
* [docs] Move heading manager over to the new plugin
* [docs] Move document page higher order component to simple component
* [docs] Add empty array to all heading manager tests
* [docs] Fix linting issue in remark export headings
* [docs] Fix esbuild warning and add minimizer
* [docs] Remove esbuild minimizer to clear up memory
* [docs] Replace or with nullish coalescing
Co-authored-by: James Ide <[email protected]>
* [docs] Rename documentation elements without with prefix
* [docs] Disable linting all links in docs workflow
Co-authored-by: James Ide <[email protected]>
show more ...
|
| #
38fcf40f |
| 02-Aug-2021 |
James Ide <[email protected]> |
[docs] Replace expo.io references with expo.dev (#13876)
Why: expo.io and most subdomains are deprecated and the docs have moved over to expo.dev. The docs had several references to old expo.io doma
[docs] Replace expo.io references with expo.dev (#13876)
Why: expo.io and most subdomains are deprecated and the docs have moved over to expo.dev. The docs had several references to old expo.io domains like Snack, the main site, and the docs themselves. We want to update these links for consistency.
Additionally, the canonical links had an extra "/" in them, which is correct to remove since `pathname` includes a leading "/".
How: searched for all references to forums.expo.io, docs.expo.io, blog.expo.io, and snack.expo.io and updated them to their *.expo.dev counterparts. Then searched for expo.io and went through the remaining results to decide if they should be changed or not. One example of a domain I left alone was auth.expo.io, which is the domain we still use in expo-auth-session.
Test Plan: `yarn test` to make sure tests pass. `yarn dev` to load the site and browse around. Specifically made sure Snack examples worked, links to various Expo pages used the .dev domain, and checked the `rel=canonical` link of the page to make sure it didn't have two slashes.
show more ...
|
| #
586106d6 |
| 29-Sep-2020 |
Bartłomiej Klocek <[email protected]> |
[docs] Migrate codebase to TypeScript (#10324)
* Configure Next.js to use TypeScript
* Migrate 'docs/common' to TypeScript
* Migrate some components to TS
* General components migrated
*
[docs] Migrate codebase to TypeScript (#10324)
* Configure Next.js to use TypeScript
* Migrate 'docs/common' to TypeScript
* Migrate some components to TS
* General components migrated
* Migrate base components
* Migrate icons
* Migrate plugins
* Tape patch window globals
* Migrate _app
* Migrate global-styles
* Migrate _error and _document
* Fixes
* Exclude static files
* Add slugger types, remove ts-ignores
* Improve headingManger typing
* Rebase, use React.FC where possible, prettier fixes
* Add ESLint config
* tsc watch script, updated test snapshots
* Apply code review suggestions
Apply suggestions
* [docs] Enable TypeScript 'strict' mode (#10380)
* Resolved TSC strict errors
* Fix heading metadata typing
* Simplify version handling
* Enable 'noImplicitAny'
* Update icons
* Add mdx-js types
show more ...
|