mirror of
https://github.com/flarum/framework.git
synced 2025-02-24 20:18:41 +08:00
Remove .html
on all docs urls
Now that Flarum docs have been moved to docusaurus, URLs no longer end with `.html`. Closes https://github.com/flarum/core/issues/3092
This commit is contained in:
parent
9df4676562
commit
b5faef9a89
@ -23,7 +23,7 @@ export default class HeaderSecondary extends Component {
|
|||||||
|
|
||||||
items.add(
|
items.add(
|
||||||
'help',
|
'help',
|
||||||
<LinkButton href="https://docs.flarum.org/troubleshoot.html" icon="fas fa-question-circle" external={true} target="_blank">
|
<LinkButton href="https://docs.flarum.org/troubleshoot/" icon="fas fa-question-circle" external={true} target="_blank">
|
||||||
{app.translator.trans('core.admin.header.get_help')}
|
{app.translator.trans('core.admin.header.get_help')}
|
||||||
</LinkButton>
|
</LinkButton>
|
||||||
);
|
);
|
||||||
|
@ -21,7 +21,7 @@ class ServiceProvider implements ExtenderInterface
|
|||||||
*
|
*
|
||||||
* Service providers are an advanced feature and might give access to Flarum internals that do not come with backward compatibility.
|
* Service providers are an advanced feature and might give access to Flarum internals that do not come with backward compatibility.
|
||||||
* Please read our documentation about service providers for recommendations.
|
* Please read our documentation about service providers for recommendations.
|
||||||
* @see https://docs.flarum.org/extend/service-provider.html
|
* @see https://docs.flarum.org/extend/service-provider/
|
||||||
*
|
*
|
||||||
* @param string $serviceProviderClass The ::class attribute of the service provider class.
|
* @param string $serviceProviderClass The ::class attribute of the service provider class.
|
||||||
* @return self
|
* @return self
|
||||||
|
@ -53,7 +53,7 @@ class WritablePaths implements PrerequisiteInterface
|
|||||||
})->map(function ($path, $index) {
|
})->map(function ($path, $index) {
|
||||||
return [
|
return [
|
||||||
'message' => 'The '.$this->getAbsolutePath($path).' directory is not writable.',
|
'message' => 'The '.$this->getAbsolutePath($path).' directory is not writable.',
|
||||||
'detail' => 'Please make sure your web server/PHP user has write access to this directory'.(in_array($index, $this->wildcards) ? ' and its contents' : '').'. Read the <a href="https://docs.flarum.org/install.html#folder-ownership">installation documentation</a> for a detailed explanation and steps to resolve this error.'
|
'detail' => 'Please make sure your web server/PHP user has write access to this directory'.(in_array($index, $this->wildcards) ? ' and its contents' : '').'. Read the <a href="https://docs.flarum.org/install/#folder-ownership">installation documentation</a> for a detailed explanation and steps to resolve this error.'
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user