Skip to content

Commit

Permalink
Remove manually-created AMC command reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
keirthana committed Sep 25, 2024
1 parent 0a298d6 commit b4288a9
Show file tree
Hide file tree
Showing 25 changed files with 7 additions and 900 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/generate-command-reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
workflow_dispatch:

env:
AMC_COMMAND_REFERENCE_DIR: "./reference/cmd-ref/amc-command-reference"

jobs:
run-tests:
runs-on: ubuntu-24.04
Expand All @@ -13,12 +16,14 @@ jobs:
ubuntu-pro-token: ${{ secrets.UBUNTU_PRO_TOKEN }}
- name: Checkout repo
uses: actions/checkout@v4
- name: Delete existing files
run: rm -rf $AMC_COMMAND_REFERENCE_DIR/*
- name: Generate AMC command reference documentation
run: amc generate documentation -f markdown -d ./reference/cmd-ref/amc-command-reference
run: amc generate documentation -f markdown -d $AMC_COMMAND_REFERENCE_DIR
- name: Commit changes
if: ${{ github.ref == 'refs/heads/main' }}
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Generate AMC command reference documentation'
add: './reference/cmd-ref/amc-command-reference'
add: '$AMC_COMMAND_REFERENCE_DIR'
Empty file.
59 changes: 0 additions & 59 deletions reference/cmd-ref/amc-command-reference/addon.md

This file was deleted.

137 changes: 0 additions & 137 deletions reference/cmd-ref/amc-command-reference/application.md

This file was deleted.

27 changes: 0 additions & 27 deletions reference/cmd-ref/amc-command-reference/benchmark.md

This file was deleted.

91 changes: 0 additions & 91 deletions reference/cmd-ref/amc-command-reference/completion.md

This file was deleted.

46 changes: 0 additions & 46 deletions reference/cmd-ref/amc-command-reference/config.md

This file was deleted.

Loading

0 comments on commit b4288a9

Please sign in to comment.