external-dns
external-dns copied to clipboard
docs: upgrade mkdocs and fix broken links
Description
It upgrades the whole stack.
Checklist
- [ ] Unit tests updated
- [x] End user documentation updated
Additional notes
mkdocs serve is clean, except a Warning on /version.json:
WARNING - [14:24:16] "GET /versions.json HTTP/1.1" code 404
Hopefully, it will be served by mike, but I haven't found how to launch successfully mike on a local branch.
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from mloiseleur. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
@szuecs Thanks for your review.
For your other comments, the problem is the way it works currently.
The README.md is used as front page doc on https://github.com/kubernetes-sigs/external-dns
It's also copied in docs/ before generating the mkdocs website.
That makes relative links broken. So I see two solutions:
- Split this README into two : one in / and the other in docs/ of this repo
- Try to generate the mkdocs without moving the README.md in docs/
Wdyt of those options ? any other idea ?
@mloiseleur the second option maybe? I'm not sure aware of the consequences, but duplicating the README is not super great. If we can have an alternative document that doesn't require us to update things in two places every time, then I'm also fine with 1.
@Raffo @szuecs mkdocs does not support to use README.md at the root level, see this upstream issue. Nevertheless, there is a plugin that workaround this. The plugin seems to work, so I give it a go.
Thanks! Ping me for a review anytime.
from my side lgtm
@Raffo @szuecs PR has been rebased. I also added a link to doc website.
/lgtm /approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Raffo
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [Raffo]
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment