Jussi Hallila
ff0a16fb1a
Add techdocs-core plugin to techdocs builder automatically
...
Currently users need to modify their mkdocs files to container techdocs-core plugin manually when they want to expose techdocs in Backstage. To have a standardized set of extensions without the need to modify existing files (and possibly pollute alternative/additional mkdocs pipelines) this should be added automatically.
This PR adds a helper function to modify the mkdocs file to contain this plugin if it doesn't exist in the config file.
Co-authored-by: @emmaindal
Signed-off-by: Jussi Hallila <jussi@hallila.com >
2022-03-01 08:20:40 +01:00
Eric Peterson
022891fe78
Merge pull request #9830 from jeremyguarini/fix_gcs_auth
...
Fix authentication with GCS for techdocs
2022-02-26 17:13:50 +01:00
Jeremy Guarini
ac25a0f577
When using GCS for the techdocs storage and not setting the GOOGLE_APPLICATION_CREDENTIALS environment variable, authentication and accessing the bucket fails due to the project ID not being found.
...
Relevant log output
```
techdocs error from GCS client library: Unable to detect a Project Id in the current environment.
```
By adding the projectID when initializing the Storage client, this should fix the issue. This current approach expects the project_id to be in the json credentials, which it usually is.
Another option would be to re-add the app-config projectID value back and allow users to specify the projectID that way as well.
Signed-off-by: Jeremy Guarini <jguarini@paloaltonetworks.com >
2022-02-25 21:10:42 -08:00
github-actions[bot]
c9da151d84
Version Packages
2022-02-24 13:54:37 +00:00
Camila Belo
c13f768521
refactor(techdocs-common): apply review suggestions
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-24 09:28:08 +01:00
Camila Belo
bda799308c
chore(techdocs-common): update api reports
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-24 08:41:14 +01:00
Camila Belo
947dcc465a
refactor(techdocs-common): clean up helpers api
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-24 08:41:13 +01:00
Camila Belo
7a9b906ec7
refactor(techdocs-common): clean up publish api
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-24 08:41:13 +01:00
Camila Belo
2f16b943c9
refactor(techdocs-common): clean up preparer api
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-24 08:41:13 +01:00
Camila Belo
ced3d7cef8
refactor(techdocs-common): clean up generator api
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-24 08:41:13 +01:00
Camila Belo
8651981680
Merge pull request #9569 from backstage/bump-mkdocs-material
...
[TechDocs] Adjust theme styles
2022-02-21 11:38:07 +01:00
Patrik Oldsberg
ba68ea4450
apply 0.68.1 fixes to master
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-18 11:30:15 +01:00
Camila Belo
fe9342e71e
chore(techdocs-common): upgrade default docker image
...
Signed-off-by: Camila Belo <camilaibs@gmail.com >
2022-02-18 10:19:01 +01:00
Patrik Oldsberg
209fd128e6
removed all references to the removed SCM-specific location types
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-17 17:46:04 +01:00
github-actions[bot]
408b0300cb
Version Packages
2022-02-17 10:38:59 +00:00
Patrik Oldsberg
d99c3c2177
Merge pull request #9254 from backstage/rugvip/add-roles
...
packages: add roles to all packages
2022-02-16 18:40:37 +01:00
Patrik Oldsberg
9892d74326
cli: renamed script commands to package
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-15 21:27:12 +01:00
Johan Haals
7aeb491394
catalog-model: deprecate ENTITY_DEFAULT_NAMESPACE, replace with DEFAULT_NAMESPACE
...
Signed-off-by: Johan Haals <johan.haals@gmail.com >
2022-02-15 10:27:57 +01:00
Patrik Oldsberg
8f82d80adf
migrate all package scripts
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:07 +01:00
Patrik Oldsberg
b521c1b83b
detect all package roles
...
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com >
2022-02-14 21:50:03 +01:00
Fredrik Adelöw
216725b434
catalog-model: rename parse/stringifyLocationRef
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-02-11 17:11:10 +01:00
github-actions[bot]
e4791789d1
Version Packages
2022-02-10 11:06:33 +00:00
github-actions[bot]
e74f416a00
Version Packages (next)
2022-02-08 19:38:17 +00:00
github-actions[bot]
a12bb7b065
Version Packages
2022-02-03 09:42:25 +00:00
github-actions[bot]
51eecb3f03
Version Packages (next)
2022-02-02 14:28:47 +00:00
github-actions[bot]
e1580cf73a
Version Packages (next)
2022-02-01 08:53:29 +00:00
github-actions[bot]
406848efee
Version Packages
2022-01-27 11:07:27 +00:00
Fredrik Adelöw
7fdeeead48
Merge pull request #9050 from oparaskos/oparaskos-patch-1
...
Fix interpolated string `Failed to generate docs...`
2022-01-21 10:11:37 +01:00
Oliver Paraskos
46dcbaeb64
Fix interpolated string Failed to generate docs...
...
A string was using the wrong kind of quotes and so the interpolated fields weren't.
Signed-off-by: Oliver Paraskos <oliver@tryflux.com >
2022-01-20 10:52:15 +00:00
github-actions[bot]
8b18d054f3
Version Packages
2022-01-20 10:33:31 +00:00
github-actions[bot]
a94a2b8b3f
Version Packages (next)
2022-01-18 13:49:07 +00:00
Eric Peterson
47277c0d8c
Bump @spotify/techdocs container to v0.3.6
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2022-01-17 17:34:01 +01:00
github-actions[bot]
b04011602b
Version Packages
2022-01-13 14:23:13 +00:00
Johan Haals
618d78495c
Merge pull request #8825 from backstage/freben/a-tale-of-hyphens-and-braces
...
🧹 Got rid of the last brace-typed and hyphen-less params etc
2022-01-10 14:27:21 +01:00
Fredrik Adelöw
5333451def
Got rid of the last brace-typed and hyphen-less params etc
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-10 09:48:12 +01:00
Fredrik Adelöw
9632cda521
Fix the last renmnants of the old copyright header
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2022-01-09 22:10:52 +01:00
github-actions[bot]
7d27a11079
Version Packages
2021-12-30 11:06:46 +00:00
dependabot[bot]
52ba8760d8
build(deps): bump @azure/identity from 1.5.0 to 2.0.1
...
Bumps [@azure/identity](https://github.com/Azure/azure-sdk-for-js ) from 1.5.0 to 2.0.1.
- [Release notes](https://github.com/Azure/azure-sdk-for-js/releases )
- [Commits](https://github.com/Azure/azure-sdk-for-js/compare/@azure/identity_1.5.0...@azure/identity_2.0.1 )
---
updated-dependencies:
- dependency-name: "@azure/identity"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-23 13:12:38 +00:00
github-actions[bot]
3d68c45ef7
Version Packages
2021-12-23 12:23:34 +00:00
Tim Jacomb
521b806109
Update docs for techdocs runCommand ( #8332 )
2021-12-09 15:38:48 +01:00
github-actions[bot]
9068128fd8
Version Packages
2021-12-09 12:02:28 +00:00
Fredrik Adelöw
dcd1a0c3f4
Do not unpack arguments directly on exported items
...
Signed-off-by: Fredrik Adelöw <freben@gmail.com >
2021-12-07 19:42:10 +01:00
Emma Indal
594e73aa1c
use path.sep instead of / to accound for differnt platforms ( #8380 )
...
Signed-off-by: Emma Indal <emmai@spotify.com >
2021-12-06 14:29:07 +01:00
Otto Sichert
731e9293bd
Merge pull request #6335 from backstage/iameap/techdocs-cache
...
[TechDocs] Optional static resource caching
2021-12-06 10:38:30 +01:00
Eric Peterson
ef600b3c8c
Review feedback.
...
Signed-off-by: Eric Peterson <i.am@eric.pe >
2021-12-05 16:50:09 -06:00
github-actions[bot]
29f2606ed9
Version Packages
2021-12-02 12:35:24 +00:00
Eric Peterson
dcabc18f7e
Fix tests after rebase.
...
Signed-off-by: Eric Peterson <i.am@eric.pe >
2021-11-28 13:44:21 -07:00
Eric Peterson
6e9e82b99d
Review feedback.
...
Signed-off-by: Eric Peterson <i.am@eric.pe >
2021-11-28 13:40:51 -07:00
Eric Peterson
12157e8f5b
Fix up tests after rebase.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-11-28 13:16:04 -07:00
Eric Peterson
6e618bef06
Fix up types/tests/report.
...
Signed-off-by: Eric Peterson <ericpeterson@spotify.com >
2021-11-28 13:16:04 -07:00