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

docs: Add related key to docs.json #11328

Closed
jmooring opened this issue Aug 3, 2023 · 1 comment · Fixed by #11344
Closed

docs: Add related key to docs.json #11328

jmooring opened this issue Aug 3, 2023 · 1 comment · Fixed by #11344
Assignees
Milestone

Comments

@jmooring
Copy link
Member

jmooring commented Aug 3, 2023

hugo config --format json | grep related -A 20 yields:

"related": {
    "indices": [
      {
        "name": "keywords",
        "type": "basic",
        "weight": 100
      },
      {
        "name": "date",
        "type": "basic",
        "weight": 10
      },
      {
        "name": "tags",
        "weight": 80
      }
    ],
    "threshold": 80
  },

It would be convenient if that were in docs.json, but we'd have to note in the docs (special case) that this bit is only present if tags is one of the taxonomies:

      {
        "name": "tags",
        "weight": 80
      }
@bep bep self-assigned this Aug 3, 2023
@bep bep added this to the v0.117.0 milestone Aug 3, 2023
bep added a commit to bep/hugo that referenced this issue Aug 7, 2023
Also consolidate so the mediaTypes and outputFormats are listed once only.

Fixes gohugoio#11328
@bep bep closed this as completed in #11344 Aug 7, 2023
bep added a commit that referenced this issue Aug 7, 2023
Also consolidate so the mediaTypes and outputFormats are listed once only.

Fixes #11328
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants