This commit is contained in:
CI 2023-02-12 15:30:44 +00:00
parent 475dd28513
commit 4b77684378
12 changed files with 91 additions and 24 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -190,7 +190,7 @@
<li class="md-tabs__item">
<a href="/side_menu_doc/setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -320,7 +320,7 @@
<li class="md-nav__item">
<a href="/side_menu_doc/setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View file

@ -225,7 +225,7 @@
<li class="md-tabs__item">
<a href="../setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -359,7 +359,7 @@
<li class="md-nav__item">
<a href="../setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>

View file

@ -227,7 +227,7 @@
<li class="md-tabs__item">
<a href="setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -407,7 +407,7 @@
<li class="md-nav__item">
<a href="setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>

View file

@ -229,7 +229,7 @@
<li class="md-tabs__item">
<a href="../setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -409,7 +409,7 @@
<li class="md-nav__item">
<a href="../setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>
@ -619,13 +619,13 @@
<a href="../setup/" class="md-footer__link md-footer__link--next" aria-label="Next: Install and update" rel="next">
<a href="../setup/" class="md-footer__link md-footer__link--next" aria-label="Next: Install and upgrade" rel="next">
<div class="md-footer__title">
<div class="md-ellipsis">
<span class="md-footer__direction">
Next
</span>
Install and update
Install and upgrade
</div>
</div>
<div class="md-footer__button md-icon">

View file

@ -229,7 +229,7 @@
<li class="md-tabs__item">
<a href="../setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -371,7 +371,7 @@
<li class="md-nav__item">
<a href="../setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>

View file

