Skip to content

docs: refactor GitHub Action documentation#327

Merged
ArthurCRodrigues merged 3 commits into
mainfrom
refactor-github-action-docs
May 19, 2026
Merged

docs: refactor GitHub Action documentation#327
ArthurCRodrigues merged 3 commits into
mainfrom
refactor-github-action-docs

Conversation

@ArthurCRodrigues

Copy link
Copy Markdown
Member

Summary

Refactors the GitHub Action documentation into a comprehensive, well-structured set of pages:

  • Overview — how it works, architecture, execution modes, repository contract
  • Quick Start Guide — step-by-step setup for both repo and external modes, demo walkthrough
  • Configuration Reference — all inputs, outputs, secrets, permissions, validation rules
  • External Mode — deep dive including setup guide, migration, operational checklist, troubleshooting

Changes

  • Rewrote all 3 existing GitHub Action doc pages with expanded content
  • Added quick-start.md consolidating the demo walkthrough and setup instructions
  • Removed demo-autograder.md (content merged into quick-start)
  • Consolidated the external-mode-rollout guide content into external-mode.md
  • Updated mkdocs nav to show all 4 pages under GitHub Action section

What was tested

  • Verified all internal cross-references between pages are consistent
  • Confirmed mkdocs.yml nav structure is valid YAML

- Rewrite Overview, Configuration Reference, and External Mode pages
- Add Quick Start Guide consolidating demo walkthrough and setup steps
- Remove demo-autograder.md (content merged into quick-start.md)
- Consolidate external-mode-rollout guide into external-mode.md
- Update mkdocs nav to include all GitHub Action pages
Copilot AI review requested due to automatic review settings May 18, 2026 13:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Refactors the GitHub Action documentation into a clearer multi-page set (overview, quick start, configuration reference, and external mode) and updates the MkDocs navigation accordingly.

Changes:

  • Reorganized GitHub Action docs into 4 primary pages and expanded content/structure.
  • Added a new Quick Start Guide and removed the standalone demo walkthrough page (content merged).
  • Updated MkDocs navigation to reflect the new GitHub Action documentation layout.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
mkdocs.yml Updates docs navigation to include the new GitHub Action pages.
docs/github_action/README.md Rewritten GitHub Action overview with architecture, modes, and quick references.
docs/github_action/quick-start.md New end-to-end setup guide for repo and external execution modes.
docs/github_action/external-mode.md Expanded external mode deep dive including payloads, setup, checklist, and troubleshooting.
docs/github_action/demo-autograder.md Removed (demo walkthrough content moved into Quick Start).
docs/github_action/configuration.md Expanded configuration reference for inputs/outputs/secrets/permissions and validation rules.
Comments suppressed due to low confidence (2)

docs/github_action/quick-start.md:52

  • This CSS test example also uses file: "submission/styles.css", but submission files are keyed relative to the submission/ directory (so this should be styles.css). As written, the file target won't resolve and the test may run with empty/None content.
        "tests": [
          {
            "file": "submission/styles.css",
            "name": "check_flexbox_usage"
          }

docs/github_action/external-mode.md:298

  • This smoke-test step says results appear at GET /api/v1/submissions/config/42, but that endpoint doesn't exist in the current API implementation. Please update the verification instructions to use an actual submissions read endpoint (e.g., by user or by submission id).
### 2. Trigger a test run

Push a known-good submission. Verify:

- Action completes successfully
- Result appears: `GET /api/v1/submissions/config/42`

Comment on lines +35 to +39
{
"file": "submission/index.html",
"name": "has_tag",
"parameters": [
{ "name": "tag", "value": "header" },
Push a submission and check:

- ✅ The workflow completes without errors
- ✅ A result appears on `GET /api/v1/submissions/config/42`
Comment on lines +75 to +79
Key fields:

- `test_library` — which template library to use (`web_dev`, `input_output`, `api_testing`)
- `base.subjects` — hierarchical tree of subjects, each with `weight` and either `subjects` (children) or `tests`
- Each test specifies `file`, `name` (test function), and optional `parameters`
| `webdev` | HTML/CSS/JS | Web development assignments (DOM, CSS, structure) |
| `input_output` | Python, Java, C++ | Standard I/O programs with test cases |
| `api` | Any | REST API endpoint testing |

Comment on lines +225 to +229
Push a submission and check:

```bash
curl -H "Authorization: Bearer $TOKEN" \
https://your-cloud-url/api/v1/submissions/config/42

@ArthurCRodrigues ArthurCRodrigues left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ok

@ArthurCRodrigues ArthurCRodrigues merged commit e526f05 into main May 19, 2026
3 checks passed
@ArthurCRodrigues ArthurCRodrigues deleted the refactor-github-action-docs branch May 19, 2026 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants