Parcourir la source

check build content

Jérôme BUISINE il y a 3 ans
Parent
commit
f0203a9d3f
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 1 0
      .github/workflows/docs.yml
  2. 3 0
      docs/source/documentations/validator.rst

+ 1 - 0
.github/workflows/docs.yml

@@ -22,6 +22,7 @@ jobs:
     - name: Commit documentation changes
       run: |
         git clone https://github.com/jbuisine/macop.git --branch gh-pages --single-branch gh-pages
+        ls -l docs/_build
         cp -r docs/* gh-pages/docs
         cd gh-pages
         touch .nojekyll

+ 3 - 0
docs/source/documentations/validator.rst

@@ -61,4 +61,7 @@ We can now generate solutions randomly by passing our validation function as a p
     # ensure valid solution
     solution = BinarySolution.random(5, validator)
 
+    .. warning::
+        If the search space for valid solutions is very small compared to the overall search space, this can involve a considerable time for validating the solution and therefore obtaining a solution.
+
     The validation of a solution is therefore now possible. In the next part we will focus on the evaluation of a solution.