Configure MkDocs for GitHub Pages¶
Copy the bundled MkDocs site config into the workspace and append the required Python packages for the site.
Usage¶
Advanced¶
- Copies the bundled
mkdocs.ymlinto the workspace root. - Copies the bundled
overrides/directory into the workspace root. - Creates
requirements.txtif it does not already exist. - Appends the action's bundled Python requirements to
requirements.txt. - Existing workspace files with the same names are overwritten or extended.
Examples¶
Configure MkDocs before building the site: