Skip to content

Commit

Permalink
Merge pull request #390 from greg0ire/fix-doc-job
Browse files Browse the repository at this point in the history
Use a stable version of the guides-cli
  • Loading branch information
greg0ire authored Feb 18, 2024
2 parents 2bf47b0 + 0cf9f06 commit a423a74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ jobs:
run: "rm composer.json"

- name: "Require phpdocumentor/guides-cli"
run: "composer require --dev phpdocumentor/guides-cli dev-main@dev --no-update"

- name: "Configure minimum stability"
run: "composer config minimum-stability dev"
run: "composer require --dev phpdocumentor/guides-cli --no-update"

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v2"
with:
dependency-versions: "highest"

- name: "Run guides-cli"
run: "vendor/bin/guides -vvv --no-progress --fail-on-log docs/en /tmp/test"
run: "vendor/bin/guides -vvv --no-progress --fail-on-log docs/en"
2 changes: 2 additions & 0 deletions docs/en/sidebar.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
:orphan:

.. toctree::
:depth: 3

Expand Down

0 comments on commit a423a74

Please sign in to comment.