Skip to content

Commit

Permalink
compile docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg1969 committed Apr 14, 2024
1 parent 19a24a3 commit 6685fe1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,19 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Compile the docs
run: |
source $CONDA/bin/activate
conda install -c defaults -c conda-forge sphinx cloud_sptheme latexmk texlive-core
mv doc sphinx
mkdir doc
cd sphinx
make latexpdf
make html
mv _build/html ../doc
mv _build/latexpdf/CVX.pdf ../doc
cd ..
rm -rf sphinx
- name: Extract version info
run: |
/bin/echo -n Extracting and updating version information...
Expand Down
4 changes: 2 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = 'cvxrlogo.png'
html_logo = '_static/cvxrlogo.png'

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down Expand Up @@ -178,7 +178,7 @@
latex_elements = {
'papersize': 'letterpaper',
'pointsize': '11pt',
'preamble': '\usepackage{amsmath,amssymb}',
'preamble': r'\usepackage{amsmath,amssymb}',
}

# Grouping the document tree into LaTeX files. List of tuples
Expand Down

0 comments on commit 6685fe1

Please sign in to comment.