Skip to content

Commit

Permalink
docker-compose -> docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
leendertvanwolfswinkel committed Sep 9, 2024
1 parent 42c0d7b commit 68c6efa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:

- name: build
run: |
docker-compose run builder python3 fix-uppercase-lowercase.py
docker-compose run builder make html latexpdf
docker-compose run builder cp build/latex/3di.pdf build/html
docker compose run builder python3 fix-uppercase-lowercase.py
docker compose run builder make html latexpdf
docker compose run builder cp build/latex/3di.pdf build/html
zip -r threedi-docs.zip build/html
- name: Publish tags on https://docs.3di.live
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ Local setup

If you can run docker, you're in luck. One-time setup::

$ docker-compose build
$ docker compose build

And then every time you want to re-generate your documentation::

$ docker-compose up
$ docker compose up

If you're not so lucky, you'll need to pip-install sphinx (``pip install -r
requirements.txt``, preferably in a virtualenv) and you need latex (see the
Expand All @@ -38,7 +38,7 @@ Special commands
If the sphinx documentation tells you about a makefile: you can run those
commands from within docker, too. For example, to build the pdf version::

$ docker-compose run builder make latexpdf
$ docker compose run builder make latexpdf

(The output is in ``build/pdf/3di.pdf``).

Expand All @@ -49,7 +49,7 @@ Images
Images should be lowercase. If you've added an image, please run this command
to be sure::

$ docker-compose run builder python3 fix-uppercase-lowercase.py
$ docker compose run builder python3 fix-uppercase-lowercase.py


Literature & citations
Expand Down

0 comments on commit 68c6efa

Please sign in to comment.