1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-01-30 22:08:02 +00:00

create docusaurus

This commit is contained in:
Nebel 2022-08-12 15:20:32 +09:00
parent d39e666702
commit e041143d06
8 changed files with 7510 additions and 0 deletions

2
docusaurus/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
.docusaurus
build

1
docusaurus/docs/index.md Normal file
View file

@ -0,0 +1 @@
# ドキュメント

View file

@ -0,0 +1,29 @@
// @ts-check
const title = "Example Docs";
const locales = ["ja"];
/** @type {import("@docusaurus/types").Config} */
module.exports = {
url: "http://localhost:3000",
baseUrl: "/",
title,
i18n: { locales, defaultLocale: locales[0] },
presets: [
[
"@docusaurus/preset-classic",
/** @type {import("@docusaurus/preset-classic").Options} */
({
docs: {
editUrl: "https://github.com/kou029w/_/tree/main/docusaurus",
showLastUpdateAuthor: true,
showLastUpdateTime: true,
},
}),
],
],
themeConfig: {
navbar: {
title,
},
},
};

12
docusaurus/package.json Normal file
View file

@ -0,0 +1,12 @@
{
"scripts": {
"dev": "docusaurus start",
"build": "docusaurus build",
"start": "docusaurus serve"
},
"devDependencies": {
"@docusaurus/core": "^2.0.1",
"@docusaurus/preset-classic": "^2.0.1",
"@docusaurus/types": "^2.0.1"
}
}

3
docusaurus/sidebars.cjs Normal file
View file

@ -0,0 +1,3 @@
module.exports = {
docs: [{ type: "autogenerated", dirName: "." }],
};

View file

@ -0,0 +1,3 @@
# トップページ
[/docs](/docs)

View file

7460
docusaurus/yarn.lock Normal file

File diff suppressed because it is too large Load diff