diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 03c54f5..233c78e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,7 +23,7 @@ concurrency: jobs: docs: - uses: max-models/starlight-theme/.github/workflows/docs.yml@v0.5.0 + uses: max-models/starlight-theme/.github/workflows/docs.yml@v0.6.0 with: apt-packages: "texlive-latex-base texlive-latex-extra texlive-pictures texlive-fonts-recommended lmodern" # stable-branch: main # deploy the latest release at // and devel at //dev/ diff --git a/Makefile b/Makefile index ca29e80..45bdce5 100644 --- a/Makefile +++ b/Makefile @@ -19,14 +19,14 @@ docs-notebooks: ## execute the changed tutorials and convert all of them (FORCE docs-dev: ## live preview at http://localhost:4321/maxplotlib/ $(NOTEBOOKS) convert - cd docs && $(DOCS_ENV) DOCS_VALIDATE_LINKS=false npx astro dev + cd docs && $(DOCS_ENV) DOCS_VALIDATE_LINKS=false npm run dev docs-build: ## the static site in docs/dist, as in CI $(NOTEBOOKS) convert - cd docs && npx starlight-check-mdx && $(DOCS_ENV) npx astro build + cd docs && npm run check:mdx && $(DOCS_ENV) npm run build docs-preview: ## serve docs/dist - cd docs && npx astro preview + cd docs && npm run preview docs-clean: ## remove generated pages, assets and build output $(NOTEBOOKS) clean diff --git a/docs/package-lock.json b/docs/package-lock.json index b4afd4e..f4459c2 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -9,8 +9,8 @@ "version": "0.0.1", "dependencies": { "@astrojs/starlight": "^0.42.6", - "@max-models/starlight-theme": "github:max-models/starlight-theme#v0.4.0", - "astro": "^7.3.8", + "@max-models/starlight-theme": "github:max-models/starlight-theme#v0.6.0", + "astro": "^7.4.0", "sharp": "^0.35.3" }, "engines": { diff --git a/docs/package.json b/docs/package.json index f3ab9d1..6afecf1 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,8 +17,8 @@ }, "dependencies": { "@astrojs/starlight": "^0.42.6", - "@max-models/starlight-theme": "github:max-models/starlight-theme#v0.4.0", - "astro": "^7.3.8", + "@max-models/starlight-theme": "github:max-models/starlight-theme#v0.6.0", + "astro": "^7.4.0", "sharp": "^0.35.3" } }