Skip to content

Commit 7ab9ff6

Browse files
committed
Updating readme, contributing and docs-guideline files
1 parent 3baaa20 commit 7ab9ff6

File tree

3 files changed

+54
-45
lines changed

3 files changed

+54
-45
lines changed

CONTRIBUTING.md

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
# How to contribute to OVH documentation
1+
# How to contribute to OVHcloud documentation
22

33
## Contribute guidelines
44

55
All our documentation is written using markdown slightly customized. You can find all details on the repository sort [here](docs-guideline/docs-guideline.md) and info on our customized markdown [here](docs-guideline/markdown-custom.md).
66

7-
All docs appear on <https://docs.ovh.com>.
8-
7+
All docs appear on <https://help.ovhcloud.com/csm>.
98

109
## How to contribute
1110

@@ -16,12 +15,12 @@ For example : FR Update Change email password. Product shortcut can be added if
1615

1716
### Pull Request Reviews
1817

19-
All pull requests are reviewed by our Technical Copywriter team to ensure that our guide style is respected and that all technical information are correct. Your pull request won't be merged immediately, each request will be reviewed. So changes may apply when merged is done.
18+
All pull requests are reviewed by our Technical Copywriters team to ensure that our guide style is respected and that all technical information are correct. Your pull request won't be merged immediately, each request will be reviewed. So changes may apply when merged is done.
2019

21-
Once validated by our reviewers, the request will be merged and the updated doc will be online. If online version doesn't suit to what you wanted when you applied, feel free to tell us.
20+
Once validated by our reviewers, the request will be merged and made public shortly after. If the online version doesn't suit your original needs, feel free to tell us.
2221

23-
Our team will do his best to answer and deal with your request as fast as possible but don't forget that all requests are reviewed and it takes time.
22+
Our team will do their best to answer and deal with your request as fast as possible.
2423

2524
### License appliance
2625

27-
When you ask for a change on OVH docs platform, you accept the [LICENCE](LICENCE) requirement.
26+
When you ask for a change on the OVHcloud documentation platform, you accept the [LICENCE](LICENCE) requirement.

docs-guideline/docs-guideline.md

+45-24
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ___
55

66
## Storage
77

