TechDocs: browse metadata (#2682)
* feat(techdocs): TechDocsPageWrapper to take in labels prop and use TechDocsHeader component * feat(techdocs): new TechDocsHeader component as wrapper around Header from core * feat(techdocs): TechDocsPage metadata * feat(techdocs): TechDocsMetadata class responsible for reading metadata from generated techdocs metadata json file * fix(techdocs): delete TechDocsPageWrapper component * fix(app-config): delete /docs from request url * feat(techdocs): TechDocsHeader with labels to browse metadata * fix(techdocs): move metadata to backend plugin * feat(techdocs-backend): introduce two new metadata routes * feat(techdocs): new techdocs api to be responsible to request metadata from backend * feat(techdocs): register new api for plugin * fix(techdocs): reader to take in onReady prop * fix(techdocs): TechDocsHome component to use its own header * fix(techdocs): TechDocsPage responsible to get metadata and pass it down to the TechDocsHeader * fix(techdocs): component tests for both TechDocsHeader and TechDocsPage * fix(techdocs): adjust api to use /docs in url since it was taken away in requestURL * fix(tests): move assertion into act * fix(techdocs): rename TechDocsHeader to TechDocsPageHeader * fix(techdocs): rename TechDocsHeader to TechDocsPageHeader * fix(techdocs-backend): add some logs * Update plugins/techdocs/src/reader/components/TechDocsPage.test.tsx * delete unused import
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ organization:
|
||||
|
||||
techdocs:
|
||||
storageUrl: http://localhost:7000/api/techdocs/static/docs
|
||||
requestUrl: http://localhost:7000/api/techdocs/docs
|
||||
requestUrl: http://localhost:7000/api/techdocs
|
||||
generators:
|
||||
techdocs: 'docker'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user