@backstage/plugin-techdocs 0.0.0-nightly-20220220022427 → 0.0.0-nightly-20220223022848
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.
- package/CHANGELOG.md +25 -6
- package/dist/index.d.ts +4 -4
- package/dist/index.esm.js +387 -140
- package/dist/index.esm.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,38 @@
|
|
|
1
1
|
# @backstage/plugin-techdocs
|
|
2
2
|
|
|
3
|
-
## 0.0.0-nightly-
|
|
3
|
+
## 0.0.0-nightly-20220223022848
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- 2262fe19c9: **BREAKING**: Removed support for passing in an explicit `entity` prop to entity page extensions, which has been deprecated for a long time. This is only a breaking change at the TypeScript level, as this property was already ignored.
|
|
8
|
+
- 4faae902eb: Adjust the Tech Docs page theme as a side effect of the `mkdocs-material` theme update.
|
|
9
|
+
|
|
10
|
+
If you use the `spofify/techdocs` image to build your documentation, make sure you use version `spotify/techdocs:v0.3.7`.
|
|
11
|
+
|
|
12
|
+
**Breaking**: The `PyMdown` extensions have also been updated and some syntax may have changed, so it is recommended that you check the extension's documentation if something stops working.
|
|
13
|
+
For example, the syntax of tags below was deprecated in `PyMdown` extensions `v.7.0` and in `v.8.0.0` it has been removed. This means that the old syntax specified below no longer works.
|
|
14
|
+
|
|
15
|
+
````markdown
|
|
16
|
+
```markdown tab="tab"
|
|
17
|
+
This is some markdown
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
```markdown tab="tab 2"
|
|
21
|
+
This is some markdown in tab 2
|
|
22
|
+
```
|
|
23
|
+
````
|
|
8
24
|
|
|
9
25
|
### Patch Changes
|
|
10
26
|
|
|
27
|
+
- 3bbb4d98c6: Changed <TechdocsPage /> to use <NotFoundErrorPage /> from createApp
|
|
28
|
+
- b776ce5aab: Replaced use of deprecated `useEntityListProvider` hook with `useEntityList`.
|
|
11
29
|
- Updated dependencies
|
|
12
|
-
- @backstage/plugin-catalog@0.0.0-nightly-
|
|
13
|
-
- @backstage/
|
|
14
|
-
- @backstage/catalog-
|
|
15
|
-
- @backstage/
|
|
16
|
-
- @backstage/
|
|
30
|
+
- @backstage/plugin-catalog@0.0.0-nightly-20220223022848
|
|
31
|
+
- @backstage/core-components@0.0.0-nightly-20220223022848
|
|
32
|
+
- @backstage/plugin-catalog-react@0.0.0-nightly-20220223022848
|
|
33
|
+
- @backstage/catalog-model@0.0.0-nightly-20220223022848
|
|
34
|
+
- @backstage/integration@0.0.0-nightly-20220223022848
|
|
35
|
+
- @backstage/plugin-search@0.0.0-nightly-20220223022848
|
|
17
36
|
|
|
18
37
|
## 0.13.4
|
|
19
38
|
|
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import * as _backstage_core_components from '@backstage/core-components';
|
|
|
8
8
|
import { TableColumn, TableProps } from '@backstage/core-components';
|
|
9
9
|
import { UserListFilterKind } from '@backstage/plugin-catalog-react';
|
|
10
10
|
import { CSSProperties } from '@material-ui/styles';
|
|
11
|
-
import React from 'react';
|
|
11
|
+
import React, { PropsWithChildren } from 'react';
|
|
12
12
|
import * as _material_table_core from '@material-table/core';
|
|
13
13
|
|
|
14
14
|
declare type TechDocsMetadata = {
|
|
@@ -283,12 +283,12 @@ declare type Props$1 = {
|
|
|
283
283
|
};
|
|
284
284
|
declare const Reader: ({ entityRef, onReady, withSearch, }: Props$1) => JSX.Element;
|
|
285
285
|
|
|
286
|
-
declare type TechDocsPageHeaderProps = {
|
|
286
|
+
declare type TechDocsPageHeaderProps = PropsWithChildren<{
|
|
287
287
|
entityRef: EntityName;
|
|
288
288
|
entityMetadata?: TechDocsEntityMetadata;
|
|
289
289
|
techDocsMetadata?: TechDocsMetadata;
|
|
290
|
-
}
|
|
291
|
-
declare const TechDocsPageHeader: ({ entityRef, entityMetadata, techDocsMetadata, }: TechDocsPageHeaderProps) => JSX.Element;
|
|
290
|
+
}>;
|
|
291
|
+
declare const TechDocsPageHeader: ({ entityRef, entityMetadata, techDocsMetadata, children, }: TechDocsPageHeaderProps) => JSX.Element;
|
|
292
292
|
|
|
293
293
|
declare const isTechDocsAvailable: (entity: Entity) => boolean;
|
|
294
294
|
declare const Router: () => JSX.Element;
|