MkDocs with Neocities (minimal configuration)
- Edit
mkdocs.ymlanddocs/index.md, add more files if needed. - Add the pip package to
requirements.txt. (Themes and plugins) - Log in to Neocities and select
Settings. - Select
Manage Site SettingsinManage Sites. - Select
Generate API KeyinAPI Key. - The API Key will be displayed, so save this text string.
- Select
Settingsfor your GitHub project. - Select
ActionsinSecrets. - Select
New repository secrets. - Enter
NEOCITIES_API_KEYin Name and API Key in Value. - Commit to a GitHub project:
git push
Many of the build error are that you mistyped mkdocs.yml
or you forgot to add the package to requirements.txt.
Check the file change immediately before the error occurred.
This is often not a problem with this project. You should not open an issue for that.