Skip to content

Commit 2c52794

Browse files
working throguh path override for non-standard doc locations
1 parent 716e03f commit 2c52794

File tree

11 files changed

+152504
-91859
lines changed

11 files changed

+152504
-91859
lines changed

CHANGELOG.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,18 @@ All notable changes to this project will be documented in this file. See [standa
44

55
## Future
66

7-
- tests added
8-
- types added
9-
- placeholders for tabbing through snippet names added to each snippet
7+
- tests
8+
- ts types
9+
- auto-tabbing through common parts of snippets (name of core resource, etc.)
10+
- configurable override of doc paths per provider repo (see: doc_root_path_overrides).
11+
12+
## [0.6.0](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.5.0...v0.6.0) (2021-03-03)
13+
14+
### Changed
15+
16+
- pulling 115 providers (all official or partner tier) from the registry and shipping 8362 snippets
17+
- refactored the core workflow to remove the need for the hard-coded number of total snippets (thanks, @orrin!)
18+
- regression: dropped async checkout/download of repos, making the snippet generation process a lot longer. Will fix in subsequent releases - this doesn't affect extension users, only snippet generators (devs on this project).
1019

1120
## [0.5.0](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.4.0...v0.5.0) (2021-03-01)
1221

@@ -15,13 +24,12 @@ All notable changes to this project will be documented in this file. See [standa
1524
- Snippets updated to match latest documentation. Created snippets 5385 from 111 providers.
1625
- providers now sourced from the public registry
1726
- upgraded all libaries
18-
- refactored provider fetch workflow to remove the need for the hard-coded number of total snippets
1927

2028
## [0.4.0](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.3.0...v0.4.0) (2019-03-27)
2129

2230
### Changed
2331

24-
- Snippets updated to match latest documentation. Now up to snippets 1719 over 81 providers
32+
- Snippets updated to match latest documentation. Now up to snippets 1719 over 81 providers.
2533

2634
## [0.3.0](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.2.0...v0.3.0) (2018-06-26)
2735

@@ -31,9 +39,9 @@ All notable changes to this project will be documented in this file. See [standa
3139

3240
## [0.2.0](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.1.5...v0.2.0) (2018-05-10)
3341

34-
- override and extra snippets now added through config
35-
- deprecated resources and data sources manually added for their successor
36-
- snippets file rebuilt and now has 1491 pulled from docs + a few custom snippets
42+
- override and extra/common snippets now added through config.
43+
- deprecated resources and data sources manually added for their successor.
44+
- snippets file rebuilt totalling 1491.
3745

3846
## [0.1.5](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.1.4...v0.1.5) (2018-05-04)
3947

@@ -42,7 +50,7 @@ All notable changes to this project will be documented in this file. See [standa
4250
## [0.1.4](https://github.com/run-at-scale/vscode-terraform-doc-snippets/compare/v0.1.3...v0.1.4) (2018-05-04)
4351

4452
- provider repos now scanned from the terraform-providers organization.
45-
- snippets added to 1452.
53+
- snippets total 1452.
4654
- formatting and beautifying ✨
4755
- added error handling for missing absent examples.
4856

package-lock.json

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "terraform-doc-snippets",
33
"displayName": "Terraform doc snippets",
4-
"description": "Terraform code snippets (>5000) straight from documentation for all provider resources and data sources. All providers in the public terraform registry covered.",
5-
"version": "0.5.0",
4+
"description": "Terraform code snippets (>8000) pulled from examples in the terraform registry provider docs. resources and data sources. All official and partner providers are scraped for examples.",
5+
"version": "0.6.0",
66
"icon": "assets/terraform_logo.png",
77
"publisher": "run-at-scale",
88
"license": "MIT",
@@ -63,8 +63,8 @@
6363
"@octokit/rest": "^15.2.7",
6464
"async": "^2.6.0",
6565
"gfm-code-blocks": "^1.0.0",
66+
"node-fetch": "^2.6.1",
6667
"nodegit": "^0.26.1",
67-
"request": "^2.88.2",
6868
"tmp": "0.0.33",
6969
"underscore": "^1.9.0"
7070
}

0 commit comments

Comments
 (0)