coderefinery / sphinx-lesson

Sphinx extension for creating CodeRefinery lessons
https://coderefinery.github.io/sphinx-lesson/
MIT License
15 stars 20 forks source link

Sphinx test lesson

This is a Sphinx extension for software-carpentry style lessons. It is designed as a replacement for the Jekyll-based software templates.

Features

Host Site Locally for Development

  1. Create a virtual python environment::

    python -m venv venv

  2. Activate the virtual environment::

    source activate venv/bin/activate

  3. Install python packages::

    pip install -r requirements.txt

  4. Build local files (this can also be used for deployment)::

    make html

    Output in _build/html/

    make clean html # clean + full rebuild

  5. Or, start a live-compiled service for your compiled site for local development::

    make livehtml

    Then view created site in your browser at http://localhost:8000 <http://localhost:8000>__ (follow the link in your console).

Status

In beta use by CodeRefinery and active development. External users would be fine (but let us know so we know to keep things stable).