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

Make /board alias or redirect to /downloads ? #1098

Open
dglaude opened this issue Nov 13, 2022 · 2 comments
Open

Make /board alias or redirect to /downloads ? #1098

dglaude opened this issue Nov 13, 2022 · 2 comments

Comments

@dglaude
Copy link
Contributor

dglaude commented Nov 13, 2022

Should https://circuitpython.org/board be "an alias of" / "a redirect to" https://circuitpython.org/downloads ?

The idea is that when you are on a board and you want to check other board, you can shortcut the URI to do that

https://circuitpython.org/board/raspberry_pi_pico_w/
=>
https://circuitpython.org/board/
or
https://circuitpython.org/board

(maybe I am the only one doing/trying that...)

@jwcooper
Copy link
Member

If we do this, I'd prefer to also redirect /board/board-name to /boards/board-name. The redirect to all the boards would then go from /downloads to /boards. This would make more sense if we ever created a circuitpython.org json REST api as well. https://circuitpython.org/boards/raspberry_pi_pico_w.json, etc.

In hindsight, this what the endpoints probably should have been when the site was first built, but we went with a more traditional /downloads endpoint that kind of stuck.

If we do this though, it brings along maintenance considerations as we will always have to maintain these redirects. In the case of /board -> /boards, as well as /board -> /downloads.

I'm not entirely convinced it's worth that cost yet (I haven't looked into how it's done in jekyll/github pages either).

@dhalbert
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants