File tree Expand file tree Collapse file tree 6 files changed +176
-47
lines changed Expand file tree Collapse file tree 6 files changed +176
-47
lines changed Original file line number Diff line number Diff line change 2222
2323      - name : Set up poetry 
2424        uses : Gr1N/setup-poetry@v9 
25+         with :
26+           poetry-version : " 2.1.1" 
2527
2628      - name : Configure poetry 
2729        run : poetry config virtualenvs.in-project true 
Original file line number Diff line number Diff line change 2424
2525      - name : Set up poetry 
2626        uses : Gr1N/setup-poetry@v9 
27+         with :
28+           poetry-version : " 2.1.1" 
2729
2830      - name : Build 
2931        run : poetry build 
Original file line number Diff line number Diff line change 3030
3131      - name : Set up poetry 
3232        uses : Gr1N/setup-poetry@v9 
33+         with :
34+           poetry-version : " 2.1.1" 
3335
3436      - name : Configure poetry 
3537        run : poetry config virtualenvs.in-project true 
Original file line number Diff line number Diff line change @@ -14,11 +14,20 @@ build:
1414  tools :
1515    python : " 3.12" 
1616  jobs :
17-     post_create_environment :
17+     pre_create_environment :
1818      #  Install poetry
19-       - pip install poetry==1.7.1 
20-       #  Tell poetry to not use a virtual environment
21-       - poetry config virtualenvs.create false 
22-     post_install :
23-       #  Install dependencies
24-       - poetry install --with docs 
19+       - asdf plugin-add poetry 
20+       - asdf install poetry 2.1.1 
21+       - asdf global poetry 2.1.1 
22+       #  Verify Poetry configuration
23+       - poetry config --list 
24+     create_environment :
25+       - poetry env use python 
26+     post_create_environment :
27+       - poetry env info 
28+     install :
29+       - poetry install --no-interaction --with docs 
30+     #  pre_build:
31+     #    - cat mkdocs.yml
32+     build :
33+       - poetry run mkdocs build --clean --site-dir $READTHEDOCS_OUTPUT/html --config-file mkdocs.yml 
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ reports-cleanup:
3232test-cleanup : test-cache-cleanup reports-cleanup
3333
3434docs-html :
35- 	sphinx- build -b html docs docs/_build 
35+ 	python -m mkdocs  build --clean --site-dir docs_build --config-file mkdocs.yml 
3636
3737docs-cleanup :
38- 	@rm -rf docs/_build 
38+ 	@rm -rf docs_build 
3939
4040cleanup : dist-cleanup test-cleanup
4141
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments