Eric Peterson
dc152e0da6
Merge pull request #6773 from SDA-SE/feat/techdocs-repo-url
...
[Techdocs] Set the correct edit_uri or repo_url for documentation pages that are hosted on GitHub and GitLab
2021-09-01 19:11:29 +02:00
Eric Peterson
b894b4cfb9
Explicit assertion for linting.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-08-31 10:25:40 +02:00
Eric Peterson
31d4a456bf
Update local publisher reader to respect case configs on read.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-08-30 20:00:01 +02:00
Eric Peterson
dd35e9e59f
Make local publisher respect case expectations/configs.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-08-30 18:36:23 +02:00
Jussi Hallila
30ed662a35
Implement in-context search bar for tech docs. ( #6651 )
...
* Implement in-context search bar for tech docs
* Add in-context search functionality to tech docs
* Use the existing backend search functionality with tech docs specific filters
* Use material-ui autocomplete to display 10 first search results
* Add tests
Signed-off-by: Jussi Hallila <jussi@hallila.com >
* Remove context and replace it with `withSearch` prop.
Signed-off-by: Jussi Hallila <jussi@hallila.com >
* Bump search-common devp to latest
Signed-off-by: Jussi Hallila <jussi@hallila.com >
* Rename types file to not conflict with hardcoded types.d.ts.
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2021-08-27 12:21:48 +02:00
Dominik Henneke
67ba7e088a
Only write the updated mkdocs.yml file if the content was updated
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-08-27 09:00:37 +02:00
Dominik Henneke
8b0f6f860f
Set the correct edit_uri or repo_url for documentation pages that are hosted on GitHub and GitLab
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-08-27 09:00:37 +02:00
Camila Belo
38b9bd9c63
Fix test describes
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-26 13:26:55 +02:00
Camila Belo
b281d3a7f9
apply review suggestions
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-26 13:08:11 +02:00
Camila Loiola
5f37569058
fix: force using posix path for cloud storages
...
Co-authored-by: Emma Indal <emma.indahl@gmail.com >
Co-authored-by: Otto Sichert
<git@ottosichert.de >
Signed-off-by: Camila Loiola <camilaibs@gmail.com >
2021-08-26 12:53:10 +02: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
Eric Peterson
0d48fccb46
Merge branch 'master' into techdocs-common/case-sensitive-migration
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-08-12 16:28:40 +02:00
Camila Belo
7d58b5331a
fix(techdocs-common): adjust azure storage test
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-12 15:24:39 +02:00
Eric Peterson
52547371fb
Merge branch 'master' into techdocs-common/case-sensitive-migration
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-08-12 11:27:43 +02:00
Eric Peterson
0c58dd73d0
Merge pull request #6488 from backstage/feat/techdocs-deleted-pages
...
Remove stale TechDocs artifacts after publishing new version
2021-08-10 18:46:24 +02:00
Eric Peterson
c2d6c8054d
Publish should not be blocked on inability to list
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-08-09 14:38:33 +02:00
Fredrik Adelöw
923491eece
run prettier formatting
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-08-09 11:54:38 +02:00
Camila Belo
9181e8c6e0
tests(techdocs-common): add globals and types for mocked files
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-09 09:36:42 +02:00
Camila Belo
759f15a14a
test(techdocs-common): refactor storage files mock
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-07 22:00:38 +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
Camila Belo
a7a55632d3
test(techdocs-common): fix failing tests for all providers
...
Co-authored-by: Eric Peterson <ericperterson@spotify.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-05 15:33:10 +02:00
Camila Belo
a72470c193
feat(techdocs-common): lowercase entity triplet path for Azure
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-04 12:12:14 +02:00
Camila Belo
1fb4b4eb44
feat(techdocs-common): lowercase entity triplet path for AWS
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-04 12:12:14 +02:00
Camila Belo
af8e1d1b6d
feat(techdocs-common): lowercase entity triplet path for GCS
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-04 12:12:00 +02:00
Camila Belo
822240373e
refactor(techdocs-common): use continuation token for listing blob files
...
Co-authored-by: Eric Peterson <ericpeterson@spotify.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 17:16:42 +02:00
Camila Belo
5486071aa8
test(techdocs-common): cover bulkStorageOperation helper
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 11:52:19 +02:00
Camila Belo
7eef84a040
test(techdocs-common): cover getCloudPathForLocalPath helper
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 10:28:15 +02:00
Camila Belo
ab9b315e2a
test(techdocs-common): cover getStaleFiles helper
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
9cf37164b1
test(techdocs-common): cover stale files deletion for Azure
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
5386bcc989
test(techdocs-common): cover stale files deletion for AWS
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
da705a74e0
test(techdocs-common): cover stale files deletion for GCS
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
caf519f69c
fix(techdocs): make aws and gcs tests pass
...
Co-authored-by: Eric Peterson <ericpeterson@spotify.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
6f9e155973
fix(techdocs): make azure tests pass
...
Co-authored-by: Eric Peterson <ericpeterson@spotify.com >
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
fedf69a396
fix(techdocs): remove unused imported module
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Camila Belo
064f8d2487
feat(techdocs): delete stale files when publishing to Azure
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2021-08-03 09:34:12 +02:00
Otto Sichert
06b507283b
WIP: Remove stale TechDOcs files from AWS
...
Signed-off-by: Otto Sichert <git@ottosichert.de >
2021-08-03 09:34:12 +02:00
Otto Sichert
be87bc0584
Remove stale TechDocs artifacts after publishing new version for GCS
...
Co-authored-by: Camila Belo <camilaibs@gmail.com >
Co-authored-by: Eric Peterson <ericpeterson@spotify.com >
Signed-off-by: Otto Sichert <git@ottosichert.de >
2021-08-03 09:34:12 +02:00
Eric Peterson
8ef28f5dbc
Remove all legacy preparer code and dependencies.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-07-28 18:45:51 +02:00
Eric Peterson
aa4c00f4be
Merge pull request #6634 from backstage/mob/yaml-support
...
[TechDocs] Add support for mkdocs.yaml
2021-07-28 16:18:05 +02:00
Eric Peterson
a85d6df823
Use verbose level when migrating docs so that techdocs-cli will display when --verbose flag is used.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-07-28 15:39:37 +02:00
Eric Peterson
45ac799537
Fix path
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-07-28 15:14:11 +02:00
Eric Peterson
93b689486b
Add explicit support for mkdocs.yaml files when present.
...
Co-authored-by: Camila Loiola <camilaibs@gmail.com >
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-07-28 14:51:46 +02:00
Dominik Henneke
296d8e3832
Delete obsolete changes
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-07-21 15:18:38 +02:00
Dominik Henneke
d591b764d0
Remove the short-form annotation and only support the full dir:. option
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-07-21 15:13:16 +02:00
Dominik Henneke
f1ebedb421
Merge remote-tracking branch 'upstream/master' into feat/relative-ref-tmp
2021-07-21 12:16:14 +02:00
Himanshu Mishra
c8dbc9aaa1
techdocs: add a helpful link to docs page for warning
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-07-20 12:42:04 +02:00
Phil Kuang
6e5aed1c99
fix(techdocs): properly validate mkdocs docs_dir property
...
Signed-off-by: Phil Kuang <pkuang@factset.com >
2021-07-16 15:04:33 -04:00
Dominik Henneke
d32d01e5bc
Introduce the annotation backstage.io/techdocs-ref: <relative-target> as an alias for backstage.io/techdocs-ref: dir:<relative-target>
...
Signed-off-by: Dominik Henneke <dominik.henneke@sda-se.com >
2021-07-16 10:16:32 +02:00
Eric Peterson
54c25db339
Merge pull request #6071 from andrewthauer/techdocs-custom-docker
...
feat(techdocs-common): add custom docker image support
2021-07-15 10:39:14 +02:00
Eric Peterson
ef4a4cdefd
Merge pull request #6341 from SDA-SE/feat/techdocs-build-logs
2021-07-14 23:30:15 +02:00