MkDocs with Neocities (minimal configuration)
- Edit
mkdocs.yml
anddocs/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 Settings
inManage Sites
. - Select
Generate API Key
inAPI Key
. - The API Key will be displayed, so save this text string.
- Select
Settings
for your GitHub project. - Select
Actions
inSecrets
. - Select
New repository secrets
. - Enter
NEOCITIES_API_KEY
in 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.