Skip to content

Commit 6a8bcff

Browse files
authored
Merge pull request #487 from furkatgofurov7/doc-improvements
📖 Improvements to book
2 parents b8643e6 + 07d5594 commit 6a8bcff

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed

docs/book/README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Preview book changes locally
2+
3+
It is easy to preview your local changes to the book before submitting a PR:
4+
5+
1. Build the local copy of the book from the `docs/book` path:
6+
7+
```shell
8+
make build
9+
```
10+
11+
1. To preview the book contents run:
12+
13+
```shell
14+
make serve
15+
```
16+
17+
This should serve the book at [localhost:3000](http://localhost:3000/). You can keep running `make serve` and continue making doc changes. mdBook will detect your changes, render them and refresh your browser page automatically.
18+
19+
1. Clean mdBook auto-generated content from `docs/book/book` path once you have finished local preview:
20+
21+
```shell
22+
make clean
23+
```

docs/book/src/00_introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ This operator leverages a declarative API and extends the capabilities of the `c
1414

1515
## Getting started
1616

17-
* [Quick Start](./user/quick-start.md)
18-
* [Concepts](./user/concepts.md)
19-
* [Developer guide](./developer/guide.md)
20-
* [Contributing](./CONTRIBUTING.md)
17+
* [Quick Start](./01_user/02_quick-start.md)
18+
* [Concepts](./01_user/01_concepts.md)
19+
* [Developer guide](./04_developer/02_guide.md)
20+
* [Contributing](./05_reference/04_contributing.md)
2121

docs/book/src/04_developer/00.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
This section contains regular developer tasks, such as:
44
- Release
55
- Development guide
6-
- Migration guide
6+
- Version migration
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Version migration
2+
3+
This section provides an overview of relevant changes between versions of Cluster API Operator and their direct successors.
4+
5+
- [v1alpha1 to v1alpha2](./01_v1alpha1-to-v1alpha2.md)

docs/book/src/04_developer/03_v1alpha1-to-v1alpha2.md renamed to docs/book/src/04_developer/01_version_migration/01_v1alpha1-to-v1alpha2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Cluster API Operator v1alpha1 API compared to v1alpha2 API
1+
# Cluster API Operator v1alpha1 compared to v1alpha2
22

33
This document provides an overview over relevant changes between Cluster API Operator API v1alpha1 and v1alpha2 for consumers of our Go API.
44

0 commit comments

Comments
 (0)