Fix RTD and gh-pages docu auto-generation
This commit is contained in:
		
							parent
							
								
									9aad2c9673
								
							
						
					
					
						commit
						64af97b65e
					
				
							
								
								
									
										2
									
								
								.github/workflows/notebooks.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/notebooks.yml
									
									
									
									
										vendored
									
									
								
							@ -31,7 +31,7 @@ jobs:
 | 
			
		||||
        run: |
 | 
			
		||||
          poetry install --with dev
 | 
			
		||||
      - name: convert sphinx
 | 
			
		||||
        run: jupyter-book config sphinx docs/
 | 
			
		||||
        run: poetry run jupyter-book config sphinx docs/
 | 
			
		||||
      - name: build books
 | 
			
		||||
        run: poetry run jupyter-book build docs
 | 
			
		||||
  deploy:
 | 
			
		||||
 | 
			
		||||
@ -11,19 +11,13 @@ build:
 | 
			
		||||
  tools:
 | 
			
		||||
    python: "3.11"
 | 
			
		||||
  jobs:
 | 
			
		||||
    pre_create_environment:
 | 
			
		||||
      - asdf plugin add poetry
 | 
			
		||||
      - asdf install poetry latest
 | 
			
		||||
      - asdf global poetry latest
 | 
			
		||||
      - poetry config virtualenvs.create false
 | 
			
		||||
    post_install:
 | 
			
		||||
      - poetry install
 | 
			
		||||
      - poetry install --with dev
 | 
			
		||||
    pre_build:
 | 
			
		||||
      - pip install .
 | 
			
		||||
      - poetry config virtualenvs.create false
 | 
			
		||||
      # Generate the Sphinx configuration for this Jupyter Book, so it builds.
 | 
			
		||||
      - "jupyter-book config sphinx docs/"
 | 
			
		||||
 | 
			
		||||
      - "poetry run jupyter-book config sphinx docs/"
 | 
			
		||||
    post_install:
 | 
			
		||||
      - poetry install --with dev
 | 
			
		||||
      # Build documentation in the docs/ directory with Sphinx
 | 
			
		||||
# sphinx:
 | 
			
		||||
#   configuration: docs/conf.py
 | 
			
		||||
@ -32,3 +26,4 @@ build:
 | 
			
		||||
python:
 | 
			
		||||
  install:
 | 
			
		||||
    - requirements: docs/requirements.txt
 | 
			
		||||
    - pip install poetry
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user