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
2. Run `mkdocs serve` to view your documentation in a browser.
19
21
3. Run `mkdocs build` to build a static website ready to host.
20
22
21
-
*MkDocs supports [GitHub Flavored Markdown](writing.md) for page authoring.*
23
+
*MkDocs supports [GitHub Flavored Markdown](docs/writing.md) for page authoring.*
22
24
23
25
## Writing your docs
24
26
25
27
1. Create additional markdown pages.
26
-
2. Use [markdown interlinking](navigation.md#interlinking) between pages.
27
-
3. Create a `mkdocs.toml` file to define [the site navigation](navigation.md#navigation) and other configuration.
28
+
2. Use [markdown interlinking](docs/navigation.md#interlinking) between pages.
29
+
3. Create a `mkdocs.toml` file to define [the site navigation](docs/navigation.md#navigation) and other configuration.
28
30
4. Move your markdown pages into a `docs` directory, and update the config.
29
31
30
32
An example `mkdocs.toml`...
@@ -45,14 +47,18 @@ title = "Documentation"
45
47
favicon = "📘"
46
48
```
47
49
48
-
*Use either [`README.md` or `index.md`](navigation.md#url-structure) for the homepage.*
50
+
*Use either [`README.md` or `index.md`](docs/navigation.md#url-structure) for the homepage.*
49
51
50
52
## Custom styling
51
53
52
54
Styling adaptations can be kept simple, such as customising the colour scheme, or more comprehensive, such as creating an entirely new theme.
53
55
54
56
1. Configure the base theme for your project.
55
-
2. Modify [the HTML templating](styling.md#templates) to customise the layout.
56
-
3. Override or add [CSS and JavaScript](styling.md#statics) static assets.
57
+
2. Modify [the HTML templating](docs/styling.md#templates) to customise the layout.
58
+
3. Override or add [CSS and JavaScript](docs/styling.md#statics) static assets.
57
59
58
60
Take a look at the [default theme](https://github.com/lovelydinosaur/mkdocs-theme) and the [kelp theme](https://github.com/lovelydinosaur/kelp-theme) for examples of getting started with theming.
61
+
62
+

63
+
64
+
*The MkDocs documentation, served with the Kelp theme.*
Copy file name to clipboardExpand all lines: docs/index.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
MkDocs is a smart, simple, website design tool.
4
4
5
+

6
+
5
7
## Installation
6
8
7
9
Install the `mkdocs` command line tool...
@@ -56,3 +58,7 @@ Styling adaptations can be kept simple, such as customising the colour scheme, o
56
58
3. Override or add [CSS and JavaScript](styling.md#statics) static assets.
57
59
58
60
Take a look at the [default theme](https://github.com/lovelydinosaur/mkdocs-theme) and the [kelp theme](https://github.com/lovelydinosaur/kelp-theme) for examples of getting started with theming.
61
+
62
+

63
+
64
+
*The MkDocs documentation, served with the Kelp theme.*
0 commit comments