Skip to content

LordBaryhobal/znotes

 
 

Repository files navigation


Z-Notes Logo
Z-Notes Knowledge Database

This is the static sphinx documentation for myself

Github Pages Deploy

How to use the MKCods Materials Documentation Platform

MKDocs Materials Requirements

  • just
    sudo apt-get install build-essential
  • Python 3
  • Python Modules (can be installed with pipenv)
    just venv-create
  • Inkscape (for .svg to .pdf and to .png conversion)
    • Windows - Inkscape
    • Linux
      sudo apt-get install inkscape

Just file recipes

just --list
Available recipes:
    build        # Build HTML static site
    clean        # Delete build folder(s)
    conda-create # Create the build environment
    deploy       # Deploy on gh-pages
    env-export   # Export the build environment
    info         # Information about the environment
    serve        # Build HTML static site and serve it locally
    venv-create  # Create and source the python environment

How to Build MKDocs incrementally

just build

all the outputs will be in site folder. Open the webpagehttp://127.0.0.1:8000/tschinz/znotes/

How to Build MKDocs incrementally

just serve

all the outputs will be in site folder

With devcontainers

  • Start VS Code in project folder.
    code .
  • Start Docker and open folder in devcontainers open in devcontainers

Deploy on github

just gh-deploy

Continuous Integration (CI)

The CI is done with Github Actions with the file action-sphinx.yml will run on each master commit and create a site/ folder which will be pushed onto the branch gh-pages and consequently be used by github to displayed static html pages.

About

personal wiki rewritten in MkDocs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Just 100.0%