Skip to content

Commit 8eef8d0

Browse files
committed
fix: PR comments
1 parent 7708a03 commit 8eef8d0

File tree

3 files changed

+5
-41
lines changed

3 files changed

+5
-41
lines changed

doc/source/conf.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,8 @@ def get_igraph_version():
6464
"sphinx.ext.coverage",
6565
"sphinx.ext.mathjax",
6666
"sphinx.ext.intersphinx",
67-
# NOTE: sphinx_gallery.gen_gallery is not used because it conflicts with pydoctor and nbsphinx
6867
"sphinx_gallery.gen_gallery",
69-
# #'sphinx_panels',
68+
# 'sphinx_panels',
7069
"pydoctor.sphinx_ext.build_apidocs",
7170
"nbsphinx",
7271
"sphinx_design",
@@ -113,7 +112,7 @@ def get_igraph_version():
113112

114113
# List of patterns, relative to source directory, that match files and
115114
# directories to ignore when looking for source files.
116-
exclude_patterns = ["include/*.rst", "**.ipynb_checkpoints", "_build", "tutorials/*.ipynb"]
115+
exclude_patterns = ["include/*.rst", "**.ipynb_checkpoints", "tutorials/*.ipynb"]
117116

118117
# The reST default role (used for this markup: `text`) to use for all documents.
119118
# default_role = None

doc/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Documentation
6767

6868
- :doc:`Quick start <tutorials/quickstart>`
6969
- :doc:`Gallery of examples <tutorials/index>`
70-
- :doc:`Community Detection Guide <community_detection_guide>`
70+
- :doc:`Community detection guide <community_detection_guide>`
7171
- :doc:`Extended tutorial <tutorial>` (:doc:`Español <tutorial.es>`)
7272

7373
.. container::

scripts/mkdoc.sh

Lines changed: 2 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -62,44 +62,9 @@ else
6262
echo "Upgrading pip in virtualenv..."
6363
.venv/bin/pip install -q -U pip wheel
6464

65-
# Check if nbsphinx is installed and install it if not
65+
# Install nbsphinx, pandoc, sphinx-design and ipython
6666
echo "Checking for nbsphinx, pandoc, sphinx-design and ipython..."
67-
if ! .venv/bin/pip show nbsphinx > /dev/null 2>&1; then
68-
echo "nbsphinx not found. Installing..."
69-
.venv/bin/pip install -q nbsphinx
70-
else
71-
echo "nbsphinx is already installed."
72-
fi
73-
74-
if ! .venv/bin/pip show pandoc > /dev/null 2>&1; then
75-
echo "pandoc not found. Installing..."
76-
.venv/bin/pip install -q pandoc
77-
else
78-
echo "pandoc is already installed."
79-
fi
80-
81-
if ! .venv/bin/pip show sphinx-design > /dev/null 2>&1; then
82-
echo "sphinx-design not found. Installing..."
83-
.venv/bin/pip install -q sphinx-design
84-
else
85-
echo "sphinx-design is already installed."
86-
fi
87-
88-
if ! .venv/bin/pip show ipython > /dev/null 2>&1; then
89-
echo "ipython not found. Installing..."
90-
.venv/bin/pip install -q ipython
91-
else
92-
echo "ipython is already installed."
93-
fi
94-
95-
if ! .venv/bin/pip show ipywidgets > /dev/null 2>&1; then
96-
echo "ipywidgets not found. Installing..."
97-
.venv/bin/pip install -q ipywidgets
98-
else
99-
echo "ipywidgets is already installed."
100-
fi
101-
102-
67+
.venv/bin/pip install -q -U nbsphinx pandoc sphinx-design ipython ipywidgets
10368
fi
10469

10570
# Make sure that Sphinx, PyDoctor (and maybe doc2dash) are up-to-date in the virtualenv

0 commit comments

Comments
 (0)