canonical / canonical/sphinx-stack

In conf.py product_page doesn't take https:// even though the other links in html_context do.

Open
#518 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
37
Forks
77
Avg merge
8d 13h
Merged PRs (30d)
5

Description

In `conf.py`, `product_page` doesn't take `https://` even though the other links in `html_context` do.

This is bad UX and has also caused issues.

I suggest this field be made to accept a full URL just like the other fields (e.g., `discourse` or `mattermost`). For backward compatibility, maybe this could be handled conditionally, as in, if there is no `https://` add it etc.

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start in conf.py and inspect how product_page is handled alongside the other html_context links, especially discourse and mattermost. Update the handling so product_page accepts a full URL while preserving existing values without a scheme; done means both forms work consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.