-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #173 from SimonRohou/codac2_dev
[doc] using Furo style + customization
- Loading branch information
Showing
8 changed files
with
267 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
div.rst-content a:visited | ||
{ | ||
color: #2980b9; | ||
text-decoration: none; | ||
.sidebar-tree .current > .reference { | ||
background: none; | ||
} | ||
|
||
div.rst-content li.toctree-l1 > a | ||
{ | ||
font-weight: bold; | ||
.sidebar-tree .current-page > .reference { | ||
background: var(--color-sidebar-item-background--current); | ||
font-weight: normal; | ||
} | ||
|
||
a.sidebar-brand { | ||
padding: 2rem 0rem; | ||
padding-right: 1rem; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,68 @@ | ||
Codac manual | ||
============ | ||
|
||
Welcome to the Codac website. | ||
|
||
|
||
.. toctree:: | ||
:caption: Overview of Codac | ||
:maxdepth: 3 | ||
|
||
Constraint programming and IA <http://codac.io> | ||
The Codac framework <http://codac.io> | ||
Target audience <http://codac.io> | ||
.. .. toctree:: | ||
.. :hidden: | ||
.. :caption: Overview of Codac | ||
.. :maxdepth: 3 | ||
.. | ||
.. Intervals and constraints <http://codac.io> | ||
.. The Codac framework <http://codac.io> | ||
.. Target audience <http://codac.io> | ||
.. toctree:: | ||
:hidden: | ||
:caption: User manual | ||
:maxdepth: 2 | ||
|
||
installation/index.rst | ||
intervals/index.rst | ||
linear/index.rst | ||
functions/index.rst | ||
tubes/index.rst | ||
|
||
.. toctree:: | ||
:maxdepth: 3 | ||
|
||
contractors/index.rst | ||
separators/index.rst | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
pavers/index.rst | ||
cn/index.rst | ||
geometry/index.rst | ||
ellipsoids/index.rst | ||
topology/index.rst | ||
visualization/index.rst | ||
extensions/index.rst | ||
seealso/index.rst | ||
references/index.rst | ||
|
||
|
||
.. toctree:: | ||
:caption: How-to guides | ||
:maxdepth: 3 | ||
|
||
howto/robotics/index.rst | ||
howto/geometry/index.rst | ||
howto/dynamical/index.rst | ||
|
||
|
||
.. toctree:: | ||
:caption: Development | ||
:maxdepth: 3 | ||
|
||
Changelog <http://codac.io> | ||
C++ API <http://codac.io> | ||
Information for developers <http://codac.io> | ||
.. intervals/index.rst | ||
.. linear/index.rst | ||
.. functions/index.rst | ||
.. tubes/index.rst | ||
.. .. toctree:: | ||
.. :hidden: | ||
.. :maxdepth: 3 | ||
.. | ||
.. contractors/index.rst | ||
.. separators/index.rst | ||
.. .. toctree:: | ||
.. :hidden: | ||
.. :maxdepth: 2 | ||
.. | ||
.. pavers/index.rst | ||
.. cn/index.rst | ||
.. geometry/index.rst | ||
.. ellipsoids/index.rst | ||
.. topology/index.rst | ||
.. visualization/index.rst | ||
.. extensions/index.rst | ||
.. seealso/index.rst | ||
.. references/index.rst | ||
.. .. toctree:: | ||
.. :hidden: | ||
.. :caption: How-to guides | ||
.. :maxdepth: 3 | ||
.. | ||
.. howto/robotics/index.rst | ||
.. howto/geometry/index.rst | ||
.. howto/dynamical/index.rst | ||
.. .. toctree:: | ||
.. :hidden: | ||
.. :caption: Development | ||
.. :maxdepth: 3 | ||
.. | ||
.. Changelog <http://codac.io> | ||
.. C++ API <http://codac.io> | ||
.. Information for developers <http://codac.io> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
C++ installation | ||
================ | ||
|
||
1. **Dependencies**: Ensure you have CMake (>=3.10) and a C++14 compatible compiler. | ||
2. **Clone the repository**: | ||
|
||
.. code-block:: bash | ||
git clone https://github.com/codac-team/codac.git | ||
cd codac | ||
3. **Build the library**: | ||
|
||
.. code-block:: bash | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make | ||
Using Codac in CMake projects | ||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Installation Guide | ||
================== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
python.rst | ||
cpp.rst | ||
matlab.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
MATLAB installation | ||
=================== | ||
|
||
1. **Dependencies**: Ensure you have MATLAB R2019b or later. | ||
2. **Python integration**: Follow the instructions `here <https://www.mathworks.com/help/matlab/matlab_external/install-supported-python-implementation.html>`_ to set up Python integration. | ||
3. **Install the Python package**: | ||
|
||
.. code-block:: bash | ||
pip install codac | ||
Once Codac is installed, you can use it in your MATLAB scripts, ensuring proper integration with Python for functionality. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Python installation | ||
=================== | ||
|
||
1. **Dependencies**: Ensure you have a supported version of Python (>=3.6). | ||
2. **Install via pip**: Use the following command to install Codac: | ||
|
||
.. code-block:: bash | ||
pip install codac |