Skip to content

Commit

Permalink
Update Docusaurus to the latest version (#692)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #692

Update to alpha 61 to enable autohandling root links without explicit `useBaseUrl()` calls

Reviewed By: muraziz

Differential Revision: D23168689

fbshipit-source-id: 5f292de607c0ed48bb31a77daf09cf28be6e25f4
  • Loading branch information
colriot authored and facebook-github-bot committed Sep 18, 2020
1 parent e22f6c5 commit 6db6005
Show file tree
Hide file tree
Showing 4 changed files with 1,278 additions and 350 deletions.
2 changes: 1 addition & 1 deletion website/docs/recycler-collection-component.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can learn more about how to create sections by checking out some of the [bui

### Horizontal lists

`RecyclerCollectionComponent` takes a `RecyclerConfiguration` prop for determining what layout manager to use. By default, if this prop is not specified, it uses an implementation of `RecyclerConfiguration` called `ListRecyclerConfiguration` which will create a [LinearLayoutManager]() with vertical orientation to be used by the `RecyclerCollectionComponent`.
`RecyclerCollectionComponent` takes a `RecyclerConfiguration` prop for determining what layout manager to use. By default, if this prop is not specified, it uses an implementation of `RecyclerConfiguration` called `ListRecyclerConfiguration` which will create a LinearLayoutManager with vertical orientation to be used by the `RecyclerCollectionComponent`.

For a horizontal layout, you pass a `ListRecyclerConfiguration` with a horizontal orientation:

Expand Down
10 changes: 5 additions & 5 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ module.exports = {
alt: 'Litho Logo',
src: 'images/logo.svg',
},
links: [
items: [
{
to: 'docs/',
to: 'docs',
activeBasePath: 'docs',
label: 'Docs',
position: 'right',
},
{
href: '/javadoc/',
to: 'javadoc',
label: 'API',
position: 'right',
},
Expand Down Expand Up @@ -71,11 +71,11 @@ module.exports = {
items: [
{
label: 'Getting Started',
to: 'docs/',
to: 'docs',
},
{
label: 'API',
href: '/javadoc/',
to: 'javadoc',
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,md}\""
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.58",
"@docusaurus/preset-classic": "^2.0.0-alpha.58",
"@docusaurus/core": "^2.0.0-alpha.63",
"@docusaurus/preset-classic": "^2.0.0-alpha.63",
"clsx": "^1.1.1",
"docusaurus-plugin-internaldocs-fb": "^0.3.6",
"docusaurus-plugin-sass": "^0.1.9",
"docusaurus-plugin-sass": "^0.1.10",
"react": "^16.8.4",
"react-dom": "^16.8.4"
},
Expand Down
Loading

0 comments on commit 6db6005

Please sign in to comment.