8-
All guides are stored in this [repository](#)
8+
All guides are stored in this repository's [pages](https://github.com/ovh/docs/tree/develop/pages) folder.
99

1010
### Repository structure
1111

@@ -23,8 +23,8 @@ A `guide` belongs to a `product` that belongs to an `universe`. Keep this in min
2323
| | | └── product.fr-fr.md (title: Domaines et DNS)
2424
| | ├── universe.en-gb.md (title: Web)
2525
| | └── universe.fr-fr.md (title: Web)
26-
| ├── home.en-gb.md (title: OVH - Documentation)
27-
| └── home.fr-fr.md (title: OVH - Guides)
26+
| ├── home.en-gb.md (title: OVHcloud - Documentation)
27+
| └── home.fr-fr.md (title: OVHcloud - Guides)
2828
└── README.md
2929
```
3030

@@ -44,7 +44,25 @@ _example_: `home.en-gb.md`, `universe.fr-fr.md`, ...
4444

4545
#### content-types
4646

47-
##### home
47+
##### index
48+
49+
The [index.md file](https://github.com/ovh/docs/blob/develop/pages/index.md) introduced in December 2022 is the single source of truth for guides organisation on the public documentation website: <https://help.ovhcloud.com/csm>.
50+
51+
There can be up to 3 categories levels in addition to the KB base level. The indentation is made in 4 spaces increments, and reflects the nesting structure of the guides and categories.
52+
53+
The labels and titles are all in english. Translations of the L1 and L2 categories are listed in the `index-translations.<language>.yaml` files.
54+
55+
The index is structured as such:
56+
57+
```bash
58+
## Contents
59+
+ Knowledge base
60+
+ [L1 category](full-slug)
61+
+ [L2 category](full-slug)
62+
+ [English title of the guide](repository-guide-path)
63+
```
64+
65+
##### home (deprecated)
4866

4967
Home page for a specific `zone` and `language` pair.
5068
No content in this file except metadata.
@@ -60,12 +78,12 @@ Add metadata as yaml frontmatter
6078

6179
```md
6280
---
63-
title: OVH Documentation
81+
title: OVHcloud Documentation
6482
excerpt: How can we help you ?
6583
---
6684
```
6785

68-
##### universe
86+
##### universe (deprecated)
6987

7088
Page that lists all visible products the universe owns.
7189
No content in this file except metadata.
@@ -77,10 +95,10 @@ No content in this file except metadata.
7795
| title | title of the product | mandatory |
7896
| excerpt | short desc of the universe | |
7997
| slug | part of the url | (default: folder name) |
80-
| order | order of the universe in home | |
98+
| order | order of the universe in home | deprecated |
8199
| hidden | not visible in home if True | (default: False) |
82100

83-
##### product
101+
##### product (deprecated)
84102

85103
Page that lists all visible guides the product owns.
86104
No content in this file except metadata.
@@ -104,15 +122,24 @@ Page containing documentation about the subject of your choice.
104122
| name | description | extra |
105123
|---------|----------------------------------|------------------------|
106124
| title | title of the doc | mandatory |
107-
| excerpt | short desc of the doc | |
108-
| slug | part of the url | (default: folder name) |
109-
| section | product's section of the doc | (default: Misc) |
110-
| order | order of the doc in section | |
125+
| excerpt | short description of the doc | mandatory |
126+
| slug | part of the url | deprecated |
127+
| section | product's section of the doc | deprecated |
128+
| order | order of the doc in section | deprecated |
111129
| hidden | not visible in section if True | (default: False) |
112130

131+
###### meta.yaml
132+
133+
File containing mandatory unique identifiers for each guide.
134+
135+
| name | description | extra |
136+
|----------|----------------------------------|------------------------|
137+
| id | V4 UUID | mandatory |
138+
| full_slug| part of the url | mandatory |
139+
113140
###### images
114141

115-
If you want to add some pictures in your guide, create a folder images within your guide folder and place your pics there.
142+
If you want to add some pictures in your guide, create a folder images within your guide folder and place your images there.
116143

117144
```bash
118145
...
@@ -124,7 +151,7 @@ If you want to add some pictures in your guide, create a folder images within yo
124151
...
125152
```
126153

127-
You can now reference your pics relatively to your guide. See below an example for the file `my-super-guide/guide.en-gb.md`
154+
You can now reference your images relatively to your guide. See below an example for the file `my-super-guide/guide.en-gb.md`
128155

129156
```markdown
130157
... ![image 02 alt](images/02.jpg) ...
@@ -137,40 +164,34 @@ Each guide must be placed in a folder with a representative name
137164

138165
Allowed `ISO 639-1` language code (*[wikipedia](https://en.wikipedia.org/wiki/ISO_639-1)*)
139166

140-
- `cs`: Czech
141167
- `de`: German
142168
- `en`: English
143169
- `es`: Spanish
144-
- `fi`: Finnish
145170
- `fr`: French
146171
- `it`: Italian
147-
- `lt`: Lithuanian
148-
- `nl`: Dutch
149172
- `pl`: Polish
150173
- `pt`: Portuguese
151174

152175
#### zones
153176

154177
Allowed `ISO 3166-1` country code (*[wikipedia](https://en.wikipedia.org/wiki/ISO_3166-1)*)
155178

179+
- `asia`: Asia
156180
- `au`: Australia
157181
- `ca`: Canada
158-
- `cz`: Czech Republic
159182
- `de`: Germany
160183
- `es`: Spain
161-
- `fi`: Finland
162184
- `fr`: France
163185
- `ie`: Ireland
164186
- `it`: Italy
165187
- `gb`: United Kingdom
166-
- `lt`: Lithuania
167-
- `nl`: Netherlands
168188
- `pl`: Poland
169189
- `pt`: Portugal
170-
- `us`: United States
190+
- `sg`: Singapore
191+
- `us`: World English / World Spanish
171192

172193
__Note__
173-
Exhaustiv list of authorized language suffixes: `cs-cz`, `de-de`, `en-au`, `en-ca`, `en-ie`, `en-gb`, `en-us`, `es-es`, `es-us`, `fi-fi`, `fr-ca`, `fr-fr`, `it-it`, `lt-lt`, `nl-nl`, `pl-pl`, `pt-pt`.
194+
Exhaustive list of authorized language suffixes: `de-de`,`en-asia`, `en-au`, `en-ca`, `en-ie`, `en-gb`, `en-us` (World English), `es-es`, `es-us` (América Latina), `fr-ca`, `fr-fr`, `it-it`, `pl-pl`, `pt-pt`.
174195

175196
___
176197

readme.md

+3-14
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,16 @@
11
# OVHcloud Documentation
22

3-
[![Build Status](https://travis-ci.org/ovh/docs.svg?branch=develop)](https://travis-ci.org/ovh/docs)
3+
This repository contains all the public documentation available about OVHcloud products, in all languages. A good way to find answers to some "how to" questions about OVHcloud products.
44

5-
Here is all public documentation available about OVHcloud products, in all languages. A good way to find answers to some "how to" questions about OVHcloud products.
6-
7-
A web version also exists [here](https://docs.ovh.com); the website and this repo are synced.
5+
A web version also exists [here](https://help.ovhcloud.com/csm). This website and this repo are synced.
86

97
This project is under active development, and new guides are added or updated on a daily basis.
108

11-
## Built With
12-
13-
* [Grav CMS](https://getgrav.org/) - The editor used internally to produce and manage guides
14-
* [Algolia](https://www.algolia.com/) - The search engine used in docs.ovh.com
15-
16-
## Test it
17-
18-
* [docs-rendering-engine](https://github.com/ovh/docs-rendering) - Our HTML templating engine based on Pelican. ISO-rendering of docs.ovh.com
19-
209
## Contributing
2110

2211
We will be happy to take a look at your contributions. You can contribute to this project by updating some existing guides, completing them or creating new ones.
2312

24-
A good way to easily get started with contributions is [to fork the ovh/docs repo](https://docs.github.com/en/free-pro-team@latest/github/getting-started-with-github/fork-a-repo), write your changes on your fork then [create a pull request (PR)](https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) from your fork to the ovh/docs repo. Your PR must be done on the "develop" branch.
13+
A good way to easily get started with contributions is [to fork the ovh/docs repo](https://docs.github.com/en/get-started/quickstart/fork-a-repo), write your changes on your fork then [create a pull request (PR)](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork) from your fork to the ovh/docs repo. Your PR must be done on the "develop" branch.
2514

2615
Our guides editing team will then review your contribution and choose to edit, validate or reject it.
2716

0 commit comments

Comments
 (0)