Rename a file
mkdocs.yml
# This example shows how to rename a single file in the doc site.
site_name: ok-with-rename
plugins:
- simple:
semiliterate:
- pattern: '^foo.bar$'
destination: baz.md
Input
ok-with-rename/
├── foo.bar
├── mkdocs.yml
└── README.md
Output
site/
├── baz/
│ └── index.html
└── index.html
Last update:
August 25, 2023