Skip to content

Commit

Permalink
temporarily disable gallery view (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfm committed Jul 4, 2022
1 parent 181d232 commit baed9b5
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 20 deletions.
7 changes: 6 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@ version: 2
submodules:
include: all

build:
os: ubuntu-20.04
tools:
python: "3.10"

python:
version: 3.7
install:
- method: pip
path: .
extra_requirements:
- docs
system_packages: true

sphinx:
builder: dirhtml
14 changes: 8 additions & 6 deletions docs/examples/index.rst
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
.. _examples:

Examples
--------

.. raw:: html
.. .. raw:: html
<div id="examples-block"></div>
<script src="../_static/examples.js"></script>
<script>
show_examples("../_images", "../_static", "../examples");
</script>
.. <div id="examples-block"></div>
.. <script src="../_static/examples.js"></script>
.. <script>
.. show_examples("../_images", "../_static", "../examples");
.. </script>
.. toctree::

Expand Down
27 changes: 14 additions & 13 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
Daft
====

.. raw:: html
.. .. raw:: html
<div id="index-examples">
<div id="examples-block"></div>
<div id="more-examples" style="text-align: right;font-size: 0.8em;">
<a href="examples">More…</a>
</div>
</div>
<script src="_static/examples.js?v=2"></script>
<script>
show_examples("_images", "_static", "examples", 6);
</script>
.. <div id="index-examples">
.. <div id="examples-block"></div>
.. <div id="more-examples" style="text-align: right;font-size: 0.8em;">
.. <a href="examples">More…</a>
.. </div>
.. </div>
.. <script src="_static/examples.js?v=2"></script>
.. <script>
.. show_examples("_images", "_static", "examples", 6);
.. </script>
Summary
-------
.. Summary
.. -------
**Daft** is a Python package that uses `matplotlib <http://matplotlib.org/>`_
to render pixel-perfect *probabilistic graphical models* for publication
Expand All @@ -26,6 +26,7 @@ acyclic graphs) and undirected (Markov random fields) models and save
them in any formats that matplotlib supports (including PDF, PNG, EPS and
SVG).

👉 Check out the :ref:`examples` to get started.

Installation
------------
Expand Down

0 comments on commit baed9b5

Please sign in to comment.