Skip to content

This PR Improve docs build ci #1336

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ jobs:
run: |
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update
sudo apt install -y git python3-venv make
sudo apt install -y git python3-venv make python3-setuptools
echo `python3 --version`
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip setuptools
id: build
- name: Build the docset
run: |
source ../venv/bin/activate
cd docs
pip install -r requirements.txt
make html
Expand Down
Empty file added docs/source/_static/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["sphinx.ext.napoleon", "sphinx.ext.autodoc", 'sphinx_panels']
panels_add_bootstrap_css = False
extensions = ["sphinx.ext.napoleon", "sphinx.ext.autodoc", "sphinx_panels"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand All @@ -66,6 +65,7 @@
# so a file named "default.css" will overwrite the builtin "default.css".

html_static_path = ["_static"]
html_css_files = [] # avoid undefined errors
panels_add_fontawesome_latex = True

html_theme_options = {
Expand Down