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

New v1.1 navigation menu #16143

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

RichieEscarez
Copy link
Contributor

The nav menu includes the new and previously missing topics, see it in my fork: http://richieescarez.github.io/kubernetes/v1.1/index.html

In this PR I also have also:

  • integrated this new nav menu into docwithnav.html template (so all files that we push into the _v1.1 folder in gh-pages will be build with this nav menu)
  • included new v1.1 copies of the landing pages (which now all contain short descriptions (attempt to improve SEO))
  • see specific details below

Please review the following changes to ensure they have been located correctly in the menu.

IMPORTANT: we have not run the scripts to generate the .html files nor have they been copied into the new _v1.1 folder in gh-pages. Therefore no topics will show when you click in the nav menu.
QUESTION Can someone help run that script so that we can test the doc set out on k8s.io? (it will publish the content but nobody will know it there unless they manually change their URLs for .../v1.0x/... to .../v1.1/...) thanks @krousey !

Attn:
@caesarxuchao, @nikhiljindal, @krousey, @thockin, @bprashanth, @jszczepkowski, @erictune
Please see the location of your documents below and provide feedback on what needs to change (is anything missing? are the URLs correct?).

Notable changes:

Fixes #15903
Related #15893

@RichieEscarez RichieEscarez added the kind/documentation Categorizes issue or PR as related to documentation. label Oct 23, 2015
@RichieEscarez RichieEscarez added this to the v1.1 milestone Oct 23, 2015
@k8s-github-robot k8s-github-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Oct 23, 2015
@k8s-github-robot
Copy link

Labelling this PR as size/XL

@bgrant0607
Copy link
Member

We need to distinguish between menu selections that expand into more items in the menu bar and those that change the content on the RHS.

@bgrant0607
Copy link
Member

I'm going to make a bunch of comments, but have a meeting shortly. If you have other things to do, you might want to wait for more feedback.

One thing discussed over IM: I don't like "Advanced Topics". These are really "New Features". Other issues with that menu and page:

  • All the APIs are part of the "extensions" API group currently, including Ingress. I don't see why that is called out differently.
  • Ingress, Job, and Horizontal Pod Autoscaling are all beta and available by default.
  • DaemonSet and Deployment are disabled by default. Although they are reachable via /apis/extensions/v1beta1, they are NOT beta.

@RichieEscarez
Copy link
Contributor Author

Thanks @bgrant0607 , i will look into adding chevrons for container topics (that open sub-menus).

Sorry, I understood that the ingress resource was actually apart of core but ill move them all together.

The alpha items/topics should explicitly call out that they are alpha (as mentioned in discussions with dev owners). Should we try to call them out in the nav menu too? I was trying to avoid mentioning both alpha and beta all together.

@bgrant0607
Copy link
Member

"Overview and concepts" should not be the first subgroup under "User's Guide". Ingress, Job, and Horizontal Pod Autoscaling should be added to that subgroup.

Also, "Architecture" doesn't belong under "Overview and concepts". It belongs under Cluster Administration.

@bgrant0607
Copy link
Member

Put docs/user-guide/overview.html under Getting Started.

Put the concept list under Application Administration > Overview and concepts.

@bgrant0607
Copy link
Member

Take Life of a Pod and Firewalls out of the concept list. Don't indent Persistent Volumes, as it looks out of place.

@bgrant0607
Copy link
Member

Remove "Kubernetes Basics" from Tutorials.

Rename "Deploying Clusters" to "Deploying Clustered Applications". It's longer, but "Clusters" is ambiguous with Kubernetes clusters.

@bgrant0607
Copy link
Member

Or maybe just "Clustered Applications"

@bgrant0607
Copy link
Member

"Persistent Images" is incorrect terminology. It should be "Persistent Volumes".

@bgrant0607
Copy link
Member

Put JSONPath under CLI Reference.

@bgrant0607
Copy link
Member

The difference between "Overview" and "kubectl" is not clear. I suggest "Command Reference" for the latter.

@bgrant0607
Copy link
Member

Done with my current round of comments.

@RichieEscarez
Copy link
Contributor Author

Ok thanks. Ill be offline for awhile and will recover these later today.

I just pushed these sub menu indicators (carets), PTAL:

image

@bgrant0607
Copy link
Member

The carets help a lot, thanks.

@RichieEscarez
Copy link
Contributor Author

  • Implemented all request/suggested changes (see list below for deviations/notes)
  • Note: docs copied in from master so we can test the actual links now

Other notable changes:

  • Fixed carets: moved to the left side (to avoid weird wrapping, see screen cap below)
  • Removed sub section: "Adv topics" (our "extensions" topics were all moved under app admin concepts)
  • Remove "life of a pod" and "firewalls" (neither are connected to the nav menu - user wont see their location when viewing those topics):
    `
  • The Life of A Pod
  • Firewalls
  • `
  • Moved "k8s basics tutorials" into App. Admin. section: "Quick Walkthrough: Kubernetes Basics"
  • Added section/titles to app admin (to organize and improve scanability/retrievability):
    image
    Note: Something to track is that these links do not work yet:
    Deployments
    Ingress Resources
    Horizontal Pod Autoscaling

@@ -16,7 +16,12 @@
<div class="row">
<!-- Navigation menu -->
<div class="col-md-3 hidden-sm hidden-xs" id="wrapper">
{% include nav_v1.0.html %}
{% case page.collection %}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this adds new _v1.1 content into the build and specifies what version of the nav menus to use per "collection" (ie _v1.0 or _v1.1)

@RichieEscarez
Copy link
Contributor Author

@bgrant0607 PTAL

…tegrate new doc set into docwithnav.html template, and included new copies of the landing pages (that contain short descriptions)

Fixes kubernetes#15903
@k8s-github-robot
Copy link

@k8s-bot ok to test

pr builder appears to be missing, activating due to 'lgtm' label.

@k8s-github-robot
Copy link

Continuous integration appears to have missed, closing and re-opening to trigger it

@k8s-github-robot
Copy link

@k8s-bot ok to test

pr builder appears to be missing, activating due to 'lgtm' label.

@k8s-github-robot
Copy link

Continuous integration appears to have missed, closing and re-opening to trigger it

@k8s-github-robot
Copy link

@k8s-bot ok to test

pr builder appears to be missing, activating due to 'lgtm' label.

@k8s-github-robot
Copy link

Continuous integration appears to have missed, closing and re-opening to trigger it

@k8s-github-robot
Copy link

@k8s-bot ok to test

pr builder appears to be missing, activating due to 'lgtm' label.

@k8s-github-robot
Copy link

Continuous integration appears to have missed, closing and re-opening to trigger it

@k8s-github-robot
Copy link

@k8s-bot ok to test

pr builder appears to be missing, activating due to 'lgtm' label.

@k8s-github-robot
Copy link

Continuous integration appears to have missed, closing and re-opening to trigger it

@wojtek-t
Copy link
Member

@RichieEscarez @k8s-oncall

There seem to be some problem with this PR - we cannot start any tests for it.

@krousey
Copy link
Contributor

krousey commented Oct 26, 2015

@wojtek-t This branch has no tests.

@k8s-github-robot
Copy link

@k8s-bot ok to test

pr builder appears to be missing, activating due to 'lgtm' label.

@k8s-github-robot
Copy link

Continuous integration appears to have missed, closing and re-opening to trigger it

@brendandburns
Copy link
Contributor

manually merging because merge bot is broken.

brendandburns added a commit that referenced this pull request Oct 26, 2015
@brendandburns brendandburns merged commit d3a2b58 into kubernetes:gh-pages Oct 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants