Specify module order manually to work around hugo issues (#3612)
This commit is contained in:
parent
0ee58100c4
commit
00169abcdb
36 changed files with 50 additions and 51 deletions
|
@ -2177,4 +2177,37 @@ operations and run in a resource constrained environment. Like embedded
|
||||||
applications, they are not intended to be fully-fledged communication
|
applications, they are not intended to be fully-fledged communication
|
||||||
systems.
|
systems.
|
||||||
|
|
||||||
{{% cs-modules %}}
|
{{% cs-module name="instant_messaging" %}}
|
||||||
|
{{% cs-module name="voip_events" %}}
|
||||||
|
{{% cs-module name="typing_notifications" %}}
|
||||||
|
{{% cs-module name="receipts" %}}
|
||||||
|
{{% cs-module name="read_markers" %}}
|
||||||
|
{{% cs-module name="presence" %}}
|
||||||
|
{{% cs-module name="content_repo" %}}
|
||||||
|
{{% cs-module name="send_to_device" %}}
|
||||||
|
{{% cs-module name="device_management" %}}
|
||||||
|
{{% cs-module name="end_to_end_encryption" %}}
|
||||||
|
{{% cs-module name="secrets" %}}
|
||||||
|
{{% cs-module name="history_visibility" %}}
|
||||||
|
{{% cs-module name="push" %}}
|
||||||
|
{{% cs-module name="third_party_invites" %}}
|
||||||
|
{{% cs-module name="search" %}}
|
||||||
|
{{% cs-module name="guest_access" %}}
|
||||||
|
{{% cs-module name="room_previews" %}}
|
||||||
|
{{% cs-module name="tags" %}}
|
||||||
|
{{% cs-module name="account_data" %}}
|
||||||
|
{{% cs-module name="admin" %}}
|
||||||
|
{{% cs-module name="event_context" %}}
|
||||||
|
{{% cs-module name="sso_login" %}}
|
||||||
|
{{% cs-module name="dm" %}}
|
||||||
|
{{% cs-module name="ignore_users" %}}
|
||||||
|
{{% cs-module name="stickers" %}}
|
||||||
|
{{% cs-module name="report_content" %}}
|
||||||
|
{{% cs-module name="third_party_networks" %}}
|
||||||
|
{{% cs-module name="openid" %}}
|
||||||
|
{{% cs-module name="server_acls" %}}
|
||||||
|
{{% cs-module name="mentions" %}}
|
||||||
|
{{% cs-module name="room_upgrades" %}}
|
||||||
|
{{% cs-module name="server_notices" %}}
|
||||||
|
{{% cs-module name="moderation_policies" %}}
|
||||||
|
{{% cs-module name="spaces" %}}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 190
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Client Config
|
### Client Config
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 200
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Server Administration
|
### Server Administration
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 70
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Content repository
|
### Content repository
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 90
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Device Management
|
### Device Management
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 230
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Direct Messaging
|
### Direct Messaging
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 100
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### End-to-End Encryption
|
### End-to-End Encryption
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 210
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Event Context
|
### Event Context
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 160
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Guest Access
|
### Guest Access
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 120
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Room History Visibility
|
### Room History Visibility
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 240
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Ignoring Users
|
### Ignoring Users
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 10
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Instant Messaging
|
### Instant Messaging
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 300
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### User, room, and group mentions
|
### User, room, and group mentions
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 330
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Moderation policy lists
|
### Moderation policy lists
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 280
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### OpenID
|
### OpenID
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 60
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Presence
|
### Presence
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 130
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Push Notifications
|
### Push Notifications
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 50
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Fully read markers
|
### Fully read markers
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 40
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Receipts
|
### Receipts
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 260
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Reporting Content
|
### Reporting Content
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 170
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Room Previews
|
### Room Previews
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 310
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Room Upgrades
|
### Room Upgrades
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 150
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Server Side Search
|
### Server Side Search
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 110
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Secrets
|
### Secrets
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 80
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Send-to-Device messaging
|
### Send-to-Device messaging
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 290
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Server Access Control Lists (ACLs) for rooms
|
### Server Access Control Lists (ACLs) for rooms
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 320
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Server Notices
|
### Server Notices
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 220
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### SSO client login/authentication
|
### SSO client login/authentication
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 250
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Sticker Messages
|
### Sticker Messages
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 180
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Room Tagging
|
### Room Tagging
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 140
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Third party invites
|
### Third party invites
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 270
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Third Party Networks
|
### Third Party Networks
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 30
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Typing Notifications
|
### Typing Notifications
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
type: module
|
type: module
|
||||||
weight: 20
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Voice over IP
|
### Voice over IP
|
||||||
|
|
13
layouts/shortcodes/cs-module.html
Normal file
13
layouts/shortcodes/cs-module.html
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{{/*
|
||||||
|
|
||||||
|
This template is used to render a Client-Server API Module. Modules are defined
|
||||||
|
alongside the `_index.md` for the CS API.
|
||||||
|
|
||||||
|
The `name` parameter is the file name without extension.
|
||||||
|
|
||||||
|
*/}}
|
||||||
|
|
||||||
|
{{ $name := .Params.name }}
|
||||||
|
|
||||||
|
{{ $page := .Site.GetPage (path.Join .Page.Dir "modules" (printf "%s%s" $name ".md"))}}
|
||||||
|
{{ $page.Content }}
|
|
@ -1,14 +0,0 @@
|
||||||
{{/*
|
|
||||||
|
|
||||||
This template is used to embed module documentation in the client-server API spec.
|
|
||||||
|
|
||||||
It searches the site for pages of type "module", sorts them by weight, and
|
|
||||||
emits the page's rendered content.
|
|
||||||
|
|
||||||
*/}}
|
|
||||||
|
|
||||||
{{ $modules := where site.Pages "Type" "module" }}
|
|
||||||
|
|
||||||
{{ range $modules.ByWeight }}
|
|
||||||
{{ .Content }}
|
|
||||||
{{ end }}
|
|
Loading…
Add table
Add a link
Reference in a new issue