Skip to content

Commit 1b72942

Browse files
authored
Merge pull request #648 from humanmade/backport-645-to-v23-branch
[Backport v23-branch] Move FAQs to the end of the list
2 parents 0854887 + 61340d7 commit 1b72942

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

inc/namespace.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,6 @@ function filter_add_dev_docs_set( array $sets ) : array {
137137
add_docs_for_group( $guides, $other_docs . '/guides' );
138138
$dev_set->add_group( 'guides', $guides );
139139

140-
$faq = new Group( __( 'FAQ', 'altis' ) );
141-
add_docs_for_group( $faq, $other_docs . '/faq' );
142-
$dev_set->add_group( 'faq', $faq );
143-
144140
// Add all the registered modules.
145141
$modules = Module::get_all();
146142
uasort( $modules, function ( Module $a, Module $b ) : int {
@@ -156,6 +152,11 @@ function filter_add_dev_docs_set( array $sets ) : array {
156152
$dev_set->add_group( $id, $module_docs );
157153
}
158154

155+
// Add the FAQs at the end.
156+
$faq = new Group( __( 'FAQ', 'altis' ) );
157+
add_docs_for_group( $faq, $other_docs . '/faq' );
158+
$dev_set->add_group( 'faq', $faq );
159+
159160
$sets[ DEV_DOCS_SET_ID ] = $dev_set;
160161

161162
return $sets;

other-docs/faq/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
title: FAQ
3+
order: 90
34
---
45

56
# Frequently Asked Questions
67

78
Bringing years of experience into the hands of Altis customers; this section provides a list of common questions, operations and engineering discussions on the Altis platform.
89

9-
If you have further questions or need additional help, [open a support ticket via the Altis Dashboard](https://dashboard.altis-dxp.com/support/).
10+
If you have further questions or need additional help, [open a support ticket via the Altis Dashboard](https://dashboard.altis-dxp.com/support/).

0 commit comments

Comments
 (0)