Skip to content

Commit 8d76514

Browse files
authored
sidebar nested pages (#762)
* sidebar nested pages * review
1 parent 5cb5c03 commit 8d76514

6 files changed

Lines changed: 22 additions & 13 deletions

File tree

src/.vitepress/sidebar/en.js

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ export default {
6262
collapsed: true,
6363
items: [
6464
{ text: 'Overview', link: '/layer/overview/' },
65-
{ text: 'Widgets', link: '/layer/form-widgets/',
65+
{ text: 'Widgets',
6666
items: [
67+
{ text: 'Available Widgets', link: '/layer/form-widgets/' },
6768
{ text: 'Text', link: '/layer/text/' },
6869
{ text: 'Date and Time', link: '/layer/date-time/' },
6970
{ text: 'Relations', link: '/layer/relations/' },
@@ -74,22 +75,25 @@ export default {
7475
{ text: 'Photos', link: '/layer/photos/' },
7576
{ text: 'Informational Widgets', link: '/layer/info-widgets/' },
7677
] },
77-
{ text: 'Default Values', link: '/layer/default-values/',
78+
{ text: 'Default Values',
7879
collapsed: true,
7980
items: [
81+
{ text: 'Default Values Setup', link: '/layer/default-values/' },
8082
{ text: 'Geotagging', link: '/layer/exif/' },
8183
{ text: 'Variables', link: '/layer/variables/' }
8284
] },
8385
{ text: 'Constraints', link: '/layer/constraints/' },
84-
{ text: 'Layout', link: '/layer/form-layout/',
86+
{ text: 'Layout',
8587
collapsed: true,
8688
items: [
89+
{ text: 'Form Layout', link: '/layer/form-layout/' },
8790
{ text: 'Tabs and Groups', link: '/layer/tabs-and-groups/' },
8891
{ text: 'Conditional Visibility', link: '/layer/conditional-visibility/' },
8992
] },
90-
{ text: 'Use Cases', link: '/layer/use-cases/',
93+
{ text: 'Use Cases',
9194
collapsed: true,
9295
items: [
96+
{ text: 'Use Cases Overview', link: '/layer/use-cases/' },
9397
{ text: 'How to Open a File', link: '/layer/open-file/' },
9498
{ text: 'How to Use Hyperlinks', link: '/layer/external-link/' },
9599
{ text: 'How to Open a Link to a Navigation App', link: '/layer/link-to-navigation/' },
@@ -159,9 +163,10 @@ export default {
159163
items: [
160164
{ text: 'Licensing', link: '/misc/licensing/' },
161165
{ text: 'Get Involved', link: '/misc/get-involved/' },
162-
{ text: 'Troubleshoot', link: '/misc/troubleshoot/',
166+
{ text: 'Troubleshoot',
163167
collapsed:true,
164168
items: [
169+
{ text: 'Support and Troubleshooting', link: '/misc/troubleshoot/' },
165170
{ text: 'Project fails to sync', link: '/misc/troubleshoot/not_syncing/' },
166171
] },
167172
{ text: 'Write Documentation', link: '/misc/write-docs/' }

src/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ The ecosystem consist of various components:
7070

7171
## Configure Forms
7272
- [Overview](./layer/overview/)
73-
- [Widgets](./layer/form-widgets/)
73+
- Widgets
74+
- [Available Widgets](./layer/form-widgets/)
7475
- [Text](./layer/text/)
7576
- [Date and time](./layer/date-time/)
7677
- [Relations](./layer/relations/)
@@ -80,14 +81,17 @@ The ecosystem consist of various components:
8081
- [Selecting Single or Multiple Values ](./layer/value-select/)
8182
- [Photos](./layer/photos/)
8283
- [Informational Widgets](./layer/info-widgets/)
83-
- [Default Values](./layer/default-values/)
84+
- Default Values
85+
- [Default Values Setup](./layer/default-values/)
8486
- [Geotagging](./layer/exif/)
8587
- [Variables](./layer/variables/)
8688
- [Constraints](./layer/constraints/)
87-
- [Layout](./layer/form-layout/)
89+
- Layout
90+
- [Form Layout](./layer/form-layout/)
8891
- [Tabs and Groups](./layer/tabs-and-groups/)
8992
- [Conditional Visibility](./layer/conditional-visibility/)
90-
- [Use Cases](./layer/use-cases/)
93+
- Use Cases
94+
- [Use Cases Overview](./layer/use-cases/)
9195
- [How to Open a File ](./layer/open-file/)
9296
- [How to Use Hyperlinks](./layer/external-link/)
9397
- [How to Open a Link to a Navigation App](./layer/link-to-navigation/)

src/layer/default-values/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Default values can be used to automatically fill in the fields in the form using values, variables or expressions.
33
---
44

5-
# Default values
5+
# Default Values
66
Default values can be used to automatically record, e.g. the name of the surveyor, date and time of the survey, latitude and longitude of a feature or to have frequently used values filled in advance (see <QGISHelp ver="latest" link="user_manual/working_with_vector/vector_properties.html#default-values" text="QGIS documentation" />).
77

88
Fields with default values can be hidden from the attributes form if they are used to store data that are not expected to be modified manually.

src/layer/form-layout/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Use QGIS drag and drop designer, conditional visibility, and widgets to create attributes forms tailored to your Mergin Maps project needs.
33
---
44

5-
# Attributes Form Layout
5+
# Form Layout
66
[[toc]]
77

88
Collecting and editing data in the field can be more efficient with forms that are easy to navigate. QGIS offers a lot of options for improving the layout of your forms, such as using [tabs and groups](../tabs-and-groups/) to keep related fields together, displaying or hiding a group of fields based on [conditional visibility](../conditional-visibility/), or displaying tips and instructions in the forms using the [Text or HTML widget](../info-widgets/). The starting point for creating a form is [QGIS Drag and Drop Designer](#qgis-drag-and-drop-designer).

src/layer/form-widgets/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Our Widget Gallery provides an overview of QGIS form widgets supported by the Mergin Maps mobile app. Find the best widget for your survey form!
33
---
44

5-
# Form Widgets Gallery
5+
# Available Widgets
66

77
Form widgets define the way you can enter values in the form, both in QGIS and in the <MobileAppNameShort />. The configuration of form widgets in your <MainPlatformNameLink /> project is done in QGIS.
88

src/misc/troubleshoot/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Find troubleshooting tips, resources, and support information to help resolve issues with Mergin Maps.
33
---
44

5-
# Troubleshoot
5+
# Support and Troubleshooting
66
[[toc]]
77

88
## Troubleshooting tips

0 commit comments

Comments
 (0)