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: docs/index.md
+6-8Lines changed: 6 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,30 +1,28 @@
1
1
# MkDocs
2
2
3
-
MkDocs is a smart, simple website design tool using [Markdown](writing.md), [templated HTML](styling.md#templates), and static [media files](styling.md#media).
3
+
MkDocs is a smart, simple, website design tool.
4
4
5
5
## Installation
6
6
7
-
Install the mkdocs command line tool...
7
+
Install the `mkdocs` command line tool...
8
8
9
9
```shell
10
10
$ pip install mkdocs
11
11
```
12
12
13
13
## Getting started
14
14
15
-
1. Create a `README.md`file, and get authoring.
15
+
1. Create a `README.md`page.
16
16
2. Run `mkdocs serve` to view your documentation in a browser.
17
17
3. Run `mkdocs build` to build a static website ready to host.
18
18
19
19
MkDocs supports [GitHub Flavored Markdown](writing.md) for page authoring.
20
20
21
21
## Adding pages
22
22
23
-
1. Create other markdown files, such as `CONTRIBUTING.md`.
24
-
2. Link between your documents, eg. `See the [contributing](CONTRIBUTING.md) page for more details`.
25
-
3. Create a `mkdocs.json` config file to add site navigation.
26
-
27
-
Sites can be single page, multipage, or deeply nested. Just use regular interlinking between your markdown documents, with `mkdocs.json` to define an overall [site layout](navigation.md).
23
+
1. Create additional markdown pages.
24
+
2. Use markdown interlinking between pages.
25
+
3. Create a `mkdocs.toml` config file to define the site navigation.
Copy file name to clipboardExpand all lines: docs/styling.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Styling is handled with HTML templating and regular web design.
4
4
5
5
## Templates
6
6
7
-
Anything in the `/templates/` directory is treated as a [Jinja template](https://jinja.palletsprojects.com/en/stable/templates/), and is used to render pages, rather than being served directly. You can override templates locally and adapt them to make layout changes.
7
+
Anything in the `/templates/` directory is treated as a [Jinja template](https://jinja.palletsprojects.com/en/stable/templates/), and is used to render markdown pages. You can override templates locally and adapt them to make layout changes.
8
8
9
9
The base template for rendering markdown pages is **`templates/base.html`**.
0 commit comments