Custom Help Link to a specific documentation


I’m looking for a way to custom Help menu.

We have a small documentation for our user, and i would like, Help menu link on it.

Is it possible to do it and how ?



I find a way to do what I want, but I’m not sure its the best way :

In /nextcloud/core/doc/user I put my customize user documentation in pdf format, give right to www-data:www-data (apache user of your distribution) on this file.

Then I modify the /nextcloud/core/doc/user/index.html file like this :

<html xmlns="">


    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <title>Nextcloud 14 user manual introduction &mdash; Nextcloud 14 User Manual 14 documentation</title>

    <link rel="stylesheet" href="_static/" type="text/css" />

    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />

    <link rel="stylesheet" href="_static/main.min.css" type="text/css" />

    <link rel="stylesheet" href="_static/styles.css" type="text/css" />

    <script type="text/javascript">


        URL_ROOT:    './',

        VERSION:     '14',

        COLLAPSE_INDEX: false,

        FILE_SUFFIX: '.html',

        HAS_SOURCE:  true



    <script type="text/javascript" src="_static/jquery.js"></script>

    <script type="text/javascript" src="_static/underscore.js"></script>

    <script type="text/javascript" src="_static/doctools.js"></script>

    <script type="text/javascript" src="_static/js/jquery-1.11.0.min.js"></script>

    <script type="text/javascript" src="_static/js/jquery-fix.js"></script>

    <script type="text/javascript" src="_static/bootstrap-3.1.0/js/bootstrap.min.js"></script>

    <script type="text/javascript" src="_static/bootstrap-sphinx.js"></script>

    <link rel="top" title="Nextcloud 14 User Manual 14 documentation" href="contents.html" />

    <link rel="next" title="What’s new for users in Nextcloud 14" href="whats_new.html" />

    <link rel="prev" title="Table of contents" href="contents.html" />

<meta charset='utf-8'>

<meta http-equiv='X-UA-Compatible' content='IE=edge,chrome=1'>

<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1'>

<meta name="apple-mobile-web-app-capable" content="yes">

<meta name="theme-color" content="#1d2d44">


  <body role="document">

<div class="wrap container not-front">

    <iframe id="pdframe" style="width:100%;height:100%;display:block;position:absolute;top:0;z-index:1041;left:0;" src="/nextcloud/index.php/apps/files_pdfviewer/?file=%2Fnextcloud%2Fcore%2Fdoc%2Fuser%2FDocUtilisateur2.pdf" sandbox="allow-scripts allow-same-origin allow-popups allow-modals allow-top-navigation" allowfullscreen="true"></iframe>




Now when my user click on Help menu he get my customize help .pdf file.