website icon indicating copy to clipboard operation
website copied to clipboard

Duplicate entries in https://caddyserver.com/docs/json/storage/

Open blmhemu opened this issue 3 years ago • 1 comments

There seems to be duplicate entries for consul and s3 in the link at https://caddyserver.com/docs/json/storage/

The links are the same as well.

blmhemu avatar Jun 07 '22 10:06 blmhemu

This is a known issue when traversing the JSON structure.

When looking up module docs directly, we can handle it properly:

  • https://caddyserver.com/docs/modules/caddy.storage.consul
  • https://caddyserver.com/docs/modules/caddy.storage.s3

You can see how both are differentiated by their full qualified Go module names, and so on the https://caddyserver.com/docs/modules/ page too.

The problem is there's not a good way to handle modules with the same IDs in the JSON structure URIs. I'm open to ideas though...

mholt avatar Jun 07 '22 18:06 mholt