Add Figure <number> to text and caption
method described in [How to use captions](https://kubernetes.io/docs/contribute/style/diagram-guide/#how-to-use-captions)pull/31652/head
parent
996ac4d941
commit
9581abbe2e
|
@ -28,7 +28,7 @@ If your changes are large, read [Work from a local fork](#fork-the-repo) to lear
|
||||||
## Changes using GitHub
|
## Changes using GitHub
|
||||||
|
|
||||||
If you're less experienced with git workflows, here's an easier method of
|
If you're less experienced with git workflows, here's an easier method of
|
||||||
opening a pull request. The figure below outlines the steps and the details follow.
|
opening a pull request. Figure 1 outlines the steps and the details follow.
|
||||||
|
|
||||||
<!-- See https://github.com/kubernetes/website/issues/28808 for live-editor URL to this figure -->
|
<!-- See https://github.com/kubernetes/website/issues/28808 for live-editor URL to this figure -->
|
||||||
<!-- You can also cut/paste the mermaid code into the live editor at https://mermaid-js.github.io/mermaid-live-editor to play around with it -->
|
<!-- You can also cut/paste the mermaid code into the live editor at https://mermaid-js.github.io/mermaid-live-editor to play around with it -->
|
||||||
|
@ -61,7 +61,7 @@ class tasks,tasks2 white
|
||||||
class id1 k8s
|
class id1 k8s
|
||||||
{{</ mermaid >}}
|
{{</ mermaid >}}
|
||||||
|
|
||||||
***Figure - Steps for opening a PR using GitHub***
|
Figure 1. Steps for opening a PR using GitHub***
|
||||||
|
|
||||||
1. On the page where you see the issue, select the pencil icon at the top right.
|
1. On the page where you see the issue, select the pencil icon at the top right.
|
||||||
You can also scroll to the bottom of the page and select **Edit this page**.
|
You can also scroll to the bottom of the page and select **Edit this page**.
|
||||||
|
@ -122,7 +122,7 @@ work from a local fork.
|
||||||
|
|
||||||
Make sure you have [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) installed on your computer. You can also use a git UI application.
|
Make sure you have [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) installed on your computer. You can also use a git UI application.
|
||||||
|
|
||||||
The figure below shows the steps to follow when you work from a local fork. The details for each step follow.
|
Figure 2 shows the steps to follow when you work from a local fork. The details for each step follow.
|
||||||
|
|
||||||
<!-- See https://github.com/kubernetes/website/issues/28808 for live-editor URL to this figure -->
|
<!-- See https://github.com/kubernetes/website/issues/28808 for live-editor URL to this figure -->
|
||||||
<!-- You can also cut/paste the mermaid code into the live editor at https://mermaid-js.github.io/mermaid-live-editor to play around with it -->
|
<!-- You can also cut/paste the mermaid code into the live editor at https://mermaid-js.github.io/mermaid-live-editor to play around with it -->
|
||||||
|
@ -151,7 +151,8 @@ class 1,2,3,3a,4,5,6 grey
|
||||||
class S,T spacewhite
|
class S,T spacewhite
|
||||||
class changes,changes2 white
|
class changes,changes2 white
|
||||||
{{</ mermaid >}}
|
{{</ mermaid >}}
|
||||||
***Figure - Working from a local fork to make your changes***
|
|
||||||
|
Figure 2. Working from a local fork to make your changes***
|
||||||
|
|
||||||
### Fork the kubernetes/website repository
|
### Fork the kubernetes/website repository
|
||||||
|
|
||||||
|
@ -353,7 +354,7 @@ Alternately, install and use the `hugo` command on your computer:
|
||||||
|
|
||||||
### Open a pull request from your fork to kubernetes/website {#open-a-pr}
|
### Open a pull request from your fork to kubernetes/website {#open-a-pr}
|
||||||
|
|
||||||
The figure below shows the steps to open a PR from your fork to the K8s/website. The details follow.
|
Figure 3 shows the steps to open a PR from your fork to the K8s/website. The details follow.
|
||||||
<!-- See https://github.com/kubernetes/website/issues/28808 for live-editor URL to this figure -->
|
<!-- See https://github.com/kubernetes/website/issues/28808 for live-editor URL to this figure -->
|
||||||
<!-- You can also cut/paste the mermaid code into the live editor at https://mermaid-js.github.io/mermaid-live-editor to play around with it -->
|
<!-- You can also cut/paste the mermaid code into the live editor at https://mermaid-js.github.io/mermaid-live-editor to play around with it -->
|
||||||
|
|
||||||
|
@ -379,7 +380,8 @@ classDef white fill:#ffffff,stroke:#000,stroke-width:px,color:#000,font-weight:b
|
||||||
class 1,2,3,4,5,6,7,8 grey
|
class 1,2,3,4,5,6,7,8 grey
|
||||||
class first,second white
|
class first,second white
|
||||||
{{</ mermaid >}}
|
{{</ mermaid >}}
|
||||||
***Figure - Steps to open a PR from your fork to the K8s/website***
|
|
||||||
|
Figure 3. Steps to open a PR from your fork to the K8s/website***
|
||||||
|
|
||||||
1. In a web browser, go to the [`kubernetes/website`](https://github.com/kubernetes/website/) repository.
|
1. In a web browser, go to the [`kubernetes/website`](https://github.com/kubernetes/website/) repository.
|
||||||
2. Select **New Pull Request**.
|
2. Select **New Pull Request**.
|
||||||
|
|
Loading…
Reference in New Issue