@ -1 +1 @@
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"\ud83e\udd19 Nextcloud app / Custom menu \ud83c\udfa8","text":"<p>Allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top. You can also add and sort custom categories, define apps that must be displayed in the top menu, etc. Fully customisable.</p> <p>This application is rather suitable for instances that activate a lot of applications.</p> <p>You can customize colors depending of the theme (Dark theme and Breeze Dark).</p> <ul> <li>Requirements</li> <li>Screenshots</li> <li>Installation and upgrade</li> <li>Settings</li> <li>Support</li> <li>Contribute</li> </ul> <p>You like this app and you want to support me? \u2615 Buy me a coffee or Donate with liberapay</p>"},{"location":"#support","title":"Support","text":"<p>You can join the official room on Matrix: #custommenu:neutralnetwork.org.</p>"},{"location":"#notice","title":"Notice","text":"<p>Because I believe in a free and decentralized Internet, Gitnet is self-hosted at home. In case of downtime, you can download Custom Menu from [here](https://kim.deblan.fr/~side_menu/</p>"},{"location":"contrib/","title":"How to contribute?","text":"<p>You can report a bug or request a feature by opening an issue: https://gitnet.fr/deblan/side_menu/issues</p>"},{"location":"contrib/#you-are-a-translator","title":"You are a translator","text":"<p>Translations are managed from translate.codeberg.org.</p>"},{"location":"contrib/#you-are-a-developer","title":"You are a developer","text":"<ul> <li>fork the repository</li> <li>install an instance of Nextcloud</li> <li>go to <code>apps/</code> and clone your repository</li> <li>go to <code>apps/side_menu</code> and run <code>make dep</code></li> </ul> <p>Build javascripts using <code>make build</code> (or <code>make watch</code> to build them in real time).</p> <p>Then commit and create a pull request.</p>"},{"location":"requirements/","title":"Requirements","text":""},{"location":"requirements/#versions-greater-or-equal-than-30","title":"Versions greater or equal than 3.0","text":"<ul> <li>PHP &gt;= 8.0</li> <li>App <code>theming</code> enabled</li> </ul>"},{"location":"requirements/#version-less-than-30","title":"Version less than 3.0","text":"<ul> <li>Nextcloud &lt;= 24</li> <li>PHP &gt;= 7.1</li> <li>App <code>theming</code> enabled</li> </ul>"},{"location":"screenshots/","title":"Screenshots","text":""},{"location":"settings/","title":"Coming soon...","text":""},{"location":"setup/","title":"Installation and upgrade","text":"<p>Custom menu is available from the app store.</p> <pre><code>cd /path/to/nextcloud\nphp occ app:install side_menu\n</code></pre> <p>If you want to install it from source, go to https://gitnet.fr/deblan/side_menu/releases and copy the link to the last release (side_menu_vX.Y.Z.tar.gz). Then:</p> <pre><code>cd /path/to/nextcloud/apps\ncurl -sS https://gitnet.fr/attachments/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | tar xvfz -\n</code></pre> <p>Administrators can edit many settings using the administration page.</p> <p>Users can disable the menu using the page of personal settings.</p>"},{"location":"setup/#use-first-top-menu-app-as-default-app","title":"Use first top menu app as default app","text":"<p>You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your <code>config/config.php</code>:</p> <pre><code>'defaultapp' =&gt; 'side_menu',\n</code></pre> <p>If the top menu is empty then it redirects to files.</p>"},{"location":"support/","title":"Support","text":"<p>Bugs and feature requests should be reported with an issue on https://gitnet.fr/deblan/side_menu/issues.</p> <p>You can also join the official room on Matrix: #custommenu:neutralnetwork.org.</p>"}]}
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"\ud83e\udd19 Nextcloud app / Custom menu \ud83c\udfa8","text":"<p>Allows you to modify the position of the main menu by creating a panel on the left of the interface or with a big menu on the top. You can also add and sort custom categories, define apps that must be displayed in the top menu, etc. Fully customisable.</p> <p>This application is rather suitable for instances that activate a lot of applications.</p> <p>You can customize colors depending of the theme (Dark theme and Breeze Dark).</p> <ul> <li>Requirements</li> <li>Screenshots</li> <li>Installation and upgrade</li> <li>Settings</li> <li>Support</li> <li>Contribute</li> </ul> <p>You like this app and you want to support me? \u2615 Buy me a coffee or Donate with liberapay</p>"},{"location":"#support","title":"Support","text":"<p>You can join the official room on Matrix: #custommenu:neutralnetwork.org.</p>"},{"location":"#notice","title":"Notice","text":"<p>Because I believe in a free and decentralized Internet, Gitnet is self-hosted at home. In case of downtime, you can download Custom Menu from [here](https://kim.deblan.fr/~side_menu/</p>"},{"location":"contrib/","title":"How to contribute?","text":"<p>You can report a bug or request a feature by opening an issue: https://gitnet.fr/deblan/side_menu/issues</p>"},{"location":"contrib/#you-are-a-translator","title":"You are a translator","text":"<p>Translations are managed from translate.codeberg.org.</p>"},{"location":"contrib/#you-are-a-developer","title":"You are a developer","text":"<ul> <li>fork the repository</li> <li>install an instance of Nextcloud</li> <li>go to <code>apps/</code> and clone your repository</li> <li>go to <code>apps/side_menu</code> and run <code>make dep</code></li> </ul> <p>Build javascripts using <code>make build</code> (or <code>make watch</code> to build them in real time).</p> <p>Then commit and create a pull request.</p>"},{"location":"requirements/","title":"Requirements","text":""},{"location":"requirements/#versions-greater-or-equal-than-30","title":"Versions greater or equal than 3.0","text":"<ul> <li>PHP &gt;= 8.0</li> <li>App <code>theming</code> enabled</li> </ul>"},{"location":"requirements/#version-less-than-30","title":"Version less than 3.0","text":"<ul> <li>Nextcloud &lt;= 24</li> <li>PHP &gt;= 7.1</li> <li>App <code>theming</code> enabled</li> </ul>"},{"location":"screenshots/","title":"Screenshots","text":""},{"location":"settings/","title":"Coming soon...","text":""},{"location":"setup/","title":"Installation and upgrade","text":"<p>Custom menu is available from the app store.</p> <pre><code>cd /path/to/nextcloud\nphp occ app:install side_menu\n</code></pre> <p>If you want to install it from source, go to https://gitnet.fr/deblan/side_menu/releases and copy the link to the last release (side_menu_vX.Y.Z.tar.gz). Then:</p> <pre><code>cd /path/to/nextcloud/apps\ncurl -sS https://gitnet.fr/attachments/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx | tar xvfz -\n</code></pre> <p>Administrators can edit many settings using the administration page.</p> <p>Users can disable the menu using the page of personal settings.</p>"},{"location":"setup/#use-first-top-menu-app-as-default-app","title":"Use first top menu app as default app","text":"<p>You can easily let Custom Menu redirect to the first app in the top menu by changing the following parameter in your <code>config/config.php</code>:</p> <pre><code>'defaultapp' =&gt; 'side_menu',\n</code></pre> <p>If the top menu is empty then it redirects to files.</p>"},{"location":"support/","title":"Support","text":"<p>Bugs and feature requests should be reported with an issue on https://gitnet.fr/deblan/side_menu/issues.</p> <p>You can also join the official room on Matrix: #custommenu:neutralnetwork.org.</p> Current issue(s)"}]}

