This repository is an MkDocs (Material theme) documentation site.
python -m venv .venv
# Windows: .venv\\Scripts\\activate
source .venv/bin/activate
pip install -r requirements.txt
mkdocs serveThen open the local URL shown in the terminal (usually http://127.0.0.1:8000/).
pip install -r requirements.txt
mkdocs buildThe static site is written to the site/ directory.
- Push this repo to GitHub.
- In your GitHub repo, go to Settings → Pages.
- Under Build and deployment, set Source to GitHub Actions.
- Push to
main(or run the workflow manually). The site will deploy automatically.
The workflow file is at .github/workflows/pages.yml.
pip install -r requirements.txt
mkdocs gh-deploy --forceThen in Settings → Pages, set the publishing source to the gh-pages branch and / (root).
- If you use a project repo (e.g.
reddcoin-kb) your Pages URL will be:https://<USER_OR_ORG>.github.io/<REPO_NAME>/ - If you use a user/org Pages repo (e.g.
<USER_OR_ORG>.github.io) your site will be at:https://<USER_OR_ORG>.github.io/
This is the “web GUI only” approach (useful when you have a ZIP archive and want to publish fast).
- In GitHub, create/open the repo (example:
reddcoin-project/knowledgebase). - Ensure the default branch is
main.
- Download and unzip the archive on your computer.
- In GitHub, open the repo → click Add file → Upload files.
- Drag the unzipped contents (folders like
docs/,.github/, plus files likemkdocs.yml,requirements.txt,README.md) into the uploader. - Scroll down and Commit changes to
main.
Tip: Don’t upload the ZIP itself. Upload the contents of the ZIP.
- Repo → Settings → Pages
- Under Build and deployment, set Source to GitHub Actions.
- Go to Actions → select the Pages workflow (from
.github/workflows/pages.yml) → Run workflow
or just push/commit another small change to trigger it.
When the workflow completes, GitHub Pages will publish at:
https://<org>.github.io/<repo>/