File tree Expand file tree Collapse file tree 5 files changed +15
-18
lines changed Expand file tree Collapse file tree 5 files changed +15
-18
lines changed Original file line number Diff line number Diff line change 5858      - name : Set up Python3 
5959        run : uv python install 3 
6060
61-       - name : Test generating docs 
62-         run : make docs 
61+       - name : Test docs 
62+         run : | 
63+           uvx --with-requirements requirements/requirements-docs.txt mkdocs build --strict -f docs/mkdocs.yml  
6364
6465   benchmark :
6566    needs : [test] 
Original file line number Diff line number Diff line change 2929      - name : Set up Python3 
3030        run : uv python install 3 
3131
32-       - name : Install dependencies 
33-         run : | 
34-           uv sync --all-extras 
35- 
36-        - name : Install dependencies 
37-         run : | 
38-           uv run pip install -r requirements/requirements-docs.txt 
39- 
4032      - name : Deploy docs 
41-         run : uv run  mkdocs gh-deploy --force -f docs/mkdocs.yml
33+         run : uvx --with-requirements requirements/requirements-docs.txt  mkdocs gh-deploy --force -f docs/mkdocs.yml
Original file line number Diff line number Diff line change @@ -26,19 +26,20 @@ uv run pre-commit run --all-files
2626``` bash 
2727git clone https://github.com/stac-utils/stac-fastapi.git
2828cd  stac-fastapi
29- uv pip instal -r requirements/requirements-docs.txt
29+ #  Build docs
30+ uvx --with-requirements requirements/requirements-docs.txt mkdocs build -f docs/mkdocs.yml
3031``` 
3132
3233Hot-reloading docs:
3334
3435``` bash 
35- uv run  mkdocs serve -f docs/mkdocs.yml
36+ uvx --with-requirements requirements/requirements-docs.txt  mkdocs serve -f docs/mkdocs.yml --livereload 
3637``` 
3738
3839To manually deploy docs (note you should never need to do this because GitHub
3940Actions deploys automatically for new commits.):
4041
4142``` bash 
4243#  deploy
43- uv run  mkdocs gh-deploy -f docs/mkdocs.yml
44+ uvx --with-requirements requirements/requirements-docs.txt  mkdocs gh-deploy -f docs/mkdocs.yml
4445``` 
Original file line number Diff line number Diff line change @@ -11,9 +11,8 @@ test: install
1111	uv run pytest
1212
1313.PHONY : docs
14- docs : install
15- 	uv run pip install -r requirements/requirements-docs.txt &&  \ 
16- 	uv run mkdocs build -f docs/mkdocs.yml
14+ docs :
15+ 	uvx --with-requirements requirements/requirements-docs.txt mkdocs build -f docs/mkdocs.yml
1716
1817.PHONY : benchmark
1918benchmark : install
Original file line number Diff line number Diff line change @@ -3,4 +3,8 @@ mkdocs>=1.4.3
33mkdocs-jupyter>=0.24.5
44mkdocs-material[imaging]>=9.5
55griffe-inherited-docstrings>=1.0.0
6- mkdocstrings[python]>=0.25.1
6+ mkdocstrings[python]>=0.25.1
7+ 
8+ -e stac_fastapi/types
9+ -e stac_fastapi/api
10+ -e stac_fastapi/extensions
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments