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: README.md
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,16 +53,20 @@ In order to make the "last edit date" plugin work you need to clone the full his
53
53
with:
54
54
src: doc
55
55
dst: generated
56
+
title: Markdown Docs
56
57
language: en
57
58
icon: library
58
59
primary-color: indigo
59
60
secondary-color: indigo
61
+
hide-repository: false
60
62
```
61
63
##### Additional parameters info
64
+
* `title` is an optional parameter (defaults to the name of the repository, such as `ldeluigi/markdown-docs` or `Documentation` if no repo is detected) that sets the title displayed at the top of the documentation website.
62
65
* `language` is an optional paramater (defaults to `en`) that allows to change [language features](https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language) and [search features](https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/#built-in-search).
63
66
* `icon` is an optional parameter (defaults to `library`) that selects the main top-left icon of the documentation website. Can be one of the icons from [Material Design Icons](https://materialdesignicons.com).
64
67
* `primary-color` is an optional parameter (defaults to `indigo`) that selects the main color of the documentation website. For more information, see the [docs](https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#primary-color).
65
68
* `secondary-color` is an optional parameter (defaults to `indigo`) that selects the accent color of the documentation website. For more information, see the [docs](https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#accent-color).
69
+
* `hide-repository` is an optional parameter (defaults to `false`) that, if set to `true`, will hide every reference to the source repo. Useful for private repos.
66
70
67
71
### As Docker builder
68
72
To use **markdown-docs** as a Docker builder stage use the following syntax in your Dockerfile:
@@ -84,13 +88,14 @@ There are some environment variables that control the behaviour of the builder.
84
88
```dockerfile
85
89
ENV WORKSPACE=/home
86
90
# Optionals (with their default values)
91
+
ENV TITLE=Markdown Docs
87
92
ENV LANGUAGE=en
88
93
ENV ICON=library
89
94
ENV PRIMARY_COLOR=indigo
90
95
ENV SECONDARY_COLOR=indigo
91
96
```
92
97
* `WORKSPACE` selects the path in which the main script is run. This path should be the root of your working directory, inside which there are both the source folder and the destination folder.
93
-
* `LANGUAGE`, `ICON`, `PRIMARY_COLOR`, `SECONDARY_COLOR` are all described in [this section](#additional-parameters-info).
98
+
* `TITLE`, `LANGUAGE`, `ICON`, `PRIMARY_COLOR`, `SECONDARY_COLOR` are all described in [this section](#additional-parameters-info).
0 commit comments