Website publishing procedure
We have moved both the Valueflows hosted doc and the repo to codeberg. This is the procedure to get any changes made to the Valueflows doc at valueflows/valueflows to appear at https://valueflo.ws, served from valueflows/pages.
Directory structure in the valueflows repo, starting with the mkdocs directory

Codeberg
The generated html is pushed to the codeberg valueflows publishing repo at https://codeberg.org/valueflows/pages.
Codeberg has open registration. Please ask if you want to be added to the valueflows organization there.
Procedure
This assumes that Material for Mkdocs is installed locally, and codeberg valueflows and pages are both cloned locally.
In the valueflows git pull, branch and make the needed changes.
In a terminal navigate to the mkdocs directory.
Run
mkdocs serveand view on localhost:8000.Fix and view as needed. Ctrl-C to shut down the localhost.
Run
mkdocs build. This populates the site directory.Commit locally, and push all changes to valueflows, create PR.
Re-generate pyLODE if needed, python3 pylode ../valueflows/mkdocs/docs/assets/all_vf-for-pylode.TTL -o all_vf.html, must have pylode locally. Bring the pieces into the Formatted Specification page. The center part needs to replace
code>withpycode>. The TOC on the right needs to have new title: Alphabetical Links, and addclass="toc-link"to each link. And check for other issues, this list not tested. Do not change other parts, just carefully cut out the center and right parts and put into all_vf.md.Review, fix as needed using the above steps, merge.
Create tag and release if needed.
When you are ready to put all merged changes to the live site:
In a terminal navigate to the local pages directory.
Create a branch.
Locally, copy everything in the valueflows site directory to the pages directory.
Commit the changes.
Push to codeberg, create a pull request (https://codeberg.org/valueflows/pages/pulls).
In codeberg, review the changes, merge to main.
Test on the https://valueflo.ws site.
Last updated
Was this helpful?