Commit Graph

124 Commits

Author SHA1 Message Date
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
github-actions[bot] 3c8bb2854d Version Packages 2022-03-03 15:23:53 +00:00
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
github-actions[bot] c9da151d84 Version Packages 2022-02-24 13:54:37 +00:00
dependabot[bot] ed78516480 chore(deps-dev): bump cypress from 7.3.0 to 9.5.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.3.0 to 9.5.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.3.0...v9.5.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 04:19:24 +00:00
Emma Indal f6666642d2 Merge pull request #9546 from backstage/emmaindal/techdocs-cli-tests
[TechDocs CLI] adding cypress testing
2022-02-21 15:54:53 +01:00
Emma Indal 2c2c52426e make Vale linter happy
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-18 15:20:24 +01:00
Emma Indal 820a746061 update snapshot
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-18 14:47:47 +01:00
Emma Indal df3c646c3a clarify output from script + adjust cypress test command
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-18 14:47:20 +01:00
Emma Indal a6352f90ea update docs based on new example documentation
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-18 14:46:21 +01:00
Emma Indal 77a13948c1 add example docs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-18 14:40:32 +01:00
Camila Belo c3c3418912 feat(plugin-techdocs): adjust theme styles
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
Emma Indal 21d4ee819f Docs updates
Signed-off-by: Emma Indal <emma.indahl@gmail.com>

Co-authored-by: Bodil Björklund <bodilb@spotify.com>
2022-02-17 14:22:19 +01:00
Emma Indal 4b574efb65 add visual regression tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal fcf63b8a8b update some tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal 4789c33341 update docs
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal 4aa501594f add cypress tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal c84b62d900 add cypress config
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal d34a821869 add note to documentation
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal d972a6d583 add cypress dev dependency and script to run
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
Emma Indal 269bc0a821 add docs for how to run cypress tests
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
2022-02-17 14:22:18 +01:00
github-actions[bot] 408b0300cb Version Packages 2022-02-17 10:38:59 +00: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
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
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
Patrik Oldsberg a06665e272 cli: avoid preprack failure if dist/embedded-app doesn't exist
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-08 10:12:34 +01:00
Ben Lambert 424d4d6ef6 Merge pull request #9371 from backstage/rugvip/td-cli-build
techdocs-cli: simplify dev setup and optimize build
2022-02-07 18:05:35 +01:00
Patrik Oldsberg 814a3ff480 techdocs-cli: switch to embedding app using prepack script
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-05 14:00:31 +01:00
Patrik Oldsberg b70c186194 techdocs-cli: unified dev and production build through config detection
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-05 14:00:30 +01:00
Patrik Oldsberg 22f4ecb0e6 use link: rather than file: for local dependencies
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-05 12:45:03 +01:00
Patrik Oldsberg a532ac2e10 embedded-techdocs-app -> techdocs-cli-embedded-app
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
2022-02-03 11:53:28 +01: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
Fredrik Adelöw 14472509a3 Move to a file dependency for embedded-techdocs-app
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2022-01-27 13:07:39 +01:00
github-actions[bot] 406848efee Version Packages 2022-01-27 11:07:27 +00:00
blam 7d01d0479e chore: bumping some other packages whilst we are here too
Signed-off-by: blam <ben@blam.sh>
2022-01-21 14:03:28 +01:00
blam 663531d6af chore: fixing some and bringing depdendencies up to date
Signed-off-by: blam <ben@blam.sh>
2022-01-21 14:03:28 +01: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
github-actions[bot] b04011602b Version Packages 2022-01-13 14:23:13 +00:00
github-actions[bot] 7d27a11079 Version Packages 2021-12-30 11:06:46 +00:00
github-actions[bot] 3d68c45ef7 Version Packages 2021-12-23 12:23:34 +00:00
github-actions[bot] 9068128fd8 Version Packages 2021-12-09 12:02:28 +00:00
github-actions[bot] 29f2606ed9 Version Packages 2021-12-02 12:35:24 +00:00
Fredrik Adelöw e7230ef814 bump react-dev-utils
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2021-11-25 11:45:58 +01:00
Camila Belo c0a624b03f Merge pull request #8179 from cmpadden/snyk-ignore-techdocs-cli
Add .snyk ignore file for @techdocs/cli
2021-11-23 13:03:00 +01:00