Skip to content

Commit 5e8f2e1

Browse files
Merge pull request #37 from nextcloud/add-docs
Add doc link to info.xml (app page) and admin page
2 parents cb95800 + 0797c40 commit 5e8f2e1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

appinfo/info.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
<owncloud min-version="9.2" max-version="9.2" />
2222
</dependencies>
2323

24+
<documentation>
25+
<admin>admin-files-access-control</admin>
26+
</documentation>
27+
2428
<settings>
2529
<admin-section>OCA\FilesAccessControl\Settings\Section</admin-section>
2630
<admin>OCA\FilesAccessControl\Settings\Admin</admin>

lib/Settings/Admin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public function getForm() {
5656
Util::addScript($appName, 'admin');
5757
$parameters = [
5858
'appid' => $appName,
59+
'docs' => 'admin-files-access-control',
5960
'heading' => $this->l10n->t('File access control'),
6061
'description' => $this->l10n->t('Each rule group consists of one or more rules. A request matches a group if all rules evaluate to true. If a request matches at least one of the defined groups, the request is blocked and the file content can not be read or written.'),
6162
];

0 commit comments

Comments
 (0)