Skip to content

Commit 187d092

Browse files
Merge pull request #32 from encode/docs-images
Add images for default and kelp themes
2 parents f6405ac + b6b92a4 commit 187d092

File tree

4 files changed

+18
-6
lines changed

4 files changed

+18
-6
lines changed

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
MkDocs is a smart, simple, website design tool.
44

5+
![MkDocs](docs/img/mkdocs.png)
6+
57
## Installation
68

79
Install the `mkdocs` command line tool...
@@ -18,13 +20,13 @@ $ pip install git+https://github.com/encode/mkdocs.git
1820
2. Run `mkdocs serve` to view your documentation in a browser.
1921
3. Run `mkdocs build` to build a static website ready to host.
2022

21-
*MkDocs supports [GitHub Flavored Markdown](writing.md) for page authoring.*
23+
*MkDocs supports [GitHub Flavored Markdown](docs/writing.md) for page authoring.*
2224

2325
## Writing your docs
2426

2527
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.
2830
4. Move your markdown pages into a `docs` directory, and update the config.
2931

3032
An example `mkdocs.toml`...
@@ -45,14 +47,18 @@ title = "Documentation"
4547
favicon = "📘"
4648
```
4749

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.*
4951

5052
## Custom styling
5153

5254
Styling adaptations can be kept simple, such as customising the colour scheme, or more comprehensive, such as creating an entirely new theme.
5355

5456
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.
5759

5860
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+
![Kelp](docs/img/kelp.png)
63+
64+
*The MkDocs documentation, served with the Kelp theme.*

docs/img/kelp.png

226 KB
Loading

docs/img/mkdocs.png

262 KB
Loading

docs/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
MkDocs is a smart, simple, website design tool.
44

5+
![MkDocs](img/mkdocs.png)
6+
57
## Installation
68

79
Install the `mkdocs` command line tool...
@@ -56,3 +58,7 @@ Styling adaptations can be kept simple, such as customising the colour scheme, o
5658
3. Override or add [CSS and JavaScript](styling.md#statics) static assets.
5759

5860
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+
![Kelp](img/kelp.png)
63+
64+
*The MkDocs documentation, served with the Kelp theme.*

0 commit comments

Comments
 (0)