Revise the Kubernetes website to use Docsy (#20874)
* Add Docsy, required packages and config * Apply Docsy integration work to k8s website This encompasses significant changes to the style system, layout files, as well as changes to some of the static assets. To examine this work and the iterations that were performed, the original repository can be found at https://github.com/gearbox-built/kubernetes-hugo.git * Address issues found in review The styling and positioning of the header, footer, some shortcodes and main container elements are improved. A new partial is added for favicons. The sidebars, as well as inner table of contents, have been altered for better positioning and rendering of content. Localization has also been addressed. * Enable announcements The recent Black Lives Matter announcement surfaced issues which have been addressed.
This commit is contained in:
@@ -1,22 +1,24 @@
|
||||
{{ if not .Params.hide_feedback }}
|
||||
<div id="pre-footer">
|
||||
<h2>{{ T "feedback_heading" }}</h2>
|
||||
<p class="feedback--prompt">{{ T "feedback_question" }} </p>
|
||||
<button class="button feedback--yes">{{ T "feedback_yes" }}</button>
|
||||
<button class="button feedback--no">{{ T "feedback_no" }}</button>
|
||||
<p class="feedback--response feedback--response__hidden">
|
||||
{{ T "layouts_docs_partials_feedback_thanks" }}
|
||||
<a target="_blank" rel="noopener"
|
||||
href="https://stackoverflow.com/questions/tagged/kubernetes">
|
||||
Stack Overflow</a>.
|
||||
{{ T "layouts_docs_partials_feedback_issue" }}
|
||||
<a class="feedback--link" target="_blank" rel="noopener"
|
||||
href="https://github.com/kubernetes/website/issues/new?title=Issue%20with%20k8s.io">
|
||||
{{ T "layouts_docs_partials_feedback_problem" }}</a>
|
||||
{{ T "layouts_docs_partials_feedback_or" }}
|
||||
<a class="feedback--link" target="_blank" rel="noopener"
|
||||
href="https://github.com/kubernetes/website/issues/new?title=Improvement%20for%20k8s.io">
|
||||
{{ T "layouts_docs_partials_feedback_improvement" }}</a>.
|
||||
</p>
|
||||
<p class="feedback--prompt">{{ T "feedback_question" }} </p>
|
||||
<button class="btn btn-primary mb-4 feedback--yes">{{ T "feedback_yes" }}</button>
|
||||
<button class="btn btn-primary mb-4 feedback--no">{{ T "feedback_no" }}</button>
|
||||
<p class="feedback--response feedback--response__hidden">
|
||||
{{ T "layouts_docs_partials_feedback_thanks" }}
|
||||
<a target="_blank" rel="noopener"
|
||||
href="https://stackoverflow.com/questions/tagged/kubernetes">
|
||||
Stack Overflow</a>.
|
||||
{{ T "layouts_docs_partials_feedback_issue" }}
|
||||
<a class="feedback--link" target="_blank" rel="noopener"
|
||||
href="https://github.com/kubernetes/website/issues/new?title=Issue%20with%20k8s.io">
|
||||
{{ T "layouts_docs_partials_feedback_problem" }}</a>
|
||||
{{ T "layouts_docs_partials_feedback_or" }}
|
||||
<a class="feedback--link" target="_blank" rel="noopener"
|
||||
href="https://github.com/kubernetes/website/issues/new?title=Improvement%20for%20k8s.io">
|
||||
{{ T "layouts_docs_partials_feedback_improvement" }}</a>.
|
||||
</p>
|
||||
</div>
|
||||
<script>
|
||||
const yes = document.querySelector('.feedback--yes');
|
||||
const no = document.querySelector('.feedback--no');
|
||||
|
||||
Reference in New Issue
Block a user