Browse Source

check build content

Jérôme BUISINE 1 month ago
parent
commit
f0203a9d3f
2 changed files with 4 additions and 0 deletions
  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.