Allow customizing the title of the documentation service
The title of the documentation service is hard-coded to Armeria documentation service <version>
https://github.com/line/armeria/blob/e0192ccbaa01f9c6f03849d4879507d93dc17aa8/docs-client/src/containers/App/index.tsx#L608-L611
Some users may want to override the title to easily distinguish a server from a different phase or role.
DocService
.builder()
.webAppTitle("Messaging (Alpha)")
...
.build()
The specified web app title could be appended to the default title.
Armeria documentation service 1.30.1 - Messaging (Alpha)
Hi @ikhoon , I would like to contribute to this issue. Can you please assign it to me??
I've assigned https://github.com/line/armeria/issues/5219 to you. Do you want to resolve both of them at once?
Yeah, I can do that. This seems a good first issue as well.
Hi, it seems the resolution is stuck. I could take it on if possible.
Hi, how about to change not only title in the top of the page but title element in the <head> of the html?
Also Messaging (Alpha) - Armeria documentation service 1.30.1 might be more convenient when you have several tabs open and whole page title is not displayed:
Ideally it would be great to change the favicon and the background color of the Header bar e.g. to have different colors for different deployment environments.
All of that is possible now with the custom JS scripts (which find and modify elements by id/class) we can inject to the Doc Service page but since html structure can be changed with new releases it is better to be able to do it with the official API.
Thank you!
Agreed. All of your ideas look nice to me.