Surge-MkDocs
https://github.com/fu-sen/Surge-MkDocs
MkDocs with Surge (minimal configuration)
How to use
- Edit
mkdocs.ymlanddocs/index.md, add more files if needed. - Change the
docs/CNAMEto the desiredexample.surge.sh. Or you can use the custom domainexample.com - Add the pip package to
requirements.txt. (Themes and plugins) - Get a token with the command
surge token. - The API Key will be displayed, so save this text string.
- Select
Settingsfor your GitHub project. - Select
Secrets and variablesinSecrets. - Select
Actions - Select
New repository secrets. - Enter
SURGE_LOGINin Name and Surge login email in Value. - Select
New repository secrets. - Enter
SURGE_TOKENin Name and token in Value. - Commit to a GitHub project:
git push