Skip to content

kubesaw/kubesaw.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KubeSaw Docs

This repository contains the documentation website code and Markdown source files for kubesaw.github.io.

Contributing

The website is built using mkdocs

NOTE: To contribute changes, make sure you do that from your own fork!

Prerequisites

  • python3
python3 --version
Python 3.11.5

1. Create an isolated virtual environment

From the root folder of the repo run:

python3 -m venv venv

NOTE: the second venv is the name of the folder containing the virtual environment

Now you need to activate the virtual env so that all the dependencies will be installed only here, not on your global python installation.

source venv/bin/activate

2. Install dependencies

pip install -r requirements.txt 

NOTE: add newly needed dependencies in the requirements.txt file

3. Run the local server

mkdocs serve

You should now be able to see the website locally by going to http://127.0.0.1:8000/. Changes to the source content will auto-reload the webpage in the browser.

4. Stop the virtual environment

Run the following command to deactivate the virtual env

deactivate

5. Publish your changes

When you're done with your changes open a PR for the main branch, once the PR is merged, the GH CI job will build and push the website source code to the gh-pages branch and the changes will be automatically be deployed to https://kubesaw.github.io .

WARNING : do not open PRs or push changes to the gh-pages branch , only the GH CI should do that once a PR is merged in the main branch.

About

KubeSaw documentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages