Public documentation for the Authifi identity and access management platform.
Live Site: https://authifi.pages.dev
See CONTRIBUTING.md for instructions on editing documentation. No local setup required — you can edit directly on GitHub.com or using GitHub.dev (press . on the repo page).
To deploy this documentation site:
Important: Use Pages, not Workers. The setup screens look similar but Pages is for static sites.
- Log in to Cloudflare Dashboard
- Go to Workers & Pages in the left sidebar
- Click Create button
- Select the Pages tab (not Workers)
- Click Connect to Git
- Authorize GitHub and select the
AxleResearch/authifi-docsrepository - Configure build settings:
- Project name:
authifi-docs - Production branch:
main - Framework preset: None
- Build command:
pip install -r requirements.txt && mkdocs build - Build output directory:
site
- Project name:
- Click Save and Deploy
Once connected, every pull request will automatically get a preview URL. Contributors will see a comment on their PR with a link like:
https://abc123.authifi.pages.dev
To use a custom domain instead of *.pages.dev:
- Go to your Pages project → Custom domains
- Add your domain (e.g.,
docs.authifi.com) - Follow the DNS configuration instructions
- Python 3.8+
- pip
# Set up a virtual environment
python3 -m venv .venv
source .venv/bin/activate
# Install dependencies
python3 -m pip install -r requirements.txt
# Start development server
mkdocs serveOpen http://127.0.0.1:8000 to view the documentation locally.
mkdocs buildThe static site is generated in the site/ directory.
authifi-docs/
├── .changeset/ # Changesets configuration
├── docs/ # Documentation source files
│ ├── index.md # Home page
│ ├── authorization/ # Authorization concepts
│ ├── guides/ # Administrator guides
│ └── security/ # Security documentation
├── mkdocs.yml # MkDocs configuration
├── package.json # Node.js dependencies (for changesets)
├── requirements.txt # Python dependencies
├── CONTRIBUTING.md # Contributor guide
└── README.md # This file
This project uses Changesets to manage versioning and generate changelogs.
When you make changes that should be noted in the changelog, add a changeset:
npm run changeset:addThis will prompt you to:
- Select the type of change (major, minor, or patch)
- Write a summary of the change
The changeset file is committed with your PR and consumed when releasing.
- patch: Bug fixes, typo corrections, small updates
- minor: New documentation pages, significant content additions
- major: Major restructuring, breaking changes to URL structure
When PRs with changesets are merged to main, a GitHub Action automatically:
- Detects pending changesets
- Applies version bumps directly to
package.jsonandCHANGELOG.md - Commits and pushes the changes
No manual intervention required.
To manually release (if needed):
npm run versionTo see pending changesets:
npm run changeset:status- Static Site Generator: MkDocs
- Theme: Material for MkDocs
- Hosting: Cloudflare Pages
- Features: Full-text search, dark mode, mobile responsive, deploy previews