Skip to content

Commit

Permalink
Cleanup links.
Browse files Browse the repository at this point in the history
This patch closes #387.
This patch fixes #364.
  • Loading branch information
funilrys committed Oct 3, 2024
1 parent 24a7270 commit 6436d3d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 20 deletions.
10 changes: 2 additions & 8 deletions PyFunceble/data/infrastructure/.PyFunceble_production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -750,14 +750,8 @@ http_codes:
- 510
- 511

links:
# Provides some of the non hard-coded URLs.

# WARNING:
# The parameters listed bellow are not implemented yet as the
# underlaying infrastructure will be rewritten.
api_date_format: "https://pyfunceble.funilrys.com/api/date-format"
api_no_referrer: "https://pyfunceble.funilrys.com/api/no-referrer"
# Not Implemented yet. Reserved for future usage and implementation.
links: {}

platform:
# Provides everything related to the platform.
Expand Down
10 changes: 2 additions & 8 deletions docs/use/configuration/parameters/links.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,7 @@ While PyFunceble has some hard coded URLs, some URL may be changed. The paramete
## Overview

```yaml title=".PyFunceble.overwrite.yaml"
links:
# Provides some of the non hard-coded URLs.

# WARNING:
# The parameters listed bellow are not implemented yet as the
# underlaying infrastructure will be rewritten.
api_date_format: "https://pyfunceble.funilrys.com/api/date-format"
api_no_referrer: "https://pyfunceble.funilrys.com/api/no-referrer"
# Not Implemented yet. Reserved for future usage and implementation.
links: {}
```
5 changes: 1 addition & 4 deletions tests/pyf_test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,7 @@
},
"self_managed": False,
},
"links": {
"api_date_format": "https://pyfunceble.funilrys.com/api/date-format",
"api_no_referrer": "https://pyfunceble.funilrys.com/api/no-referrer",
},
"links": {},
"lookup": {
"dns": True,
"http_status_code": True,
Expand Down

0 comments on commit 6436d3d

Please sign in to comment.