mirror of
https://github.com/kou029w/_.git
synced 2025-01-31 06:18:07 +00:00
create docusaurus
This commit is contained in:
parent
d39e666702
commit
e041143d06
8 changed files with 7510 additions and 0 deletions
2
docusaurus/.gitignore
vendored
Normal file
2
docusaurus/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
.docusaurus
|
||||||
|
build
|
1
docusaurus/docs/index.md
Normal file
1
docusaurus/docs/index.md
Normal file
|
@ -0,0 +1 @@
|
||||||
|
# ドキュメント
|
29
docusaurus/docusaurus.config.cjs
Normal file
29
docusaurus/docusaurus.config.cjs
Normal 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
12
docusaurus/package.json
Normal 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
3
docusaurus/sidebars.cjs
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module.exports = {
|
||||||
|
docs: [{ type: "autogenerated", dirName: "." }],
|
||||||
|
};
|
3
docusaurus/src/pages/index.md
Normal file
3
docusaurus/src/pages/index.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# トップページ
|
||||||
|
|
||||||
|
[/docs](/docs)
|
0
docusaurus/static/.nojekyll
Normal file
0
docusaurus/static/.nojekyll
Normal file
7460
docusaurus/yarn.lock
Normal file
7460
docusaurus/yarn.lock
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue