src: command: Show help text if no command is provided #498
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: documentation | |
on: | |
push: | |
branches: [ main ] | |
tags: [ 'v[0-9]+.[0-9]+.[0-9]+' ] | |
pull_request: | |
branches: [ main ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Receive tags | |
run: git fetch --tags origin | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install meson libglib2.0-dev libyaml-dev libparted-dev \ | |
python3 python3-virtualenv | |
- name: Build documentation | |
run: | | |
virtualenv -p /usr/bin/python3 -v env | |
source env/bin/activate | |
pip install -r doc/requirements.txt | |
meson setup build -Ddoc=true | |
meson compile -C build doc |