This repository has been archived by the owner on Aug 21, 2024. It is now read-only.
-
-
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.
* Moved docs to root folder * Updated documentation configurations * Temporarily removed check for release * Fixes in build commands * Fix for install failed * Restored release trigger on non pr flows only.
- Loading branch information
1 parent
cdbf3b9
commit 439d4b7
Showing
72 changed files
with
316 additions
and
290 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
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
0
packages/docs/.eslintrc.cjs β docs/.eslintrc.cjs
100755 β 100644
File renamed without changes.
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
0
packages/docs/CHANGELOG.md β docs/CHANGELOG.md
100755 β 100644
File renamed without changes.
0
packages/docs/LICENSE β docs/LICENSE
100755 β 100644
File renamed without changes.
0
packages/docs/babel.config.js β docs/babel.config.js
100755 β 100644
File renamed without changes.
0
packages/docs/docs/0_introduction.md β docs/docs/0_introduction.md
100755 β 100644
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0
packages/docs/docs/1_installation.md β docs/docs/1_installation.md
100755 β 100644
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0
packages/docs/docs/2_troubleshooting.md β docs/docs/2_troubleshooting.md
100755 β 100644
File renamed without changes.
File renamed without changes.
File renamed without changes.
0
packages/docs/docs/4_architecture.md β docs/docs/4_architecture.md
100755 β 100644
File renamed without changes.
0
packages/docs/docs/mdx_example.mdx β docs/docs/mdx_example.mdx
100755 β 100644
File renamed without changes.
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,209 @@ | ||
/** @type {import('@docusaurus/types').DocusaurusConfig} */ | ||
|
||
const commonExludePaths = [ | ||
'**/node_modules/**', | ||
'**/dist/**', | ||
'**/tests/**' | ||
]; | ||
|
||
/** | ||
* | ||
* @author Abhinav Shah | ||
* @author Hanzla Mateen | ||
*/ | ||
module.exports = { | ||
title: 'xrengine', | ||
tagline: | ||
'An end-to-end solution for hosting humans and AI in a virtual space, built on top of react, three.js and express/feathers.', | ||
url: 'https://xrfoundation.github.io', | ||
baseUrl: '/xrengine-docs/', | ||
onBrokenLinks: 'warn', | ||
onBrokenMarkdownLinks: 'warn', | ||
favicon: | ||
'https://github.com/xrfoundation/xrengine/raw/dev/xrengine%20black.png', | ||
organizationName: 'XRFoundation', // Usually your GitHub org/user name. | ||
projectName: 'xrengine-docs', // Usually your repo name. | ||
plugins: [ | ||
// [ | ||
// 'docusaurus-plugin-typedoc', | ||
// { | ||
// id: 'client', | ||
// entryPoints: ['../packages/client/src/main.tsx'], | ||
// entryPointStrategy: 'expand', | ||
// tsconfig: '../packages/client/tsconfig.json', | ||
// exclude: [ | ||
// ...commonExludePaths, | ||
// '../packages/client/vite.config.js', | ||
// '../packages/client/jest.config.js', | ||
// '../packages/client/public/**', | ||
// '../packages/client/lib/**', | ||
// '../packages/client/scripts/**' | ||
// ], | ||
// out: 'generated/client', | ||
// readme: 'none', | ||
// }, | ||
// ], | ||
// [ | ||
// 'docusaurus-plugin-typedoc', | ||
// { | ||
// id: 'client-core', | ||
// entryPoints: ['../packages/client-core'], | ||
// entryPointStrategy: 'expand', | ||
// tsconfig: '../packages/client-core/tsconfig.json', | ||
// exclude: [ | ||
// ...commonExludePaths, | ||
// '../packages/client-core/build.js', | ||
// '../packages/client-core/rollup.config.js', | ||
// '../packages/client-core/jest.config.js', | ||
// '../packages/client-core/scripts/**', | ||
// ], | ||
// out: 'generated/client-core', | ||
// readme: 'none', | ||
// }, | ||
// ], | ||
[ | ||
'docusaurus-plugin-typedoc', | ||
{ | ||
id: 'server', | ||
entryPoints: ['../packages/server'], | ||
entryPointStrategy: 'expand', | ||
tsconfig: '../packages/server/tsconfig.json', | ||
exclude: [ | ||
...commonExludePaths, | ||
'../packages/server/public/**', | ||
'../packages/server/scripts/**', | ||
'../packages/server/tests old/**', | ||
'../packages/server/.eslintrc.js', | ||
], | ||
out: 'generated/server', | ||
readme: 'none', | ||
}, | ||
], | ||
[ | ||
'docusaurus-plugin-typedoc', | ||
{ | ||
id: 'server-core', | ||
entryPoints: ['../packages/server-core/src/'], | ||
entryPointStrategy: 'expand', | ||
tsconfig: '../packages/server-core/tsconfig.json', | ||
exclude: [ | ||
...commonExludePaths, | ||
'../packages/server-core/scripts/**', | ||
'../packages/server-core/.eslintrc.js', | ||
'../packages/server-core/.mocharc.js', | ||
'../packages/server-core/rollup.config.js', | ||
'../packages/server-core/vite.build.js' | ||
], | ||
out: 'generated/server-core', | ||
readme: 'none', | ||
}, | ||
], | ||
[ | ||
'docusaurus-plugin-typedoc', | ||
{ | ||
id: 'common', | ||
entryPoints: ['../packages/common'], | ||
entryPointStrategy: 'expand', | ||
tsconfig: '../packages/common/tsconfig.json', | ||
exclude: [ | ||
...commonExludePaths, | ||
'../packages/common/scripts/**', | ||
'../packages/common/.eslintrc.cjs', | ||
'../packages/common/rollup.config.js', | ||
'../packages/common/vite.build.js' | ||
], | ||
out: 'generated/common', | ||
readme: 'none', | ||
}, | ||
], | ||
[ | ||
'docusaurus-plugin-typedoc', | ||
{ | ||
id: 'engine', | ||
entryPoints: ['../packages/engine/src/'], | ||
entryPointStrategy: 'expand', | ||
tsconfig: '../packages/engine/tsconfig.json', | ||
exclude: [ | ||
...commonExludePaths, | ||
'../packages/engine/scripts/**', | ||
'../packages/engine/.mocharc.js', | ||
'../packages/engine/rollup.config.js', | ||
'../packages/engine/vite.build.js', | ||
'../packages/engine/src/physics/physx/physx.release.cjs.js', | ||
'../packages/engine/src/physics/physx/physx.release.esm.js', | ||
], | ||
out: 'generated/engine', | ||
readme: 'none', | ||
}, | ||
], | ||
[ | ||
'docusaurus-plugin-typedoc', | ||
{ | ||
id: 'gameserver', | ||
entryPoints: ['../packages/gameserver/src/'], | ||
entryPointStrategy: 'expand', | ||
tsconfig: '../packages/gameserver/tsconfig.json', | ||
exclude: [ | ||
...commonExludePaths, | ||
'../packages/gameserver/.eslintrc.cjs', | ||
'../packages/gameserver/.mocharc.js', | ||
'../packages/gameserver/vite.build.js' | ||
], | ||
out: 'generated/gameserver', | ||
readme: 'none', | ||
}, | ||
], | ||
], | ||
themeConfig: { | ||
navbar: { | ||
title: 'XREngine', | ||
logo: { | ||
alt: 'Logo', | ||
src: 'https://github.com/XRFoundation/XREngine/raw/dev/xrengine%20black.png', | ||
}, | ||
items: [ | ||
{ | ||
to: 'docs/', | ||
activeBasePath: 'docs', | ||
label: 'Docs', | ||
position: 'left', | ||
}, | ||
], | ||
}, | ||
footer: { | ||
style: 'dark', | ||
links: [ | ||
{ | ||
title: 'Community', | ||
items: [ | ||
{ | ||
label: 'Discord', | ||
href: 'https://discord.gg/mQ3D4FE', | ||
}, | ||
{ | ||
label: 'Github', | ||
href: 'https://github.com/XRFoundation/XREngine', | ||
} | ||
], | ||
}, | ||
], | ||
copyright: `Copyright Β© ${new Date().getFullYear()} XRFoundation.`, | ||
}, | ||
}, | ||
presets: [ | ||
[ | ||
'@docusaurus/preset-classic', | ||
{ | ||
docs: { | ||
sidebarPath: require.resolve('./sidebars.js'), | ||
// Please change this to your repo. | ||
editUrl: | ||
'https://github.com/XRFoundation/XREngine/packages/docs/', | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.css'), | ||
}, | ||
}, | ||
], | ||
], | ||
} |
0
packages/docs/package.json β docs/package.json
100755 β 100644
File renamed without changes.
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,87 @@ | ||
/** | ||
* | ||
* @author Abhinav Shah | ||
* @author Hanzla Mateen | ||
*/ | ||
module.exports = { | ||
sidebar: { | ||
'Getting Started': [ | ||
'introduction', | ||
'installation', | ||
'coreconcepts', | ||
'architecture', | ||
'contributing', | ||
{ | ||
type: 'category', | ||
label: 'Packages', | ||
collapsed: false, | ||
items: [ | ||
// { | ||
// type: 'category', | ||
// label: 'client', | ||
// collapsed: true, | ||
// items: [{ | ||
// type: 'autogenerated', | ||
// dirName: 'generated/client', | ||
// }], | ||
// }, | ||
// { | ||
// type: 'category', | ||
// label: 'client-core', | ||
// collapsed: true, | ||
// items: [{ | ||
// type: 'autogenerated', | ||
// dirName: 'generated/client-core', | ||
// }], | ||
// }, | ||
{ | ||
type: 'category', | ||
label: 'server', | ||
collapsed: true, | ||
items: [{ | ||
type: 'autogenerated', | ||
dirName: 'generated/server', | ||
}], | ||
}, | ||
{ | ||
type: 'category', | ||
label: 'server-core', | ||
collapsed: true, | ||
items: [{ | ||
type: 'autogenerated', | ||
dirName: 'generated/server-core', | ||
}], | ||
}, | ||
{ | ||
type: 'category', | ||
label: 'common', | ||
collapsed: true, | ||
items: [{ | ||
type: 'autogenerated', | ||
dirName: 'generated/common', | ||
}], | ||
}, | ||
{ | ||
type: 'category', | ||
label: 'engine', | ||
collapsed: true, | ||
items: [{ | ||
type: 'autogenerated', | ||
dirName: 'generated/engine', | ||
}], | ||
}, | ||
{ | ||
type: 'category', | ||
label: 'gameserver', | ||
collapsed: true, | ||
items: [{ | ||
type: 'autogenerated', | ||
dirName: 'generated/gameserver', | ||
}], | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}; | ||
|
0
packages/docs/src/css/custom.css β docs/src/css/custom.css
100755 β 100644
File renamed without changes.
0
packages/docs/src/pages/index.js β docs/src/pages/index.js
100755 β 100644
File renamed without changes.
0
packages/docs/src/pages/markdown-page.md β docs/src/pages/markdown-page.md
100755 β 100644
File renamed without changes.
0
packages/docs/src/pages/styles.module.css β docs/src/pages/styles.module.css
100755 β 100644
File renamed without changes.
0
packages/docs/static/.nojekyll β docs/static/.nojekyll
100755 β 100644
File renamed without changes.
0
packages/docs/static/img/favicon.ico β docs/static/img/favicon.ico
100755 β 100644
File renamed without changes.
0
packages/docs/static/img/logo.svg β docs/static/img/logo.svg
100755 β 100644
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
0
packages/docs/typings.d.ts β docs/typings.d.ts
100755 β 100644
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.