Skip to content

Commit 4964894

Browse files
committed
update docs
1 parent 878010e commit 4964894

File tree

4 files changed

+24
-6
lines changed

4 files changed

+24
-6
lines changed

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"sphinx.ext.napoleon",
4949
"sphinx.ext.githubpages",
5050
"sphinx.ext.autodoc.typehints",
51+
"sphinx_design",
5152
]
5253

5354
# autodoc options
@@ -125,6 +126,7 @@ def patched_parse(self):
125126
intersphinx_mapping = {
126127
"python": ("https://docs.python.org/", None),
127128
"compas": ("https://compas.dev/compas/latest/", None),
129+
"compas_view2": ("https://compas.dev/compas_view2/latest/", None),
128130
}
129131

130132
# linkcode

docs/index.rst

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@
22
Documentation of COMPAS CGAL
33
********************************************************************************
44

5+
.. rst-class:: lead
6+
7+
COMPAS CGAL provides easy-to-use Python bindings for selected algorithms
8+
of `CGAL, The Computational Geometry Algorithms Library <https://www.cgal.org/>`_.
9+
10+
11+
Table of Contents
12+
=================
13+
514
.. toctree::
615
:maxdepth: 3
716
:titlesonly:
817

9-
Introduction<self>
18+
Introduction <self>
1019
installation
1120
examples
1221
api
1322
license
23+
24+
25+
Indices and tables
26+
==================
27+
28+
* :ref:`genindex`
29+
* :ref:`modindex`

docs/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Installation
55
Stable
66
======
77

8-
Stable releases of :mod:`compas_cgal` can be installed via `conda-forge`.
8+
Stable releases of :mod:`compas_cgal` can be installed via ``conda-forge``.
99

1010
.. code-block:: bash
1111
@@ -33,7 +33,7 @@ Or everything in one go
3333
Dev Install
3434
===========
3535

36-
A local development version can be set up using a combination of `conda` and `pip`.
36+
A local development version can be set up using a combination of ``conda`` and ``pip``.
3737
First, clone the :mod:`compas_cgal` repo.
3838

3939
.. code-block:: bash
@@ -100,15 +100,15 @@ Change to the root folder of the :mod:`compas_cgal` repo.
100100
cd compas_cgal
101101
102102
103-
And compile the code while creating an editable install of the python wrapper using `setuptools`.
103+
And compile the code while creating an editable install of the python wrapper using ``setuptools``.
104104

105105
.. code-block:: bash
106106
107107
pip install -e .
108108
109109
110110
To add your c++ module to the wrapper, and potentially exclude some of the existing modules during its development,
111-
modify the list of extension modules in the `setup.py` file.
111+
modify the list of extension modules in the ``setup.py`` file.
112112

113113
.. code-block:: python
114114

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ m2r
1313
nbsphinx
1414
pydocstyle
1515
pytest >=3.2
16-
sphinx_compas_theme >=0.15.11
16+
sphinx_compas_theme >=0.15.13
1717
sphinx >=3.4
1818
twine
1919
wheel

0 commit comments

Comments
 (0)