View file

@ -227,7 +227,7 @@
<li class="md-tabs__item">
<a href="../setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -359,7 +359,7 @@
<li class="md-nav__item">
<a href="../setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>

View file

@ -21,7 +21,7 @@
<title>Install and update - Custom menu</title>
<title>Install and upgrade - Custom menu</title>
@ -53,7 +53,7 @@
<meta property="og:type" content="website" >
<meta property="og:title" content="Install and update - Custom menu" >
<meta property="og:title" content="Install and upgrade - Custom menu" >
<meta property="og:description" content="None" >
@ -69,7 +69,7 @@
<meta name="twitter:card" content="summary_large_image" >
<meta name="twitter:title" content="Install and update - Custom menu" >
<meta name="twitter:title" content="Install and upgrade - Custom menu" >
<meta name="twitter:description" content="None" >
@ -127,7 +127,7 @@
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
Install and update
Install and upgrade
</span>
</div>
@ -229,7 +229,7 @@
<li class="md-tabs__item">
<a href="./" class="md-tabs__link md-tabs__link--active">
Install and update
Install and upgrade
</a>
</li>
@ -370,12 +370,12 @@
<label class="md-nav__link md-nav__link--active" for="__toc">
Install and update
Install and upgrade
<span class="md-nav__icon md-icon"></span>
</label>
<a href="./" class="md-nav__link md-nav__link--active">
Install and update
Install and upgrade
</a>

Binary file not shown.

View file

@ -227,7 +227,7 @@
<li class="md-tabs__item">
<a href="../setup/" class="md-tabs__link">
Install and update
Install and upgrade
</a>
</li>
@ -361,7 +361,7 @@
<li class="md-nav__item">
<a href="../setup/" class="md-nav__link">
Install and update
Install and upgrade
</a>
</li>
@ -509,6 +509,73 @@
<h1 id="support">Support</h1>
<p>Bugs and feature requests should be reported with an issue on <a href="https://gitnet.fr/deblan/side_menu/issues">https://gitnet.fr/deblan/side_menu/issues</a>.</p>
<p>You can also join the official room on Matrix: <a href="https://matrix.to/#/#custommenu:neutralnetwork.org">#custommenu:neutralnetwork.org</a>.</p>
<div id="issues">
<h3>Current issue(s)</h3>
</div>
<script>
const requestHeaders = new Headers({'accept': 'application/json'});
const issues = document.querySelector('#issues')
const createAdmonition = (type, prefix, item) => {
const element = document.createElement('div')
element.innerHTML = `
<div class="admonition ${type}">
<p class="admonition-title">
<a href="${item.html_url}" target="_blank">${prefix} #${item.number}</a>
</p>
<p>
${item.title}
</p>
</div>
`
return element
}
const createEnhancement = (item) => {
return createAdmonition('example', 'Feature', item)
}
const createBug = (item) => {
return createAdmonition('bug', 'Bug', item)
}
const createQuestion = (item) => {
return createAdmonition('question', 'Issue', item)
}
fetch('https://gitnet.fr/api/v1/repos/deblan/side_menu/issues?state=open', {
headers: new Headers({'accept': 'application/json'})
})
.then((response) => {
return response.json()
})
.then((json) => {
if (json.length === 0) {
issues.style.display = 'none'
}
json.forEach((item) => {
let isBug = false
let isEnhancement = false
item.labels.forEach((label) => {
if (label.name === 'bug') {
isBug = true
} else if (label.name === 'enhancement') {
isEnhancement = true
}
})
if (isBug) {
issues.appendChild(createBug(item))
} else if (isEnhancement) {
issues.appendChild(createEnhancement(item))
} else {
issues.appendChild(createQuestion(item))
}
})
})
</script>