Skip to content

Commit

Permalink
一覧ページを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
yukyu30 committed Jan 2, 2022
1 parent 54323fa commit 5c511f9
Show file tree
Hide file tree
Showing 6 changed files with 31,074 additions and 8,283 deletions.
6 changes: 0 additions & 6 deletions docs/intro.md

This file was deleted.

6 changes: 6 additions & 0 deletions docs/term-of-use/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ページ・フォルダ一覧

import DocCardList from '@theme/DocCardList';
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';

<DocCardList items={useCurrentSidebarCategory().items}/>
8 changes: 2 additions & 6 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = {
items: [
{
type: 'doc',
docId: 'intro',
docId: 'term-of-use/index',
position: 'left',
label: 'Docs',
},
Expand All @@ -31,13 +31,9 @@ module.exports = {
{
title: 'Docs',
items: [
{
label: 'はじめに',
to: '/docs/intro',
},
{
label: '利用規約',
to: '/docs/intro',
to: '/docs/term-of-use/index',
},
{
label: '連絡先',
Expand Down
Loading

0 comments on commit 5c511f9

Please sign in to comment.