Daniel Lo Nigro
d457201862
Upgrade to Jekyll 3
Full list of changes is at https://jekyllrb.com/docs/upgrading/2-to-3/ . The tl;dr of it is:
- Relative permalinks were removed, so all the files in the `docs` subdirectory need their permalink to be prefixed with `docs/`
- `post` and `page` types were renamed to `posts` and `pages` respectively
- `jekyll-paginate`, `pygments` and `redcarpet` are all now optional, so I needed to explicitly add it to the Gemfile. Jekyll now uses `rouge` rather than `pygments` for syntax highlighting, but rouge does not support highlighting individual lines (`hl_lines`) so we need to continue using Pygments.
- Layout metadata (eg. `sectionid`) is now on a `layout` variable rather than `page`
Tested the following pages and confirmed that they all work:
- "Docs" link (getting started page): http://127.0.0.1:4000/react/docs/getting-started.html
- Downloads: http://127.0.0.1:4000/react/downloads.html
- Tutorial: http://127.0.0.1:4000/react/docs/tutorial.html
- A few pages under the "docs" subdirectory, to confirm they're working properly:
- http://127.0.0.1:4000/react/docs/addons.html
- http://127.0.0.1:4000/react/docs/why-react.html
- http://127.0.0.1:4000/react/docs/create-fragment.html
- A few tips:
- http://127.0.0.1:4000/react/tips/false-in-jsx.html
- http://127.0.0.1:4000/react/tips/style-props-value-px.html
- Non-English versions of the page:
- http://127.0.0.1:4000/react/docs/getting-started-it-IT.html
- http://127.0.0.1:4000/react/docs/getting-started-ja-JP.html
9 years ago
Adam Stankiewicz
7351a3e873
Document stateless components in formal types
9 years ago
zwhitchcox
926f17219c
Update ref-10-glossary.md
9 years ago
Jim
029b4ad70e
Added info (example+doc) about react with webcomponents
10 years ago
Jim
33cd980f0e
React -> ReactDOM for render() and findDOMNode()
9 years ago
Andreas Savvides
d93d35887b
Use same type of markdown as everywhere else for Glossary
9 years ago
Andres Kalle
25104d6a52
Typo fix
10 years ago
Chase Adams
ba31b9644d
Change object typo to objects
10 years ago
Andreas
662773a2b4
Minor space change to be in line with coding style everywhere else
10 years ago
Julen Ruiz Aizpuru
3ebec4b55b
Docs: do not render components to `document.body`
Rendering to `document.body` in the examples is conveniently short, but it can
be misleading at the same time, especially for newcomers.
While it's possible to render React components to `document.body`, any 3rd
party scripts can also mess up with it, and it can have unintended consequences
and be source of difficult-to-trace bugs.
10 years ago
Jamison Dance
06f7fd7c5d
Fix list formatting in glossary
10 years ago
Rick Beerendonk
a7aad17d87
Update ref-09-glossary.md
Minor grammatical fix.
10 years ago
João Valente
404c583bb5
Update ref-09-glossary.md
10 years ago
Paul O’Shannessy
a0a4b58af4
[docs] Glossary
Pulled in https://gist.github.com/sebmarkbage/fcb1b6ab493b0c77d589
mostly verbatim
10 years ago