mirror of
https://github.com/mkdocs/mkdocs.git
synced 2026-03-27 09:58:31 +07:00
New flag mkdocs serve --clean - simulate a pure mkdocs build and then serve
Also rename `--dirtyreload` flag to `--dirty` (keep the old name working)
This commit is contained in:
@@ -310,7 +310,7 @@ exclude_docs: |
|
||||
|
||||
This follows the [.gitignore pattern format](https://git-scm.com/docs/gitignore#_pattern_format).
|
||||
|
||||
Note that `mkdocs serve` does *not* follow this setting and instead displays excluded documents but with a "DRAFT" mark.
|
||||
Note that `mkdocs serve` does *not* follow this setting and instead displays excluded documents but with a "DRAFT" mark. To prevent this effect, you can run `mkdocs serve --clean`.
|
||||
|
||||
The following defaults are always implicitly prepended - to exclude dot-files (and directories) as well as the top-level `templates` directory:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user