Commit ed81477d authored by Johannes Blaschke's avatar Johannes Blaschke
Browse files

get sphinx_rtd_theme's code-block to format properly

parent eb2a311e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5,7 +5,10 @@ python:

install: 
  - pip install --user sphinx  # sphinx_rtd_theme
  - sudo python -m pip install https://github.com/rtfd/sphinx_rtd_theme/archive/master.zip -U
    # pypi's sphinx_rtd_theme is outdated. Internet recommends using current
    # master. Note: at some point, it will be OK to add `sphinx_rtd_theme` to
    # the `pip install` above => remove line below:
  - python -m pip install --user https://github.com/rtfd/sphinx_rtd_theme/archive/master.zip -U

script: bash ./build_and_deploy.sh

+3 −0
Original line number Diff line number Diff line
@@ -9,6 +9,9 @@
    overflow: visible;
}

/* rtd_theme currently colours code-blocks in the pygments style (ie. green).
 * This overrides this design choice with white. Note: future versions of the
 * sphinx_rtd_theme might not need this HACK. */
.highlight {
    background: #ffffff;
}