Skip to content

nymea/nymea-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nymea documentation

This repository builds the nymea documentation as a static Sphinx site.

Requirements

Install the system tools:

sudo apt install python3 python3-pip python3-venv make git

Create a virtual environment and install the Python dependencies:

python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

Build

Generate documentation from the cached upstream nymea repositories and build the site:

make generate html

The default upstream branch is master. To build from another branch or tag:

make generate html BRANCH=<branch-or-tag>

The generated site is written to public/.

For local file browsing, open public/index.html directly. The build uses explicit .html links so documentation pages can be browsed without a local web server.

Preview

make serve

Open http://localhost:8000.

Clean

make clean

This removes the Sphinx output and generated RST files. It keeps tools/source/, which is used as a clone cache for upstream nymea repositories.

LXC Build

The LXC helper creates an Ubuntu container, mounts the repository, installs the Sphinx build dependencies, and runs the same build:

./build-lxc.sh build

Use a different upstream branch:

./build-lxc.sh --branch=<branch-or-tag> build

Enter the container:

./build-lxc.sh shell

About

Project documentation hosted on http://nymea.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors