GitHub - SmartGridready/SmartGridready.github.io: Smartgridready Documentation · GitHub
Skip to content

Repository files navigation

SmartGridready Online Documentation

Manual Build

Prepare

The project uses virtual environments and pip to manage dependencies.

Create and/or activate virtual environment in your project directory:

python -m venv .venv

# On Linux call this:
source ./.venv/bin/activate

# On Windows call this:
.\.venv\Scripts\Activate.ps1

Install the necessary dependencies in your virtual environment:

pip install -U -r .\requirements.txt

Build

In your virtual environment call:

make clean html

This will re-create the HTML documentation under build/html.

Replace Content to Publish

  1. Delete the complete docs directory from the repository root.
  2. Copy everything in build/html into repository root and rename html to docs.
  3. Check Git changes. When necessary, add new files and remove files that no longer exist.

Publish

  1. Push your changes.
  2. Merge into main branch. Only then is the Github pages deployment updated.

Clean up

Deactivate virtual environment in your project directory:

deactivate

About

Smartgridready Documentation

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages