Commit Graph

5153 Commits

Author SHA1 Message Date
Himanshu Mishra a5e6e17fd3 Avoid duplication, redirect to Backstage getting started 2020-09-11 23:38:34 +02:00
Himanshu Mishra 64d2edc097 Updates to the TechDocs overview page
- Add a one line context to what docs-like-code means
- Add link to announcement blog post which is very in-depth about TechDocs
- Milestone update and typo
2020-09-11 23:35:32 +02:00
Himanshu Mishra 7da352e200 Use TechDocs instead of docs-like-code 2020-09-11 23:20:44 +02:00
Tim Jacomb c95fd141ae Remove hardcoded isOrg 2020-09-11 22:17:58 +01:00
Himanshu Mishra 522794b063 Fix view for Table of Contents on smaller screens
For backstage.io/docs and backstage.io/blog pages, we have a sidebar with Table of Contents. On smaller screens, this sidebar becomes a nav bar on top with a toggle hamburger button. However, we also have a nav bar on the website. This nav bar hinders the view of the TOC bar.

This commit fixes the view for Table of Contents on Blog and Docs page on smaller screens.
2020-09-11 18:12:54 +02:00
Fredrik Adelöw c4fb6d72c5 Merge pull request #2427 from SDA-SE/feat/restrict-proxy-method
feat(proxy-backend): support limiting the proxied HTTP methods
2020-09-11 16:43:24 +02:00
Dominik Henneke 7553827223 feat(proxy-backend): support limiting the proxied HTTP methods 2020-09-11 13:56:41 +02:00
Himanshu Mishra f0b86ece3a Merge pull request #2421 from spotify/orkohunter/docs-getting-started-in-contributing
Docs: Remove duplicate instructions from contributing guide
2020-09-11 12:30:12 +02:00
Himanshu Mishra c8263d4a46 Merge pull request #2425 from spotify/orkohunter/add-code-coverage-badge
Docs: Add code coverage badge to README
2020-09-11 12:05:51 +02:00
Himanshu Mishra e7f4006b81 Redirect badge to Codecov website 2020-09-11 11:53:42 +02:00
Himanshu Mishra 5e1a968b39 Add code coverage badge to README 2020-09-11 11:52:14 +02:00
Himanshu Mishra 735411f332 Upload test coverage to codecov (#2406)
* Add CI task to upload test coverage to codecov

Backstage CLI runs tests in coverage mode. Jest generates coverage reports in individual
coverage/ directories of packages.
We don't need a Codecov token here because our repository is public

* Upload test coverage on master build

* tests and coverage upload have to be run in same CI task

* try coverage report with yarn test:all

* Use yarn test and test:all commands

* Use lower level commands on CI

* CLI working 

* Do not upload partial coverage reports
2020-09-11 11:18:52 +02:00
Himanshu Mishra 51b94bd82c Remove duplicate instructions from contributing guide 2020-09-11 10:47:02 +02:00
dependabot[bot] 2398a95e5c chore(deps): bump node-fetch from 2.6.0 to 2.6.1 (#2412)
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-11 10:28:37 +02:00
Himanshu Mishra d1553f39af Merge pull request #2414 from spotify/orkohunter/docs-improve-getting-started
Docs: Add proper getting started page on backstage.io/docs
2020-09-11 09:48:40 +02:00
Himanshu Mishra 84b72fbad1 Update mkdocks.yml for Techdocs rendering of the docs 2020-09-11 09:37:35 +02:00
Himanshu Mishra ca0ec7cd24 Merge pull request #2418 from spotify/emmaindal-patch-1
TechDocs: Update v1 milestone in project roadmap
2020-09-11 09:30:10 +02:00
Emma Indal 0b95f633d9 Update v1 milestone in project roadmap 2020-09-11 08:07:34 +02:00
Himanshu Mishra 705e02f7af Remove duplicate section in the README 2020-09-11 00:55:07 +02:00
Himanshu Mishra 465701e058 Use relative file link in docs to refer other page 2020-09-11 00:35:32 +02:00
Himanshu Mishra 3e85b8cf91 Fix docs sidebar for docs gettings started 2020-09-11 00:28:16 +02:00
Himanshu Mishra 0deaa7daa8 Add the user Getting Started page
This comes from our README https://github.com/spotify/backstage\#getting-started
2020-09-11 00:27:57 +02:00
Patrik Oldsberg 30fcae37cd Merge pull request #2409 from spotify/rugvip/docsync
create-app: sync backend Dockerfile
2020-09-10 20:56:43 +02:00
Rajiv Singh 24212dc6f2 Added Backstage logo to the Open Graph Image metadata of backstage.io (#2401)
* updated svg to png

* updated spaces with hex values

* removed spaces from filenames

* added deleted files
2020-09-10 20:46:18 +02:00
Oliver Sand 226c548804 Merge pull request #2394 from SDA-SE/feat/raw-api-type
Add option to display raw API definitions
2020-09-10 18:38:21 +02:00
Himanshu Mishra 845cfac2bd Merge pull request #2408 from spotify/rugvip/frag
docs: fix broken fragment links
2020-09-10 18:09:16 +02:00
Patrik Oldsberg 30f42d7655 create-app: sync backend Dockerfile 2020-09-10 18:08:21 +02:00
Oliver Sand 6f67809bd3 feat: allow to view the raw API definitions, even if a viewer component is available 2020-09-10 17:55:54 +02:00
Oliver Sand 500038a300 fix: allow copying multiline text 2020-09-10 17:55:54 +02:00
Oliver Sand 2615cafd5d feat: add showCopyCodeButton to CodeSnippet component
This allows to easiy copy the content of the code snippet.
2020-09-10 17:55:54 +02:00
Patrik Oldsberg 902781c36f docs: fix broken fragment links 2020-09-10 17:50:36 +02:00
Patrik Oldsberg eab7b041d2 Merge pull request #2403 from spotify/rugvip/dar
dev-utils: fix deprecated routes not being wrapped in router
2020-09-10 15:48:50 +02:00
Patrik Oldsberg be104f473b dev-utils: fix deprecated routes not being wrapped in router 2020-09-10 15:36:00 +02:00
dependabot[bot] 01c32f8a66 chore(deps): bump @svgr/plugin-svgo from 4.3.1 to 5.4.0 (#2378)
Bumps [@svgr/plugin-svgo](https://github.com/gregberge/svgr) from 4.3.1 to 5.4.0.
- [Release notes](https://github.com/gregberge/svgr/releases)
- [Changelog](https://github.com/gregberge/svgr/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gregberge/svgr/compare/v4.3.1...v5.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 14:54:55 +02:00
Stefan Ålund e8c7d2a1e3 Create OWNERS.md (#2400)
* Create OWNERS.md

* Update OWNERS.md

* Update OWNERS.md

* Update OWNERS.md
2020-09-10 14:48:47 +02:00
Fredrik Adelöw 1288b77ce9 Merge pull request #2398 from spotify/emmai/view-techdocs-disabled
IconLinkVertical component to accept disabled prop
2020-09-10 14:33:53 +02:00
Emma Indal fd175e8ccd use classnames lib instead of duplicated styles 2020-09-10 13:43:56 +02:00
Stefan Ålund 242bc8d111 Add Backstage logo assets (#2395)
* Add Backstage logo assets

* Update logos.md

* Update logos.md

* docs/verify-links: allow absolute URLs into microsite/static

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
2020-09-10 13:26:41 +02:00
Emma Indal 3bfa0d7832 IconLinkVertical component to accept disabled prop 2020-09-10 12:50:58 +02:00
Emma Indal 296b6376e3 fix unclickable external links (#2396) 2020-09-10 12:05:22 +02:00
Fredrik Adelöw fef570b064 Merge pull request #2393 from spotify/rugvip/oauth
core-api: refactor most auth implementations to use the OAuth2 one
2020-09-10 11:25:16 +02:00
Himanshu Mishra 06fe05bac0 Merge pull request #2392 from timja/patch-1
Use correct npm package for serving docs
2020-09-10 11:00:39 +02:00
Patrik Oldsberg e3ab3814a3 core-api: refactor most auth implementations to use the OAuth2 one 2020-09-10 10:49:28 +02:00
Tim Jacomb 72c097f57f Use correct npm package for serving 2020-09-10 09:08:23 +01:00
Patrik Oldsberg d5585cd574 Merge pull request #2390 from spotify/rugvip/temp-docs
docs: more visible heads up about completing installation steps for templates
2020-09-10 09:55:45 +02:00
Marcus Eide 6a6fe5eef8 Merge pull request #2357 from spotify/eide/lighthouse-new-routing-api
lighthouse: Refactor to new routing api
2020-09-10 08:37:57 +02:00
Patrik Oldsberg c8100b015c Merge pull request #2326 from kingasieminiak/enable-oauth2-provider-usage
Enable usage of oAuth2 frontend provider
2020-09-09 23:43:38 +02:00
Fredrik Adelöw a740061e6c Merge pull request #2382 from spotify/dependabot/npm_and_yarn/react-use-15.3.4
chore(deps): bump react-use from 15.3.3 to 15.3.4
2020-09-09 22:51:33 +02:00
Fredrik Adelöw ef19f0a087 Merge pull request #2383 from spotify/dependabot/npm_and_yarn/husky-4.3.0
chore(deps-dev): bump husky from 4.2.5 to 4.3.0
2020-09-09 22:50:56 +02:00
Fredrik Adelöw 6c6af9d778 Merge pull request #2385 from spotify/rugvip/install
microsite: install docs
2020-09-09 22:47:38 +02:00