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: CONTRIBUTING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ It is particularly helpful if an issue report touches on all of these aspects:
25
25
26
26
1. What are you trying to achieve?
27
27
28
-
2. What is your `mkdocs.yml` configuration (+ other relevant files)? Preferably reduced to the minimal reproducible example.
28
+
2. What is your `properdocs.yml` configuration (+ other relevant files)? Preferably reduced to the minimal reproducible example.
29
29
30
30
3. What did you expect to happen when applying this setup?
31
31
@@ -119,7 +119,7 @@ Documentation files are also checked by markdownlint, so you should run this as
119
119
hatch run lint:check
120
120
```
121
121
122
-
If you add a new plugin to mkdocs.yml, you don't need to add it to any "requirements" file, because that is managed automatically.
122
+
If you add a new plugin to properdocs.yml, you don't need to add it to any "requirements" file, because that is managed automatically.
123
123
124
124
> INFO: If you don't want to use Hatch, for documentation you can install requirements into a virtualenv, in one of these ways (with `.venv` being the virtualenv directory):
Copy file name to clipboardExpand all lines: docs/about/release-notes.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ See `color_mode`, `user_color_mode_toggle` in [**documentation**](../user-guide/
102
102
103
103
> WARNING: **Possible breaking change.**
104
104
>
105
-
> jQuery is no longer included into the "mkdocs" theme. If you were relying on it in your scripts, you will need to separately add it first (into mkdocs.yml) as an extra script:
105
+
> jQuery is no longer included into the "mkdocs" theme. If you were relying on it in your scripts, you will need to separately add it first (into `properdocs.yml`) as an extra script:
The idea is that right after running this command, you can directly follow it up with `mkdocs build` and it will almost always "just work", without needing to think which dependencies to install.
330
330
331
-
The way it works is by scanning `mkdocs.yml` for `themes:`, `plugins:`, `markdown_extensions:` items and doing a reverse lookup based on a large list of known projects (catalog, see below).
331
+
The way it works is by scanning `properdocs.yml` for `themes:`, `plugins:`, `markdown_extensions:` items and doing a reverse lookup based on a large list of known projects (catalog, see below).
332
332
333
333
Of course, you're welcome to use a "virtualenv" with such a command. Also note that for environments that require stability (for example CI) directly installing deps in this way is not a very reliable approach as it precludes dependency pinning.
334
334
335
-
The command allows overriding which config file is used (instead of `mkdocs.yml` in the current directory) as well as which catalog of projects is used (instead of downloading it from the default location). See [`mkdocs get-deps --help`](../user-guide/cli.md#properdocs-get-deps).
335
+
The command allows overriding which config file is used (instead of `properdocs.yml` in the current directory) as well as which catalog of projects is used (instead of downloading it from the default location). See [`mkdocs get-deps --help`](../user-guide/cli.md#properdocs-get-deps).
336
336
337
337
Context: #3205
338
338
@@ -356,7 +356,7 @@ Now, in addition to validating relative links, MkDocs will print `INFO` messages
356
356
INFO - Doc file 'example.md' contains an absolute link '/foo/bar/', it was left as is. Did you mean 'foo/bar.md'?
357
357
```
358
358
359
-
If you don't want any changes, not even the `INFO` messages, and wish to revert to the silence from MkDocs 1.4, add the following configs to `mkdocs.yml` (**not** recommended):
359
+
If you don't want any changes, not even the `INFO` messages, and wish to revert to the silence from MkDocs 1.4, add the following configs to `properdocs.yml` (**not** recommended):
Copy file name to clipboardExpand all lines: docs/user-guide/configuration.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Guide to all available configuration settings.
7
7
## Introduction
8
8
9
9
Project settings are configured by default using a YAML configuration file in
10
-
the project directory named `mkdocs.yml`. You can specify another path for it
10
+
the project directory named `properdocs.yml`. You can specify another path for it
11
11
by using the `-f`/`--config-file` option (see `properdocs build --help`).
12
12
13
13
At a minimum, this configuration file must contain the `site_name`. All other settings are optional.
@@ -823,7 +823,7 @@ This alternative syntax is required if you intend to override some options via
823
823
824
824
NEW: **New in version 1.4.**
825
825
826
-
A list of paths to Python scripts (relative to `mkdocs.yml`) that are loaded and used as [plugin](#plugins) instances.
826
+
A list of paths to Python scripts (relative to `properdocs.yml`) that are loaded and used as [plugin](#plugins) instances.
827
827
828
828
For example:
829
829
@@ -884,7 +884,7 @@ the site. See the [Plugins] documentation for full details.
884
884
885
885
**default**: `['search']` (the "search" plugin included with ProperDocs).
886
886
887
-
If the `plugins` config setting is defined in the `mkdocs.yml` config file, then
887
+
If the `plugins` config setting is defined in the `properdocs.yml` config file, then
888
888
any defaults (such as `search`) are ignored and you need to explicitly re-enable
889
889
the defaults if you would like to continue using them:
890
890
@@ -1115,7 +1115,7 @@ Examples of the possible values are:
1115
1115
```yaml
1116
1116
- !relative # Relative to the directory of the current Markdown file
1117
1117
- !relative $docs_dir # Path of the docs_dir
1118
-
- !relative $config_dir # Path of the directory that contains the main mkdocs.yml
1118
+
- !relative $config_dir # Path of the directory that contains the main properdocs.yml
1119
1119
- !relative $config_dir/some/child/dir # Some subdirectory of the root config directory
1120
1120
```
1121
1121
@@ -1131,12 +1131,12 @@ markdown_extensions:
1131
1131
1132
1132
This allows the [pymdownx.snippets] extension to include files relative to the current Markdown file, which without this tag it would have no way of knowing.
1133
1133
1134
-
> NOTE: Even for the default case, any extension's base path is technically the *current working directory* although the assumption is that it's the *directory of mkdocs.yml*. So even if you don't want the paths to be relative, to improve the default behavior, always prefer to use this idiom:
1134
+
> NOTE: Even for the default case, any extension's base path is technically the *current working directory* although the assumption is that it's the *directory of properdocs.yml*. So even if you don't want the paths to be relative, to improve the default behavior, always prefer to use this idiom:
1135
1135
>
1136
1136
> ```yaml
1137
1137
> markdown_extensions:
1138
1138
> - pymdownx.snippets:
1139
-
> base_path: !relative $config_dir # Relative to the root directory with mkdocs.yml
1139
+
> base_path: !relative $config_dir # Relative to the root directory with properdocs.yml
1140
1140
> ```
1141
1141
1142
1142
## Configuration Inheritance
@@ -1171,15 +1171,15 @@ markdown_extensions:
1171
1171
```
1172
1172
1173
1173
Then, for the "foo" site, the primary configuration file would be defined at
1174
-
`foo/mkdocs.yml`:
1174
+
`foo/properdocs.yml`:
1175
1175
1176
1176
```yml
1177
1177
INHERIT: ../base.yml
1178
1178
site_name: Foo Project
1179
1179
site_url: https://example.com/foo
1180
1180
```
1181
1181
1182
-
When running `properdocs build`, the file at `foo/mkdocs.yml` would be passed in as
1182
+
When running `properdocs build`, the file at `foo/properdocs.yml` would be passed in as
1183
1183
the configuration file. ProperDocs will then parse that file, retrieve and parse the
1184
1184
parent file `base.yml` and deep merge the two. This would result in ProperDocs
1185
1185
receiving the following merged configuration:
@@ -1259,7 +1259,7 @@ path based options in the primary configuration file only.
1259
1259
The inheritance can also be used as a quick way to override keys on the command line - by using stdin as the config file. For example:
0 commit comments