Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated Sphinx installation procedure, following advice from Jeremy Bowman

...

Sphinx converts .rst files into PDF and HTML online. This tool also requires XCode.

...

that you

...

have already installed XCode.

In a terminal window, run the following commands from the edx-documentation directory:

  1. sudo python -m ensurepip
    Note: You will be prompted for a password. Enter your machine password and then click Enter.
  2. sudo pip install virtualenv
  3. virtualenv venv
  4. . venv/bin/activate
  5. pip install -r shared/travis_requirements.txt 
    Note: Ensure that you are pointing to the correct local directory from Terminal (the Command line) so that Sphinx can successfully access the necessary themes and files.

SnagIt

The doc team uses SnagIt to edit images. You can also use SnagIt to capture images, or you can use the native image capturing capability on a Mac (CMD+SHIFT+4). If you use SnagIt to capture the image, the image opens in SnagIt automatically.

...