Skip to content

Commit

Permalink
1008 - Fix Partials (#1009)
Browse files Browse the repository at this point in the history
* Removes direct links to partials
Removed since we should not link to the partials directly. In this case there is no need to add replacements since the partials are already part of the other related content pages.

* Fix partials to be hidden from index summaries
As per Docsy instructions:
> To hide a page from the section summary on a docs section landing page, set hide_summary: true in the front matter. If you want to hide a page from both the TOC menu and the section summary list, you need to set both toc_hide and hide_summary to true in the front matter.
https://www.docsy.dev/docs/adding-content/navigation/#section-menu

For #1008
  • Loading branch information
abbyad authored Apr 6, 2023
1 parent 2a862c2 commit 4938b3e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
---
title: "Docker Directory Setup"
toc_hide: true
hide_summary: true
---
Create the following directory structure:

```
Expand Down
1 change: 0 additions & 1 deletion content/en/apps/guides/tasks/pass-data-to-form.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ relatedContent: >
apps/tutorials/tasks-2
apps/tutorials/app-forms
apps/reference/tasks
apps/reference/_partial_utils
apps/guides/forms/form-inputs
---
Expand Down
1 change: 1 addition & 0 deletions content/en/apps/reference/_partial_cht_api.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "CHT API"
toc_hide: true
hide_summary: true
---
_Introduced in v3.12.0_

Expand Down
1 change: 1 addition & 0 deletions content/en/apps/reference/_partial_utils.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Utils Functions"
toc_hide: true
hide_summary: true
---

Utility functions in the Core Framework can make common tasks much easier. These are available only for Tasks and Targets. To use the function call `Utils.<function-name>(<params>)`, for example `Utils.addDate(report.reported_date, 10)`.
Expand Down
1 change: 1 addition & 0 deletions content/en/apps/tutorials/_partial_docker_setup.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Local Docker Setup"
toc_hide: true
hide_summary: true
---
{{< tabpane code=false >}}
{{% tab header="Linux (Ubuntu)" %}}
Expand Down
1 change: 0 additions & 1 deletion content/en/apps/tutorials/tasks-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ description: >
relatedContent: >
apps/tutorials/tasks-1
apps/reference/tasks
apps/reference/_partial_utils
apps/examples/anc
---
Expand Down

0 comments on commit 4938b3e

Please sign in to comment.