Commit Graph

39 Commits

Author SHA1 Message Date
Soichiro Miki
2534424ec6 fix: Stop SmartyPants from altering TerminalBlock commands (like --save-dev to —save-dev) (#8146)
* Skip smartypants on TerminalBlock

* Improve TerminalBlock HTML tags

* Remove unnecessary TerminalBlock escapes from docs

* Bump DISK_CACHE_BREAKER
2025-11-15 12:47:29 +09:00
lauren
bd03b86c02 Update copyright on all files (#7992)
* Add copyright script

Copied over our copyright script from the react repo. I made a small fix to handle shebangs.

* Update copyright on all files

Run the script.
2025-09-18 14:42:36 -04:00
wnhlee
315cb7a38a fix wrong quotes around inline codes (#6523)
* fix wrong way quotes

* bump up to clear mdx cache
2024-01-07 11:06:41 -05:00
Dan Abramov
dd65dcac3b Move beta to top level 2023-03-18 22:35:53 +00:00
dan
4c2503a83e Move the old site to another repo (#5739)
* Delete the old site from this repo

* Remove old GH workflow

* Remove other files
2023-03-18 22:28:17 +00:00
Strek
cd1b0dfed9 Changed the version generation script to update vercel.json instead of _redirects (#4136)
* Changed the version generation script to update vercel.json instead of _redirects

* Fix prettier failures

* Expected to return a value at the end of async function 'writeRedirectsFile'

* Add same script for beta as well

* Fixes review comments

* Fixes formatting in old site
2022-01-18 17:31:17 +00:00
Eric Cheng
4cd92f8353 chore: remove unused dep to fix lint warning (#4115) 2021-12-01 09:01:50 +05:30
Brian Vaughn
17eae3952d Fix "master" to "main" renaming mistakes (#3770) 2021-07-06 20:46:10 -04:00
Brian Vaughn
d456dfbd29 Update docs and config to replace "master" with "main" branch
https://github.com/facebook/react/issues/21767
2021-06-29 13:35:55 -04:00
Dan Abramov
02df22a20f Fix redirects (#3516) 2021-02-10 03:40:26 +00:00
Vladimir Razuvaev
81bfee964d Fix issues on Windows (#3213)
* Upgrade gatsby-remark-code-repls

* fix path issue on Windows

Gatsby uses `slash` to normalize paths. Because of this `path.join` causes an issue on Windows
2020-08-19 14:12:35 -04:00
Brian Vaughn
3e4f2687c6 Update copyright headers (#3086)
Added and updated copyright headers.

Added some missing Flow types.

Removed an invalid prop-types import.
2020-07-07 10:35:57 -04:00
Fran Zekan
91ffdb0812 Upgrade to Node 12 LTS (#2831)
* Upgrade to node 12 LTS

* Run prettier
2020-03-14 13:24:39 +00:00
Soichiro Miki
16515ce4b9 Replace keys when inserting style/script tags 2019-02-07 01:11:43 +09:00
Soichiro Miki
e74a555db7 Implement custom-id syntax on headings 2019-02-07 01:11:43 +09:00
Soichiro Miki
add50079b1 Port external gatsby-remark-autolink-headers plugin 2019-02-07 00:33:31 +09:00
Dustin Schau
96398fd271 fix: attempt to fix windows issues with example code snippets (#1385)
This PR may (!?) fix the issue with windows support the GraphQL query
not running. Will need to be validated by someone on Windows, but this
_seems_ like it'll work.
2018-11-09 17:54:54 +00:00
Michał Gołębiowski-Owczarek
06a8850b2f HTTPS-ify lots of URLs, update some to their newer homes (#1157)
This matters for user security.

I didn't touch blog posts & pages related to past conferences.

The `content/docs` could be HTTPS-ified as well but it contains lots of HTTP
links so maybe that'd be best done in a separate PR.
2018-10-05 14:39:12 -07:00
Dustin Schau
251ef1e752 fix: fix the parent node issue 🎉 2018-09-28 17:59:06 -05:00
Dustin Schau
d83238caf0 feat: get hot reloading working for js code snippets 2018-09-28 14:52:17 -05:00
Dustin Schau
fc0ef96fb6 chore: minor tweaks and run prettier 2018-09-28 14:29:44 -05:00
Dustin Schau
9d6015a871 fix: refactor plugin to use source-filesystem and onCreateNode 2018-09-28 14:25:10 -05:00
Alexander Nanberg
71b03486c0 Upgrade to Gatsby v2 (#1104)
* Upgrade to Gatsby v2

* Remove unnecessary polyfills since gatsby already provides them

* Move global styles to gatsby-browser

* Add fb comment and convert to cjs

* Revert to use pageQuery again

* Add back html.js

* Update dependencies

* Move TitleAndMetaTags

* Replace glamor/reset with normalize.css which fixes style order in prod

* Prettier formatting

* Remove unused types

* Remove old layout

* Fix versions link

* Update deps

* Update deps

* Remove hack since it's no longer needed

* Update dependencies

* Fix build error

* Fix prettier config resolution

* Update gatsby

* Remove custom onCreatePage logic

* Update dependencies

* Fix build

* Update dependencies

* prettier formatting

* update dependencies

* add custom babel config for flow

* upgrade dependencies

* update dependencies

* use stable gatsby release
2018-09-19 13:11:19 +01:00
Brian Vaughn
88bf29d3f3 Added 16.3 changelog to version links 2018-04-15 08:00:04 -07:00
Brian Vaughn
6c094ab192 Minor tidying up of the gatsby-transformer-versions-yaml plugin 2018-04-14 10:15:17 -07:00
Brian Vaughn
48a92c592e Moved versions control into versions.yml and Gatsby plug-in 2018-04-13 13:42:50 -07:00
Brian Vaughn
bb55d1083b Re-ran Prettier after version bump 2017-12-21 09:22:05 -08:00
Brian Vaughn
77f22ea5c8 WIP upgrade to new gatsby-remark-code-repls 2017-11-09 18:10:40 +00:00
Brian Vaughn
a3e7c8b7ed Added gatsby-remark-babel-repl-link plug-in 2017-11-07 11:35:35 +00:00
Brian Vaughn
d743b1c6ed gatsby-remark-codepen-examples supports 'directory' option 2017-11-07 11:03:49 +00:00
Brian Vaughn
17a126e5e1 Replaced console.log with console.error 2017-11-07 10:36:23 +00:00
Brian Vaughn
3f6854d081 Changed Codepen link protocol from 'codepen:' to 'codepen://' for improved clarity 2017-11-07 10:35:49 +00:00
Brian Vaughn
b9616f1bdf Added check to ensure linked Codepen file exists 2017-11-06 23:23:45 +00:00
Brian Vaughn
6fd0d7950e Added custom remark transform for Codepen example links 2017-11-06 23:00:26 +00:00
Brian Vaughn
13c0e48b34 Merge branch 'refactor-index' 2017-11-06 13:01:22 +00:00
Brian Vaughn
f5aaf4c1b4 Moved home page example code to /content/home
Now examples are trasnformed to GraphQL during build and assembled by the index template. This makes them easier to edit and tie in with their associated markdown description.
2017-11-06 13:01:13 +00:00
Brian Vaughn
867022ab16 Make gatsby-source-react-error-codes plugin fail harder 2017-10-26 12:32:01 -07:00
Brian Vaughn
8d54bd01a3 Prettier formatted flow-typed and plugins dirs 2017-10-05 08:08:22 -07:00
Brian Vaughn
9d9b2021ed Migrated Gatsby website source and config 2017-10-04 14:56:10 -07:00