Skip to content

Commit c7cb47c

Browse files
committed
chore(starters): update
1 parent 6d7aca6 commit c7cb47c

File tree

5 files changed

+46
-34
lines changed

5 files changed

+46
-34
lines changed

.starters/default/content/1.getting-started/4.project-structure.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,33 @@ This is where you write pages in Markdown. Docus automatically generates routes
4141

4242
```bash
4343
content/
44-
├── index.md
45-
├── getting-started.md
44+
├── index.md # Landing page (/)
45+
├── getting-started.md # Documentation page (/getting-started)
4646
└── guide/
47-
├── introduction.md
48-
└── configuration.md
47+
├── introduction.md # Documentation page (/guide/introduction)
48+
└── configuration.md # Documentation page (/guide/configuration)
4949
```
5050

51+
::prose-tip
52+
You can separate your documentation files within a `docs/` subfolder to make them accessible at the `/docs` route. Additionally, you have the flexibility to override your landing page using custom Vue pages if desired. Learn more in the [edition documentation](https://docus.dev/concepts/edition).
53+
::
54+
5155
**Multi-language structure (with i18n):**
5256

5357
```bash
5458
content/
5559
├── en/
56-
│ ├── index.md
60+
│ ├── index.md # English landing page (/en)
5761
│ └── guide/
58-
│ └── introduction.md
62+
│ └── introduction.md # Documentation page (/en/guide/introduction)
5963
└── fr/
60-
├── index.md
64+
├── index.md # French landing page (/fr)
6165
└── guide/
62-
└── introduction.md
66+
└── introduction.md # Documentation page (/fr/guide/introduction)
6367
```
6468

65-
::prose-tip
66-
More information about i18n is available in the [Docus documentation](https://docus.dev/concepts/internationalization).
69+
::prose-tip{to="https://docus.dev/concepts/internationalization"}
70+
More information about i18n is available in the internationalization section.
6771
::
6872

6973
### `public/` directory

.starters/default/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"docus": "latest",
9-
"better-sqlite3": "^12.5.0",
10-
"nuxt": "^4.2.2"
9+
"better-sqlite3": "^12.6.2",
10+
"nuxt": "^4.3.1"
1111
}
1212
}

.starters/i18n/content/en/1.getting-started/4.project-structure.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,33 @@ This is where you write pages in Markdown. Docus automatically generates routes
4141

4242
```bash
4343
content/
44-
├── index.md
45-
├── getting-started.md
44+
├── index.md # Landing page (/)
45+
├── getting-started.md # Documentation page (/getting-started)
4646
└── guide/
47-
├── introduction.md
48-
└── configuration.md
47+
├── introduction.md # Documentation page (/guide/introduction)
48+
└── configuration.md # Documentation page (/guide/configuration)
4949
```
5050

51+
::prose-tip
52+
You can separate your documentation files within a `docs/` subfolder to make them accessible at the `/docs` route. Additionally, you have the flexibility to override your landing page using custom Vue pages if desired. Learn more in the [edition documentation](https://docus.dev/concepts/edition).
53+
::
54+
5155
**Multi-language structure (with i18n):**
5256

5357
```bash
5458
content/
5559
├── en/
56-
│ ├── index.md
60+
│ ├── index.md # English landing page (/en)
5761
│ └── guide/
58-
│ └── introduction.md
62+
│ └── introduction.md # Documentation page (/en/guide/introduction)
5963
└── fr/
60-
├── index.md
64+
├── index.md # French landing page (/fr)
6165
└── guide/
62-
└── introduction.md
66+
└── introduction.md # Documentation page (/fr/guide/introduction)
6367
```
6468

65-
::prose-tip
66-
More information about i18n is available in the [Docus documentation](https://docus.dev/concepts/internationalization).
69+
::prose-tip{to="https://docus.dev/concepts/internationalization"}
70+
More information about i18n is available in the internationalization section.
6771
::
6872

6973
### `public/` directory

.starters/i18n/content/fr/1.getting-started/4.project-structure.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,33 @@ C'est ici que vous rédigez vos pages en Markdown. Docus génère automatiquemen
4141

4242
```bash
4343
content/
44-
├── index.md
45-
├── getting-started.md
44+
├── index.md # Page d'accueil (/)
45+
├── getting-started.md # Page de documentation (/getting-started)
4646
└── guide/
47-
├── introduction.md
48-
└── configuration.md
47+
├── introduction.md # Page de documentation (/guide/introduction)
48+
└── configuration.md # Page de documentation (/guide/configuration)
4949
```
5050

51+
::prose-tip
52+
Vous pouvez séparer vos fichiers de documentation dans un sous-dossier `docs/` pour les rendre accessibles à la route `/docs`. De plus, vous avez la flexibilité de remplacer votre page d'accueil en utilisant des pages Vue personnalisées si désiré. En savoir plus dans la [documentation d'édition](https://docus.dev/concepts/edition).
53+
::
54+
5155
**Structure multilingue (avec i18n) :**
5256

5357
```bash
5458
content/
5559
├── en/
56-
│ ├── index.md
60+
│ ├── index.md # Page d'accueil anglaise (/en)
5761
│ └── guide/
58-
│ └── introduction.md
62+
│ └── introduction.md # Page de documentation (/en/guide/introduction)
5963
└── fr/
60-
├── index.md
64+
├── index.md # Page d'accueil française (/fr)
6165
└── guide/
62-
└── introduction.md
66+
└── introduction.md # Page de documentation (/fr/guide/introduction)
6367
```
6468

65-
::prose-tip
66-
Plus d'informations sur i18n sont disponibles dans la [documentation Docus](https://docus.dev/concepts/internationalization).
69+
::prose-tip{to="https://docus.dev/concepts/internationalization"}
70+
Plus d'informations sur i18n sont disponibles dans la section internationalisation.
6771
::
6872

6973
### Répertoire `public/`

.starters/i18n/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
"dependencies": {
88
"docus": "latest",
9-
"better-sqlite3": "^12.5.0",
10-
"nuxt": "^4.2.2"
9+
"better-sqlite3": "^12.6.2",
10+
"nuxt": "^4.3.1"
1111
}
1212
}

0 commit comments

Comments
 (0)