Skip to content

Commit

Permalink
rename default -> classic
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey committed May 6, 2019
1 parent ba448e5 commit 8605b05
Show file tree
Hide file tree
Showing 15 changed files with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docusaurus/preset-default",
"name": "@docusaurus/preset-classic",
"version": "2.0.0-alpha.13",
"description": "Preset for default Docusaurus",
"description": "Preset for classic Docusaurus",
"main": "src/index.js",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = function preset(context, opts = {}) {
return {
themes: [
{
name: '@docusaurus/theme-default',
name: '@docusaurus/theme-classic',
},
],
plugins: [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@docusaurus/theme-default",
"name": "@docusaurus/theme-classic",
"version": "2.0.0-alpha.13",
"description": "Default theme for Docusaurus",
"description": "Classic theme for Docusaurus",
"main": "src/index.js",
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ class DocusaurusThemeDefault {
}

getName() {
return 'docusaurus-theme-default';
return 'docusaurus-theme-classic';
}

configureWebpack() {
return {
resolve: {
alias: {
'@theme/Footer': path.resolve(__dirname, './theme/Footer'),
'@theme/Layout': path.resolve(__dirname, './theme/Layout'),
'@theme/Navbar': path.resolve(__dirname, './theme/Navbar'),
'@theme/NotFound': path.resolve(__dirname, './theme/NotFound'),
'@theme/Search': path.resolve(__dirname, './theme/Search'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = function preset(context, opts = {}) {
return {
themes: [
{
name: '@docusaurus/theme-default',
name: '@docusaurus/theme-classic',
options: opts.test,
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Object {
],
"themes": Array [
Object {
"name": "@docusaurus/theme-default",
"name": "@docusaurus/theme-classic",
"options": undefined,
},
],
Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = {
},
presets: [
[
'@docusaurus/preset-default',
'@docusaurus/preset-classic',
{
docs: {
path: 'docs',
Expand Down
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@docusaurus/core": "^2.0.0-alpha.13",
"@docusaurus/preset-default": "^2.0.0-alpha.13",
"@docusaurus/preset-classic": "^2.0.0-alpha.13",
"classnames": "^2.2.6",
"react": "^16.8.4",
"react-dom": "^16.8.4"
Expand Down

0 comments on commit 8605b05

Please sign in to comment.