Skip to content

Use the docs:build command #16121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,12 @@ jobs:
run: composer install --prefer-dist --no-progress

- name: "Build the docs"
working-directory: _build
run: php build.php -vvv
run: >
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a difference between | ?

I am just curious, thanks

php _build/vendor/bin/docs-builder build:docs \
--config _build/docs.json \
--fail-on-errors \
--error-output-format github \
--save-errors _build/logs.txt

- name: Show log file
if: ${{ always() }}
Expand Down
58 changes: 0 additions & 58 deletions _build/build.php

This file was deleted.

10 changes: 8 additions & 2 deletions _build/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"php": ">=7.4",
"symfony/console": "^5.4",
"symfony/process": "^5.4",
"symfony-tools/docs-builder": "^0.18"
}
"symfony-tools/docs-builder": "dev-build-docs-command"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/wouterj/docs-builder"
}
]
}
73 changes: 41 additions & 32 deletions _build/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions _build/docs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"exclude": [".github/", "_build/"],
"symfony-version": "4.4"
}