| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This repository contains the built documentation for PlanExe, hosted on GitHub Pages at docs.planexe.org.
The documentation source files are maintained in the PlanExe2 repository in the docs/website/ directory. Only that directory is published; the rest of PlanExe2/docs/ is internal. This repository contains the build configuration; MkDocs Material output is deployed to GitHub Pages.
The PlanExe v1 documentation is no longer published here; it remains readable in PlanExe/docs.
Create and activate a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txtClone both repositories:
# Clone this repo
git clone https://github.com/PlanExeOrg/PlanExe-docs.git
cd PlanExe-docs
# Clone the PlanExe2 repo (adjust path as needed)
git clone https://github.com/PlanExeOrg/PlanExe2.git ../PlanExe2Build the documentation:
python build.pyOr manually:
# Copy docs from PlanExe2 repo
cp -r ../PlanExe2/docs/website/* docs/
# Build
mkdocs buildPreview locally:
python serve.pyThen open http://127.0.0.1:18525 in your browser.
If your PlanExe2 repo is in a different location:
PLANEXE_REPO=/path/to/PlanExe2 DOCS_SOURCE_DIR=docs/website python build.pyBuild the documentation:
python build.pyCopy the site/ directory contents to the repository root:
cp -r site/* .Commit and push:
git add .
git commit -m "Update documentation"
git pushSee .github/workflows/deploy.yml for GitHub Actions automation.
Why doesn’t the site rebuild when I push docs changes in PlanExe2?
The docs site is built and deployed from this repo (PlanExe-docs). Pushing to PlanExe2 does not run workflows here. Rebuilds happen when:
PlanExe2 has no workflow that sends (3) yet, so after merging docs changes in PlanExe2, use (2). To automate it, add a workflow to PlanExe2 that sends the dispatch when docs/website/** changes on main, with a secret named PLANEXE_DOCS_DISPATCH_TOKEN (PlanExe2 → Settings → Secrets and variables → Actions). The PlanExe v1 repo has such a workflow (.github/workflows/docs-update.yml) that can be used as a template; while it is active, v1 docs changes also trigger a (harmless) rebuild of this site.
Token value: use a GitHub Personal Access Token that can trigger workflows in this repo. A fine-grained token is recommended (narrower permissions). Fine-grained tokens have a maximum expiration of 1 year, so the secret must be renewed annually.
Create or renew the fine-grained token:
Alternative: a classic PAT with repo scope also works and can have a longer or no expiration.
If the secret is missing or expired, the “Notify docs deploy” job in the source repo will fail and the site will not rebuild. Until then, use option (2).
Troubleshooting deployment
The main place to check is the PlanExe-docs Actions page: github.com/PlanExeOrg/PlanExe-docs/actions. There you can see all workflow runs: “Deploy Documentation” (builds the site and deploys to GitHub Pages) and “pages build and deployment” (GitHub’s Pages publish). Runs triggered by a docs change in PlanExe show the event docs-updated and “Repository dispatch triggered by …”. Use this page to confirm a deploy ran, re-run a failed workflow, or manually start “Deploy Documentation” (Actions → Deploy Documentation → Run workflow).
The MkDocs configuration is in mkdocs.yml. Key settings:
To contribute to the documentation:
MIT License - see LICENSE file.
| Back | FazBrowse Home | New Git URL |