Skip to content

Commit

Permalink
docs: Fixed some links in corefunc_url_parse.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Feb 3, 2024
1 parent b70182b commit 88db492
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 27 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), adheres t
* [`5d992f3`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/5d992f31b4d5566e37bb12a0d133400d75d1763f): Regenerate test artifacts.
* [`c4459ad`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/c4459ad7664dc6a1c93b3585705dc46d72cb76d2): Updated BATS tests with Shellcheck feedback.
* [`6611f3f`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/6611f3fbd38af4997fb156c22d4157024bd8d76f): Generated updated test artifacts.

## 1.2.1 — 2024-02-02

[Compare: v1.1.1 → v1.2.1](https://github.com/northwood-labs/terraform-provider-corefunc/compare/v1.1.1..v1.2.1)
Expand Down Expand Up @@ -114,11 +115,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), adheres t
* [`6be7398`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/6be7398843e0a757ab4f0308a175843d8603c829): Work on adding automated OpenTofu testing.
* [`66abdf2`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/66abdf213d2f88f3ee0e3d44b26dd0b557b25005): Work on adding automated OpenTofu testing.
* [`cc77ed9`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/cc77ed99085f9c81281dd7a6dbcc74298d4cdbe1): Improve CHANGELOG generation.

* [`0182c79`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/0182c79239bb888e61e7affcd3ddfaeced41c0d2): Improve CHANGELOG generation.

* [`acee3ef`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/acee3ef09ce457f074bb25f8aada3d029e474027): Add auto-cancelation for multiple CI runs of the same test.

* [`85cfb6c`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/85cfb6c8dfed8d61bf84d246ba58eacbf91cc650): Setup Terratest testing for OpenTofu from the Makefile.

* [`57b1e0e`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/57b1e0eb5f91a87e5450dba5d6f9492fb2c0b374): Improve switching between Terraform/OpenTofu in Terratest.

* [`590c3bc`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/590c3bce781674b2627e494b203570b142555844): Improve switching between Terraform/OpenTofu in Terratest.

## 1.1.1 — 2023-12-20

[Compare: v1.1.0 → v1.1.1](https://github.com/northwood-labs/terraform-provider-corefunc/compare/v1.1.0..v1.1.1)
Expand All @@ -139,12 +146,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), adheres t

* [`f3c07b2`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/f3c07b267eacc0cc4c3fabd81628112f8ea974f2): Updated copyright in all headers to include 2024.
* [`1d00129`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/1d0012982e3c1760735a4fa53a6603781bad6930): Updated the `README.md` for the Terratest tests.

* [`1c2bc3c`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/1c2bc3c6f91b6326cd188320d8978972e2aa78dc): Updated the templates used by tfplugindocs.

### Testing

* [`e0915df`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/e0915dfb90f9d2824be769dcc629501db99d1b8c): Added tests with Terratest to compare the Terraform provider with the Go library.
* [`e5a810a`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/e5a810a8f9a5ffe2737928429df0be3a9a0a25c3): Make the GoSec scanning more robust.

## 1.1.0 — 2023-12-18

[Compare: v1.0.3 → v1.1.0](https://github.com/northwood-labs/terraform-provider-corefunc/compare/v1.0.3..v1.1.0)
Expand Down Expand Up @@ -172,6 +181,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), adheres t

