@@ -22,7 +22,7 @@ jobs:
- name: Commit documentation changes
run: |
git clone https://github.com/jbuisine/macop.git --branch gh-pages --single-branch gh-pages
- cp -r docs gh-pages/docs
+ cp -r docs/* gh-pages/docs
cd gh-pages
touch .nojekyll
git config --local user.email "action@github.com"
@@ -52,9 +52,6 @@ coverage.xml
# Django stuff:
*.log
-# Sphinx documentation
-docs/_build/
-
# PyBuilder
target/
@@ -13,12 +13,10 @@ An invalid solution can be shown below where the sum of the object weights is gr
:width: 800 px
:align: center
-.. code-block::
Hence, ``[1, 0, 1, 0, 0]`` is an invalid solution.
+To avoid taking into account invalid solutions, we can define our function which will validate or not a solution.
+
.. code-block:: python
"""