@strapi/plugin-documentation 4.0.0-next.14 → 4.0.0-next.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,11 +6,39 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import React from 'react';
|
|
9
|
-
import {
|
|
9
|
+
import { useIntl } from 'react-intl';
|
|
10
|
+
import { CheckPagePermissions, NoContent } from '@strapi/helper-plugin';
|
|
11
|
+
import { Layout, HeaderLayout, ContentLayout } from '@strapi/parts/Layout';
|
|
12
|
+
import { Main } from '@strapi/parts/Main';
|
|
10
13
|
import pluginPermissions from '../../permissions';
|
|
14
|
+
import { getTrad } from '../../utils';
|
|
11
15
|
// import HomePage from '../HomePage';
|
|
12
16
|
|
|
13
|
-
const ComingSoon = () =>
|
|
17
|
+
const ComingSoon = () => {
|
|
18
|
+
const { formatMessage } = useIntl();
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<Layout>
|
|
22
|
+
<Main>
|
|
23
|
+
<HeaderLayout
|
|
24
|
+
title={formatMessage({
|
|
25
|
+
id: getTrad('plugin.name'),
|
|
26
|
+
defaultMessage: 'Documentation',
|
|
27
|
+
})}
|
|
28
|
+
/>
|
|
29
|
+
<ContentLayout>
|
|
30
|
+
<NoContent
|
|
31
|
+
content={{
|
|
32
|
+
id: getTrad('coming.soon'),
|
|
33
|
+
defaultMessage:
|
|
34
|
+
'This content is currently under construction and will be back in a few weeks!',
|
|
35
|
+
}}
|
|
36
|
+
/>
|
|
37
|
+
</ContentLayout>
|
|
38
|
+
</Main>
|
|
39
|
+
</Layout>
|
|
40
|
+
);
|
|
41
|
+
};
|
|
14
42
|
|
|
15
43
|
function App() {
|
|
16
44
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@strapi/plugin-documentation",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.15",
|
|
4
4
|
"description": "Create an OpenAPI Document and visualize your API with SWAGGER UI.",
|
|
5
5
|
"strapi": {
|
|
6
6
|
"displayName": "Documentation",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"test": "echo \"no tests yet\""
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@strapi/helper-plugin": "4.0.0-next.
|
|
16
|
+
"@strapi/helper-plugin": "4.0.0-next.15",
|
|
17
17
|
"cheerio": "^1.0.0-rc.5",
|
|
18
18
|
"fs-extra": "^9.1.0",
|
|
19
19
|
"koa-static": "^5.0.0",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"npm": ">=6.0.0"
|
|
71
71
|
},
|
|
72
72
|
"license": "SEE LICENSE IN LICENSE",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "3d2740ae0d80d9ed61d1429a92756bbe39fa97be"
|
|
74
74
|
}
|