Parcourir la source

remove gitignore _build folder

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

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

@@ -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"

+ 0 - 3
.gitignore

@@ -52,9 +52,6 @@ coverage.xml
 # Django stuff:
 *.log
 
-# Sphinx documentation
-docs/_build/
-
 # PyBuilder
 target/
 

+ 2 - 4
docs/source/documentations/validator.rst

@@ -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
 
     """