* [`1135f94`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/1135f9439b1966e3da849c2b9272f84eb89cfd36): Begin implementations of StrLeftPad and IntLeftPad.
* [`92fbf6f`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/92fbf6f5e7f4fd17b1a33135a851143be1fd276e): Implemented the provider side of leftpad functions. ([#73](https://github.com/northwood-labs/terraform-provider-corefunc/issues/73))

* [`c047ee1`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/c047ee16b8db3378bcb76dc430d258be9730568c): Added support for `corefunc.Homedir()` and `corefunc_homedir_get`. ([#77](https://github.com/northwood-labs/terraform-provider-corefunc/issues/77))
* [`e3985ba`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/e3985ba1d576e273a14fe930eefb81999a695c53): Added initial support for Homedir lookups.
* [`290e1cc`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/290e1cc1a5138e533935d1d8160d86edecc5b065): Added `corefunc_homedir_expand`.
Expand All @@ -187,13 +197,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), adheres t
### Testing

* [`57a7b85`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/57a7b85c17040f880dcaf6546c11cb9acd0a7615): Lookup and run fuzz tests programmatically.

## 1.0.3 — 2023-11-21

[Compare: v1.0.0 → v1.0.3](https://github.com/northwood-labs/terraform-provider-corefunc/compare/v1.0.0..v1.0.3)

### Building and Dependencies

* [`14759b8`](https://github.com/northwood-labs/terraform-provider-corefunc/commit/14759b8792c77530a0538d2fdb3ed2cacddd8d73): Bump `the` version number to 1.0.3. No changes from 1.0.0.

## 1.0.0 — 2023-11-21

### Bug Fixes
Expand Down
16 changes: 7 additions & 9 deletions corefuncprovider/url_parse_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,15 @@ func (d *urlParseDataSource) Schema(

resp.Schema = schema.Schema{
MarkdownDescription: strings.TrimSpace(dedent.Dedent(`
URLParse is a WHATWG spec-compliant <https://url.spec.whatwg.org/#url-parsing>
URL parser returns a struct representing a parsed absolute URL. Will not resolve
relative URLs.
URLParse is a [WHATWG spec-compliant](https://url.spec.whatwg.org/#url-parsing) URL parser returns a struct
representing a parsed absolute URL. Will not resolve relative URLs.
The parser is up to date as of 2023-05-24
<https://url.spec.whatwg.org/commit-snapshots/eee49fdf4f99d59f717cbeb0bce29fda930196d4/>
and passes all relevant tests from web-platform-tests
<https://github.com/web-platform-tests/wpt/tree/master/url>.
The parser is up to date as of
[2023-05-24](https://url.spec.whatwg.org/commit-snapshots/eee49fdf4f99d59f717cbeb0bce29fda930196d4/)
and passes all relevant tests from
[web-platform-tests](https://github.com/web-platform-tests/wpt/tree/master/url).
Its API is similar to Chapter 6 in WHATWG URL Standard
<https://url.spec.whatwg.org/#api>.
Its API is similar to Chapter 6 in [WHATWG URL Standard](https://url.spec.whatwg.org/#api).
Maps to the ` + linkPackage("URLParse") + ` Go method, which can be used in ` + Terratest + `.
`)),
Expand Down
32 changes: 14 additions & 18 deletions docs/data-sources/url_parse.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,28 @@
page_title: "corefunc_url_parse Data Source - corefunc"
subcategory: ""
description: |-
URLParse is a WHATWG spec-compliant https://url.spec.whatwg.org/#url-parsing
URL parser returns a struct representing a parsed absolute URL. Will not resolve
relative URLs.
The parser is up to date as of 2023-05-24
https://url.spec.whatwg.org/commit-snapshots/eee49fdf4f99d59f717cbeb0bce29fda930196d4/
and passes all relevant tests from web-platform-tests
https://github.com/web-platform-tests/wpt/tree/master/url.
Its API is similar to Chapter 6 in WHATWG URL Standard
https://url.spec.whatwg.org/#api.
URLParse is a WHATWG spec-compliant https://url.spec.whatwg.org/#url-parsing URL parser returns a struct
representing a parsed absolute URL. Will not resolve relative URLs.
The parser is up to date as of
2023-05-24 https://url.spec.whatwg.org/commit-snapshots/eee49fdf4f99d59f717cbeb0bce29fda930196d4/
and passes all relevant tests from
web-platform-tests https://github.com/web-platform-tests/wpt/tree/master/url.
Its API is similar to Chapter 6 in WHATWG URL Standard https://url.spec.whatwg.org/#api.
Maps to the corefunc.URLParse() https://pkg.go.dev/github.com/northwood-labs/terraform-provider-corefunc/corefunc#URLParse Go method, which can be used in Terratest https://terratest.gruntwork.io.
---
-->

# corefunc_url_parse (Data Source)

URLParse is a WHATWG spec-compliant <https://url.spec.whatwg.org/#url-parsing>
URL parser returns a struct representing a parsed absolute URL. Will not resolve
relative URLs.
URLParse is a [WHATWG spec-compliant](https://url.spec.whatwg.org/#url-parsing) URL parser returns a struct
representing a parsed absolute URL. Will not resolve relative URLs.

The parser is up to date as of 2023-05-24
<https://url.spec.whatwg.org/commit-snapshots/eee49fdf4f99d59f717cbeb0bce29fda930196d4/>
and passes all relevant tests from web-platform-tests
<https://github.com/web-platform-tests/wpt/tree/master/url>.
The parser is up to date as of
[2023-05-24](https://url.spec.whatwg.org/commit-snapshots/eee49fdf4f99d59f717cbeb0bce29fda930196d4/)
and passes all relevant tests from
[web-platform-tests](https://github.com/web-platform-tests/wpt/tree/master/url).

Its API is similar to Chapter 6 in WHATWG URL Standard
<https://url.spec.whatwg.org/#api>.
Its API is similar to Chapter 6 in [WHATWG URL Standard](https://url.spec.whatwg.org/#api).

Maps to the [`corefunc.URLParse()`](https://pkg.go.dev/github.com/northwood-labs/terraform-provider-corefunc/corefunc#URLParse) Go method, which can be used in [Terratest](https://terratest.gruntwork.io).

Expand Down

0 comments on commit 88db492

Please sign in to comment.