Camila Belo
23abde02b6
chore(techdocs-node): bump techdocs container image
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-08-01 13:12:21 +02:00
Ömer Faruk Doğan
ad35364e97
feat(techdocs): add edit button support for bitbucketServer
...
Signed-off-by: Ömer Faruk Doğan <8117265+omerfarukdogan@users.noreply.github.com >
2022-07-27 18:31:13 +03:00
Manuel Stein
ce7219ff87
awsS3 getObject expect match without regex
...
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com >
2022-07-24 19:19:29 +03:00
Manuel Stein
f28ad77d11
awsS3 getObject expect specific error message
...
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com >
2022-07-24 19:12:39 +03:00
Manuel Stein
6c118dd093
wrap aws-sdk errors - (prettier update)
...
there are http errors with no message from aws-sdk, so the error
is wrapped to conform to the @backstage/errors assertError checks
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com >
2022-07-23 18:34:57 +03:00
Manuel Stein
c8196bd37d
wrap aws-sdk errors
...
because there are http errors with no message any error reading the
object is wrapped to conform to the @backstage/error assertError checks
Signed-off-by: Manuel Stein <manuel.stein@nokia-bell-labs.com >
2022-07-22 18:43:44 +03:00
Dang Huynh
99f786e149
Added repo_url to function getRepoUrlFromLocationAnnotation
...
Signed-off-by: Dang Huynh <dhhuynh2@gmail.com >
2022-07-07 14:18:37 -05:00
Camila Belo
f9e2ec2551
Merge pull request #11065 from anicke/techdocs-staticdir
...
[TechDocs] Added configuration for local publishing target
2022-06-23 16:54:42 +02:00
Camila Belo
7ad6bde557
Merge pull request #11839 from namco1992/fix-techdocs-cli-config
...
techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli generate
2022-06-23 15:53:49 +02: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
2c048f8b90
Fix windows test and deprecated redirect method usage.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
2022-06-13 17:46:01 +02:00
Eric Peterson
5296b00d4a
chore: fix local entity path join
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-06-13 14:11:39 +02:00
Mengnan Gong
a5d73da942
techdocs-cli: fix the legacyCopyReadmeMdToIndexMd flag in techdocs-cli
...
generate
Signed-off-by: Mengnan Gong <namco1992@gmail.com >
2022-06-03 14:26:51 +08:00
Eric Peterson
c2a1d8935e
Use @spotify/techdocs v1.0.3 by default.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-05-11 09:41:54 +02:00
Eric Peterson
c57446c858
Merge pull request #10846 from TierMobility/master
...
[TechDocs] Accept sequence node custom tags in mkdocs config validation
2022-04-25 11:37:08 +02:00
Viktor Bahr
465c8770e5
fix(techdocs-node): add trailing newline to fixture
...
Signed-off-by: Viktor Bahr <viktor.bahr@tier.app >
2022-04-25 11:00:48 +02:00
Eric Peterson
9fa68705bf
Update default TechDocs container to v1.0.2
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-04-19 13:26:26 +02:00
Viktor Bahr
24db82d8c1
feat(techdocs-node): accept sequence node custom tags
...
This change to the MKDOCS_SCHEMA lets the validation logic accept
custom tags that are sequence nodes as valid.
Signed-off-by: Viktor Bahr <viktor.bahr@tier.app >
2022-04-14 17:57:47 +02:00
Viktor Bahr
b7b2899e55
test(techdocs-node): sequence node custom tag validation failure
...
This test proves that currently only scalar YAML nodes are considered valid by
the mkdocs YAML validation logic, even though using the `!ENV` tag with
sequential data is officially supported by mkdocs[0].
[0] https://www.mkdocs.org/user-guide/configuration/#environment-variables
Signed-off-by: Viktor Bahr <viktor.bahr@tier.app >
2022-04-14 17:57:47 +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
Patrik Oldsberg
6634ba10d0
techdocs-node: remove custom test setup
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-15 17:25:58 +01:00
Patrik Oldsberg
6869f7db09
techdocs-node: inline azure mocks
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-15 17:25:58 +01:00
Patrik Oldsberg
6ce22dad4d
techdocs-node: inline google storage mock
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-15 17:25:58 +01:00
Patrik Oldsberg
f81513197b
techdocs-node: inline swift sdk mock
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-15 17:25:58 +01:00
Patrik Oldsberg
d25346be78
techdocs-node: inline aws-s3 mock
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-03-15 17:25:57 +01:00
Fredrik Adelöw
6565f2c50b
Merge pull request #10147 from rex4539/typos
...
Fix typos
2022-03-15 11:01:46 +01:00
Emma Indal
b44692890b
tests fixups
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-03-14 22:39:18 +01:00
Emma Indal
cb4f0e4f07
clean up deprecations of techdocs-node plugin
...
Signed-off-by: Emma Indal <emma.indahl@gmail.com >
2022-03-14 22:39:17 +01:00
Dimitris Apostolou
aedd4daa66
Fix typos
...
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com >
2022-03-13 14:12:05 +02:00
Eric Peterson
3e54f6c436
Use @backstage/plugin-search-common instead of @backstage/search-common
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-04 18:47:55 +01:00
Eric Peterson
91bf1e6c1a
Use @backstage/plugin-techdocs-node instead of @backstage/techdocs-common
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-04 09:54:19 +01:00
Eric Peterson
84a8788794
Move packages/techdocs-common -> plugins/techdocs-node
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-03-03 17:43:21 +01:00