This has been a project idea I’ve had since I saw home assistant announce it. They want to have all their docs, and examples pointing to your local install, but do make it clickable and easy to get to the right place.
On irc and gitter we have a lot of times we want to get people to use the syntax generator. Its usually along the lines of saying “Goto /pipeline-syntax url” or “create a new pipeline job, and select syntax generator on the sidebar”
So i took the open source my.homeassistant codebase, and switched all the references to jenkins.
So my first example is:
Now they actually do things slightly different than us (We could potentially do it the same way though). They have a landing point on your self hosted install called /_my_redirect/ so you could goto like /_my_redirect/config/ and that would redirect you locally. I’m not entirely sure why they did it that way, but I don’t think we need to add anything to core to support this.
Future Ideas for redirects:
newCredential - /credentials/store/system/domain/_/newCredentials
newJob - pre-populated new job page, like new issue in github. Could potentially be linked from every example and doc from jenkins.io
After that it gets fuzzy.
Do you think this is a good plan? Any ideas on other useful redirects?