Merge pull request #57661 from nextcloud/backport/56794/stable32

[stable32] docs(settings): Removing the developerDocsUrl
This commit is contained in:
Andy Scherzinger 2026-02-11 13:33:49 +01:00 committed by GitHub
commit 73dd3fedec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 8 additions and 13 deletions

View file

@ -93,7 +93,6 @@ class AppSettingsController extends Controller {
$this->initialState->provideInitialState('appstoreEnabled', $this->config->getSystemValueBool('appstoreenabled', true));
$this->initialState->provideInitialState('appstoreBundles', $this->getBundles());
$this->initialState->provideInitialState('appstoreDeveloperDocs', $this->urlGenerator->linkToDocs('developer-manual'));
$this->initialState->provideInitialState('appstoreUpdateCount', count($this->getAppsWithUpdates()));
$groups = array_map(static fn (IGroup $group): array => [

View file

@ -91,9 +91,6 @@
</NcAppNavigationItem>
</template>
<NcAppNavigationItem id="app-developer-docs"
:name="t('settings', 'Developer documentation ↗')"
:href="developerDocsUrl" />
</template>
</NcAppNavigation>
</template>
@ -115,7 +112,6 @@ import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
import APPSTORE_CATEGORY_ICONS from '../constants/AppstoreCategoryIcons.ts'
const appstoreEnabled = loadState<boolean>('settings', 'appstoreEnabled', true)
const developerDocsUrl = loadState<string>('settings', 'appstoreDeveloperDocs', '')
const store = useAppsStore()
const categories = computed(() => store.categories)

View file

@ -183,7 +183,7 @@ class AppSettingsControllerTest extends TestCase {
]);
$this->initialState
->expects($this->exactly(5))
->expects($this->exactly(4))
->method('provideInitialState');
$policy = new ContentSecurityPolicy();
@ -223,7 +223,7 @@ class AppSettingsControllerTest extends TestCase {
]);
$this->initialState
->expects($this->exactly(5))
->expects($this->exactly(4))
->method('provideInitialState');
$policy = new ContentSecurityPolicy();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long