mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 09:52:38 +02:00
🩹 — Fix mermaid.min.js download (again)
This commit is contained in:
parent
9abc39a74b
commit
69cf92c83b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -13,7 +13,7 @@ develop: venv ## Install the dev dependencies
|
|||
venv/bin/pip install -e ".[dev,docs]"
|
||||
docs: cog ## Build the docs
|
||||
venv/bin/sphinx-build docs public
|
||||
if [[ ! -e public/mermaid.min.js ]]; then curl -sL $$(grep mermaid.min.js public/search.html | cut -f 2 -d '"') --output public/mermaid.min.js; fi
|
||||
if [ ! -e "public/mermaid.min.js" ]; then curl -sL $$(grep mermaid.min.js public/search.html | cut -f 2 -d '"') --output public/mermaid.min.js; fi
|
||||
sed -e 's@https://unpkg.com/mermaid[^"]*"@mermaid.min.js"@' -i public/search.html public/genindex.html
|
||||
sed -e 's@https://unpkg.com/mermaid[^"]*"@../mermaid.min.js"@' -i public/developer/models.html public/developer/overview.html
|
||||
cog: ## Run cog, to integrate the CLI options to the docs.
|
||||
|
|
Loading…
Reference in a new issue