-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrated website to docusaurus 2 (#47)
Summary: - Live version: https://build.ozgunbal.now.sh/ - I only removed github star counts below `Get Started` button at v1: ![image](https://user-images.githubusercontent.com/16080180/66868638-60d9b200-efa6-11e9-9e58-a8638b93d04e.png) It can be added if it's necessary but IMHO, doesn't look good with new theme. - Hey, yangshun and endiliey . You can check it when you're available. - This PR related to facebookarchive/profilo#46 and facebook/docusaurus#1834 Pull Request resolved: facebookarchive/profilo#47 Differential Revision: D18064160 Pulled By: BurntBrunch fbshipit-source-id: 70b67a519455f3072246373661966e0bd6f84c36
- Loading branch information
1 parent
b2c7d46
commit 5981d3e
Showing
17 changed files
with
9,090 additions
and
1,626 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
.DS_Store | ||
|
||
/build | ||
# dependencies | ||
/node_modules | ||
/translated_docs | ||
# production | ||
/build | ||
# generated files | ||
.docusaurus | ||
.cache-loader | ||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
/i18n/* | ||
!/i18n/en.json |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
/** | ||
* Copyright (c) 2017-present, Facebook, Inc. | ||
* | ||
* This source code is licensed under the MIT license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
module.exports = { | ||
title: "Profilo", | ||
tagline: "An Android performance library", | ||
url: "https://facebookincubator.github.io", | ||
baseUrl: "/profilo/", | ||
favicon: "img/favicon.png", | ||
organizationName: "facebookincubator", // Usually your GitHub org/user name. | ||
projectName: "profilo", // Usually your repo name. | ||
themeConfig: { | ||
navbar: { | ||
title: "Profilo", | ||
logo: { | ||
alt: "Profilo Logo", | ||
src: "img/profilo_logo_small.png" | ||
}, | ||
links: [ | ||
{ to: "docs/getting-started", label: "Docs", position: "left" }, | ||
{ | ||
href: "https://github.com/facebookincubator/profilo", | ||
label: "GitHub", | ||
position: "right" | ||
} | ||
] | ||
}, | ||
footer: { | ||
style: "dark", | ||
logo: { | ||
alt: "Facebook Open Source Logo", | ||
src: "https://docusaurus.io/img/oss_logo.png" | ||
}, | ||
copyright: `Copyright \u00A9 ${new Date().getFullYear()} Facebook, Inc. Built with Docusaurus.` | ||
} | ||
}, | ||
presets: [ | ||
[ | ||
"@docusaurus/preset-classic", | ||
{ | ||
docs: { | ||
path: "../docs", | ||
sidebarPath: require.resolve("./sidebars.js") | ||
}, | ||
theme: { | ||
customCss: require.resolve("./src/css/custom.css") | ||
} | ||
} | ||
] | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
{ | ||
"scripts": { | ||
"examples": "docusaurus-examples", | ||
"start": "docusaurus-start", | ||
"build": "docusaurus-build", | ||
"publish-gh-pages": "docusaurus-publish", | ||
"write-translations": "docusaurus-write-translations", | ||
"version": "docusaurus-version", | ||
"rename-version": "docusaurus-rename-version" | ||
"start": "docusaurus start", | ||
"build": "docusaurus build", | ||
"swizzle": "docusaurus swizzle", | ||
"deploy": "docusaurus deploy" | ||
}, | ||
"devDependencies": { | ||
"docusaurus": "^1.0.9" | ||
"dependencies": { | ||
"@docusaurus/core": "^2.0.0-alpha.27", | ||
"@docusaurus/preset-classic": "^2.0.0-alpha.27", | ||
"classnames": "^2.2.6", | ||
"react": "^16.10.2", | ||
"react-dom": "^16.10.2" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.