You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DOCUMENTATION/_settings/content/contributing/index.md
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,18 +38,23 @@ You can request a new feature by submitting an [Issue](https://github.com/larado
38
38
39
39
Laradock uses [Hugo](https://gohugo.io/) as website generator tool, with the [Material Docs theme](http://themes.gohugo.io/theme/material-docs/). You might need to check their docs quickly.
40
40
41
-
Go the `DOCUMENTATION/_settings/content` and search for the markdown file you want to edit (every folder represents a section in the menu).
41
+
Go the `DOCUMENTATION/_settings/content` and search for the markdown file you want to edit
42
42
43
-
To edit the sidebar or add a new section, you need to edit this file `DOCUMENTATION/_settings/config.toml` as well.
43
+
Note: Every folder represents a section in the sidebar "Menu". And every page and sidebar has a `weight` number to show it's position in the site.
44
44
45
-
*The site will be autogenerated in the `docs/` folder by [Travis](https://travis-ci.com/).*
45
+
To update the sidebar or add a new section to it, you can edit this `DOCUMENTATION/_settings/config.toml` toml file.
46
+
47
+
> The site will be auto-generated in the `docs/` folder by [Travis CI](https://travis-ci.org/laradock/laradock/).
48
+
49
+
50
+
<br>
46
51
47
52
### To Host the website locally
48
53
49
-
1. Install [Hugo](https://gohugo.io/) on your machine (easy thing).
54
+
1. Install [Hugo](https://gohugo.io/) on your machine.
50
55
2. Edit the `DOCUMENTATION/_settings/content`.
51
56
3. Delete the `/docs` folder from the root.
52
-
4.When you finish editing, go to `DOCUMENTATION/_settings/` and run the `hugo` command to generate the HTML docs (inside new `/docs` folder).
57
+
4.After you finish the editing, go to `DOCUMENTATION/_settings/` and run the `hugo` command to generate the HTML docs (inside a new `/docs` folder).
0 commit comments