Skip to content

Latest commit

 

History

History
53 lines (38 loc) · 1003 Bytes

README.md

File metadata and controls

53 lines (38 loc) · 1003 Bytes

YScope Docs

This repo contains the source for YScope's docs hub at docs.yscope.com.

Building

The best way to build the docs site reproducibly is using a Python virtual environment.

Requirements

  • GNU Make
  • Python3 (if it's not already installed)
  • pip
  • virtualenv

Setup

  • Create and enter a Python virtual environment:
    python3 -m venv venv
    source ./venv/bin/activate
  • Install the requirements:
    pip3 install -r requirements.txt

Build

  • Enter the virtual environment (if you're not already inside):

    source ./venv/bin/activate
    
  • Build the site:

    make html

The output will be in the build directory.

Teardown

To quit the virtual environment, run:

deactivate