Commit Graph

33 Commits

Author SHA1 Message Date
djamaile 60af8017dd chore: expand techdocs.publisher.type with new types
Signed-off-by: djamaile <rdjamaile@gmail.com>
2023-09-07 14:16:18 +02:00
Aswath S 0de6b837f4 Merge branch 'backstage:master' into feat/techdocs-azurite-support 2023-08-24 20:51:59 +05:30
titanventura 27d7c74922 Refactored config.d.ts to make connectionString and credentials optional
Signed-off-by: titanventura <aswath7862001@gmail.com>
2023-08-24 20:51:40 +05:30
titanventura c258bd395f Refactored azureBlobStorage, changelog, techdocs-backend config
Signed-off-by: titanventura <aswath7862001@gmail.com>
2023-08-22 23:22:37 +05:30
Dominik Schwank 10a86bd4ae feat: support custom default plugins for techdocs
Signed-off-by: Dominik Schwank <dominik.schwank@sda.se>
2023-07-26 13:42:20 +02:00
Clare Liguori e40790d0c2 Use integration-aws-node for credentials in S3 Techdocs
Signed-off-by: Clare Liguori <liguori@amazon.com>
2022-11-28 14:56:13 -08:00
Patrick Jungermann a6d779d58a chore: remove explicit default visibility at config.d.ts files
Signed-off-by: Patrick Jungermann <Patrick.Jungermann@gmail.com>
2022-10-20 00:18:44 +02:00
James Turley aa524a5377 Add projectId config option to GCS techdocs publisher
Fixes #13049

Signed-off-by: James Turley <jamesturley@gocardless.com>
2022-08-22 15:47:18 +01:00
Niklas Aronsson 860765ff45 [TechDocs] Added configuration for local publishing target
This patch adds a configuration option for setting the "local"
techdocs target directory. The target directory can be set using
the "techdocs.publisher.local.publishDirectory".

This fixes two "TODOs" in the "plugins/techdocs-node/src/stages
/publish/local.ts" file:

*  Use a more persistent storage than node_modules or /tmp directory.
   Make it configurable with techdocs.publisher.local.publishDirectory
*  Move the logic of setting staticDocsDir based on config over to
   fromConfig, and set the value as a class parameter.

Signed-off-by: Niklas Aronsson <niklasar@axis.com>
2022-06-16 22:27:39 +02:00
Eric Peterson bcf1a2496c Nest config under mkdocs key.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2022-04-05 17:33:18 +02:00
Phil Kuang 9ab9ce617e fix(techdocs): do not copy docs/README.md as docs/index.md
Signed-off-by: Phil Kuang <pkuang@factset.com>
2022-04-04 12:57:38 -04:00
Emma Indal b83063afe0 clean up deprecations of techdocs-backend plugin
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-03-14 22:39:18 +01:00
Eric Peterson ef04b09f75 Make cache readTimeout configurable.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:04 -07:00
Eric Peterson 0a44eb7d52 Initial implementation of TechDocs cache in backend plugin
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-28 13:16:03 -07:00
Otto Sichert b23bc7f9c3 Change default port of backend to 7007 due to MacOS Control Center update
Signed-off-by: Otto Sichert <git@ottosichert.de>
2021-11-18 16:45:57 +01:00
Eric Peterson b0c7748ab5 Ensure sse config is optional; pass through sse from constructor.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
2021-11-16 10:34:56 +01:00
therynamo 9e64a7ac1e pr suggestions
Signed-off-by: therynamo <theryn.groetken@gemini.com>
2021-11-15 10:56:54 -06:00
Andrew Thauer b45607a2ec fix: make techdocs s3 credentials optional in config schema
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-10-28 17:56:59 -04:00
Mert Can Bilgiç 58452cdb72 OpenStack Swift SDK changed from "pkgcloud" to Trendyol's own OpenStack Swift SDK (#6839) 2021-08-25 22:16:10 +02:00
Camila Belo 2f4f15846d docs(techdocs-common): add case sentitive migration steps
Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-08-09 12:33:28 +02:00
Camila Belo bf4ab56750 feat(techdocs-common): add legacy casing config for all providers
Co-authored-by: Eric Peterson <ericpeterson@spotify.com>
Signed-off-by: Camila Belo <camilaibs@gmail.com>
2021-08-06 11:05:31 +02:00
Andrew Thauer d5eaab91dd feat(techdocs-common): add custom docker image support
Signed-off-by: Andrew Thauer <athauer@wealthsimple.com>
2021-07-13 11:26:17 -04:00
Fredrik Adelöw a88073c29a Update copyright headers
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-06-18 20:26:42 +02:00
Raghunandan a1351acc87 awsS3 option endpoint -> s3ForcePathStyle
Signed-off-by: Raghunandan <soapraj@gmail.com>
2021-04-30 13:50:18 +02:00
Jussi Hallila e9e56b01ac Add possibility to use path style discovery on S3 tech docs. Enables the possibility to support S3-like buckets that rely on path style API like Localstack.
Signed-off-by: Jussi Hallila <jussi@hallila.com>
2021-04-29 10:54:42 +02:00
Himanshu Mishra e7baa0d2ed TechDocs: Separate backend and frontend config schema declarations
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-03-16 15:48:46 +01:00
erdoganoksuz de313a1c94 swift publisher
Signed-off-by: Mert Can Bilgiç <mert.bilgic@trendyol.com>
2021-03-03 11:46:02 +03:00
Fredrik Adelöw f37992797a got rid of some attr and cleaned up a bit in techdocs schema 2021-02-18 11:15:18 +01:00
Himanshu Mishra 93a53ea093 TechDocs: Use @deprecated for techdocs config urls 2021-02-02 23:16:09 +01:00
Parth Shandilya e44925723e TechDocs: Make requestUrl and storageUrl optional configs by using discovery APIs
closes #3715

Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net>
2021-02-02 13:51:04 +01:00
keshan 23cee0d831 typo corrected 2020-12-21 16:33:39 +05:30
keshan e53d4a2ca8 updated based on the feedbacks provided 2020-12-21 16:26:58 +05:30
keshan 359f9d2d8c Introduced config schema for techdocs plugins 2020-12-21 16:26:57 +05:30