Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update specs and documentation #16

Merged
merged 7 commits into from
Sep 7, 2022
Merged

feat: update specs and documentation #16

merged 7 commits into from
Sep 7, 2022

Conversation

martinheidegger
Copy link
Contributor

@martinheidegger martinheidegger commented Jul 19, 2021

The new test suite for DNSLink covers quite a few new topics.

Note: The PR is set against the next branch. This is to prevent the immediate publication of the docs and allows us to publish the next version of DNSLink in one go as I will need to send a few more Pull Requests for updating other sections of the readme and links to the new libraries.

@lidel

This comment has been minimized.

Copy link
Contributor

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @martinheidegger
I reviewed and applied some feedback / changes based on asks from https://github.com/dnslink-std/test/issues/ so it is easier for you to update

docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated

```
dnslink=<value>
dnslink=/ipfs/QmaCveU7uyVKUSczmiCc85N7jtdZuBoKMrmcHbnnP26DCx
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This CID can be GCd by Fleek at some point.
Please use a stable CID for examples, such as Wikipedia one (bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze – see snapshot-hashes.yml)

docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
docs/README.md Outdated Show resolved Hide resolved
@lidel lidel changed the base branch from next to main June 22, 2022 12:51
@lidel
Copy link
Contributor

lidel commented Jun 22, 2022

@martinheidegger sadly this got out of sync with changes to the main branch.

In effort to clean up things a bit, I merged next into main, then removed next as it was just adding noise, and switched this PR to point at main – up to you if you want to resolve conflicts, or create a new PR based on the old feedback here.

@lidel
Copy link
Contributor

lidel commented Jun 28, 2022

@martinheidegger lmk if/when this is ready for another review 🙏

@martinheidegger
Copy link
Contributor Author

martinheidegger commented Jun 28, 2022 via email

@martinheidegger martinheidegger force-pushed the deep-docs branch 2 times, most recently from 99bf808 to 4b58e8a Compare July 5, 2022 08:10
@martinheidegger
Copy link
Contributor Author

I went over the entire documentation once more. The current docs should contain all of your suggestions, are rebased to the current main but also are:

  • Formatted to be 80~100 characters per line
  • Use markdown reference links
  • Use normalized language (records instead of mixed entries/records)

@ben221199
Copy link

Ah, this PR adds information about multiple DNSLinks and multiple DNSLinks in the same namespace. That is what I needed. Thanks.

@lidel lidel changed the title Adding thorough documentation of the new details feat: update specs and documentation Sep 7, 2022
martinheidegger and others added 7 commits September 7, 2022 16:43
Co-authored-by: Marcin Rataj <[email protected]>

[07d9a39]
[f11f8bd]
[62fe9d8]
[e7481ce]
[7b4c7d8]
[015eca3]
[3df008a]
[a4768c2]
[453a29c]
[67d6aa1]
[6a79a0a]
[a683ccc]
[23efa9c]
[65a43ef]
[e05bea0]
[7ab4bad]
[bdd2899] (+2 squashed commits)
Squashed commits:
[6239f46] docs: adding mention on redirect ttl's
[40efd8e] Adding thorough documentation of the new details covered in the test suite
…to keep normalized language, brevity and 80~100 characters per line
Updated content to reflect changes since 2021:
- go-ipfs got renamed to Kubo, ipfs.io websites moved to ipfs.tech
- Cloudflare and Fleek provide turn-key website hosting  solutions
- Gateway docs and resources got updated and changed links
- DNSLink is not limited to DWeb, adjusted language and added best
  practices around supporting multiple protocol records

Added some references:
- mentioned convention from RFC 1464 (<key>=<value>)
- due to this,  clarified that prefix is `dnslink=` and not `dnslink=/`
  and why value should start with `/namespace/` prefix

Fixed small typos and removed line numbers from code blocks.
Copy link
Contributor

@lidel lidel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @martinheidegger, I'm merging this so it does not slip between notification cracks again 🙈

FYI I made some edits to reflect changes since 2021:

  • go-ipfs got renamed to Kubo, ipfs.io websites moved to ipfs.tech
  • Cloudflare and Fleek provide turn-key website hosting solutions
  • Gateway docs and resources got updated and changed links
  • DNSLink is not limited to DWeb, adjusted language and added best
    practices around supporting multiple protocol records

Added some references:

  • mentioned convention from RFC 1464 (=)
  • due to this, clarified that prefix is dnslink= and not dnslink=/
    and why value should start with /namespace/ prefix

Fixed small typos and removed line numbers from code blocks.

@lidel lidel merged commit a7db316 into main Sep 7, 2022
@lidel lidel deleted the deep-docs branch September 7, 2022 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants