github-actions[bot]
4ae0467c2f
Version Packages
2021-02-23 10:31:40 +01:00
Fredrik Adelöw
dedee41f57
Merge pull request #4572 from backstage/freben/attr
...
got rid of some attr and cleaned up a bit in techdocs schema
2021-02-19 10:10:04 +01:00
github-actions[bot]
4188c2ccb4
Version Packages
2021-02-18 13:23:19 +00:00
Fredrik Adelöw
f37992797a
got rid of some attr and cleaned up a bit in techdocs schema
2021-02-18 11:15:18 +01:00
Himanshu Mishra
b16b096f58
TechDocs: Add etag to techdocs_metadata.json
2021-02-15 19:38:07 +01:00
github-actions[bot]
aa49ca2284
Version Packages
2021-02-11 10:15:47 +00:00
Himanshu Mishra
b73b0fe979
techdocs: don't swallow errors other than NotModifiedError
2021-02-10 12:21:14 +01:00
Himanshu Mishra
08142b2568
TechDocs: Add changesets for deprecation and proper caching
2021-02-10 11:02:40 +01:00
Himanshu Mishra
f8a4a30fb0
TechDocs: Update tests for proper url preparer caching
2021-02-10 11:02:40 +01:00
Himanshu Mishra
50fcdc48b4
TechDocs: Warn when using legacy git preparer and dir preparer in backstage.io/techdocs-ref
...
Context: https://github.com/backstage/backstage/issues/4409
2021-02-10 11:02:40 +01:00
Himanshu Mishra
057af3cac0
TechDocs: Implement etag based caching for git preparer
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-02-10 11:02:40 +01:00
Himanshu Mishra
97a9a7365f
TechDocs: Implement etag based caching for url preparer
...
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-02-10 11:02:38 +01:00
Himanshu Mishra
66944ec7bf
TechDocs: Preparers will take and return an etag for cache invalidation
2021-02-10 11:01:18 +01:00
Fredrik Adelöw
5a51635197
backend-common: implement UrlReader.search that does glob matching
2021-02-09 12:16:12 +01:00
github-actions[bot]
6794967d20
Version Packages
2021-02-04 13:02:30 +00:00
Himanshu Mishra
93a53ea093
TechDocs: Use @deprecated for techdocs config urls
2021-02-02 23:16:09 +01:00
Himanshu Mishra
38469b66bf
techdocs: fix tests by reusing the instantiated discovery
2021-02-02 13:51:05 +01:00
Parth Shandilya
e44925723e
TechDocs: Make requestUrl and storageUrl optional configs by using discovery APIs
...
closes #3715
Co-authored-by: Himanshu Mishra <himanshu@orkohunter.net >
2021-02-02 13:51:04 +01:00
Himanshu Mishra
8eb862c58e
Merge pull request #4017 from viavarejo/feature/techdocs-azure-storage
2021-01-31 16:03:24 +01:00
vitorgrenzel
59b8d5a0d9
feat(techdocs-common): add Azure Blob Storage
2021-01-28 16:16:22 -03:00
vitorgrenzel
c777df180a
feat(techdocs-common): add Azure Storage
2021-01-28 16:16:21 -03:00
Himanshu Mishra
03a2d95c71
TechDocs: Update tests with mock url reader
2021-01-28 15:32:09 +01:00
github-actions[bot]
cda741034d
Version Packages
2021-01-28 10:46:08 +00:00
github-actions[bot]
c5584b62c2
Version Packages
2021-01-21 13:13:05 +00:00
Matei David
a5e27d5c1d
Introduce techdocs metadata in techdocs-common
...
* Add TechdocsMetadata type in backend plugin endpoint
* Introduce TechDocsMetadata type in frontend
* Add changeset
* Remove old thennable metadata resp
* Address PR feedback
- Remove explicit type annotation on TechDocsMetadata
- Reintroduce res.send instead of throwing an error
- Change logger info to logger error
* Add TechDocsMetadata type in frontend plugin
* Commit yarn.lock
* Introduce JSON5 and remove parsing in local pub
Signed-off-by: Matei David <matei.david.35@gmail.com >
2021-01-16 18:33:53 +00:00
Himanshu Mishra
e2030972fc
Merge pull request #4062 from backstage/orkohunter/use-urlreader-in-techdocs
2021-01-15 13:12:45 +01:00
github-actions[bot]
be332e13ea
Version Packages
2021-01-14 13:05:31 +00:00
Himanshu Mishra
dc33c51890
TechDocs: Use URL Reader in the out-of-the-box experience
...
It is time to start using URL Reader for the exmaple docs components we provide in the out-of-the-box experience (i.e. when users experience TechDocs by doing a git clone of this repository).
URL Reader makes the prepare step 8x faster.
2021-01-13 21:38:26 +01:00
Himanshu Mishra
cb7af51e73
techdocs: cache docs site when built using urlReader for 30 minutes
...
This caching makes it usable experience, so that docs are not built on every load.
In future readTree will support a method to fetch the timestamp of the latest HEAD. And
it should be used to invalidate the cache.
2021-01-13 21:09:44 +01:00
Himanshu Mishra
2165901c00
TechDocs: Generator now requires input and output directory and does not create them
...
The creation of temporary directories and their clean up should be handled on its own. techdocs-cli already has a fixed input output dir requirement. It makes that generator accepts these values as requirements.
2021-01-11 22:33:10 +01:00
github-actions[bot]
28d7f319f4
Version Packages
2021-01-07 10:31:20 +00:00
Remi
b9e6d305e2
fix(techdocs): typos + add tests + requested changes
2020-12-30 10:25:57 +01:00
Remi
c4fcd8b180
feat(techdocs-backend): add awsS3
2020-12-30 10:22:12 +01:00
github-actions[bot]
a1ebbdeee0
Version Packages
2020-12-29 10:59:38 +00:00
Himanshu Mishra
c91e4d6b04
techdocs: Use @backstage/integration for scm tokens and request options
2020-12-28 21:08:54 +01:00
Himanshu Mishra
bd3bc94ff8
Merge pull request #3799 from keshann93/plugins/techdocs
2020-12-28 20:52:53 +01:00
github-actions[bot]
c3c04658f2
Version Packages
2020-12-22 12:14:20 +00:00
Himanshu Mishra
82f241f90c
Merge pull request #3764 from backstage/orkohunter/techdocs-backend-refactor-factory-methods
2020-12-21 19:10:38 +01:00
keshan
23cee0d831
typo corrected
2020-12-21 16:33:39 +05:30
keshan
e53d4a2ca8
updated based on the feedbacks provided
2020-12-21 16:26:58 +05:30
keshan
359f9d2d8c
Introduced config schema for techdocs plugins
2020-12-21 16:26:57 +05:30
Himanshu Mishra
2ac77aeec2
techdocs-backend: Remove individual preparers and generators from app backend, to use factory methods
...
When a new Backstage app is setup, the techdocs backend file contains all the preparers (dir, github, gitlab, etc.) and same for generators. While this providers added customizibility, it comes with a cost of complexity in setting up the app backend. New preparers' updates would need users to update their app's techdocs backend file.
Scaffolder backend has already moved to this proposed pattern.
2020-12-17 11:33:56 +01:00
github-actions[bot]
6e9f4d4a15
Version Packages
2020-12-17 10:16:33 +00:00
Patrik Oldsberg
1da7d2c657
plugins,packages: replace usages of ConfigReader.from
2020-12-15 19:04:50 +01:00
Himanshu Mishra
15d23c004e
Merge remote-tracking branch 'origin/master' into orkohunter/techdocs-publish-to-cloud-storage
2020-12-10 21:12:31 +01:00
github-actions[bot]
cf187484bf
Version Packages
2020-12-10 11:25:39 +00:00
Himanshu Mishra
ac88ca2038
Merge branch 'master' into orkohunter/techdocs-publish-to-cloud-storage
2020-12-09 20:17:06 +01:00
Himanshu Mishra
24bcdd0829
techdocs: Use googleGcs for publisher type instead of google_gcs
2020-12-09 18:58:12 +01:00
Himanshu Mishra
9bd130a73a
techdocs: Use 'local' and 'external' for alternatives for techdocs.builder config
...
Co-authored-by: freben <freben@gmail.com >
2020-12-09 12:31:40 +01:00
Frieder Bluemle
cbd3a44c09
Fix typos ( #3646 )
2020-12-09 07:50:41 +01:00