Skip to content

Consolidate all generated artifacts under output/ directory#26

Merged
marcarl merged 5 commits intomainfrom
feature/restructure-output-dirs
Jan 4, 2026
Merged

Consolidate all generated artifacts under output/ directory#26
marcarl merged 5 commits intomainfrom
feature/restructure-output-dirs

Conversation

@marcarl
Copy link
Copy Markdown
Collaborator

@marcarl marcarl commented Jan 4, 2026

Summary

  • Restructure output directories to use output/ as the base directory
  • Move kommande.yaml from data/ to output/
  • Improve coverage configuration by removing obsolete SFS/* directory from omit list

Changes

  • Update GitHub Actions workflows to use new output paths
  • Update README documentation to reflect new directory structure
  • Consolidate output-related directories under output/

Test plan

  • All tests pass
  • GitHub Actions workflows updated
  • Coverage configuration validated

🤖 Generated with Claude Code

marcarl and others added 5 commits January 4, 2026 21:26
Samlar all genererad output under output/ med tydlig struktur:
- output/md/ - Markdown-filer (tidigare SFS/)
- output/html/ - HTML-filer

## Ändringar

### Konfiguration
- .gitignore: Ta bort oanvänd sfs-output/, output/ täcker allt
- pyproject.toml: Lägg till sfs_docs/* och output/* i coverage omit

### Dokumentation
- README.md: Uppdatera exempel från --output SFS → --output output/md

### GitHub Workflows (4 filer)
- fetch-sfs-workflow.yml: SFS → output/md, git add ändrat
- html-export-workflow.yml: SFS → output/html, aws s3 sync uppdaterat
- testdocs-workflow.yml: SFS → output/md
- upcoming-changes-workflow.yml: SFS/ → output/md/ i temporal scripts

## Fördelar
- Tydligare separation mellan input (sfs_docs/) och output (output/)
- All genererad data under samma root-katalog
- Enklare att rensa: rm -rf output/
- output/ redan ignorerad i .gitignore - undviker oavsiktliga commits

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
data/ ska innehålla källdata och konfiguration, inte genererad output.
kommande.yaml genereras från markdown-filer och är därför output.

Ändringar:
- temporal/upcoming_changes.py: UPCOMING_CHANGES_FILE_PATH → output/kommande.yaml
- .gitignore: Ta bort data/kommande.yaml (täcks av output/)
- upcoming-changes-workflow.yml: git add output/kommande.yaml
Add improvements from feature/improved-pyproject:
- Enable branch coverage (branch = true)
- Add abstractmethod to exclude_lines for better coverage reporting
- Keep output/* omit (covers output/md, output/html, etc.)
Add parents=True to mkdir() call to ensure parent directories are created
when the output path contains nested directories that don't exist yet.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@marcarl marcarl changed the title Restructure output directories to output/ Consolidate all generated artifacts under output/ directory Jan 4, 2026
@marcarl marcarl merged commit 309a75d into main Jan 4, 2026
5 checks passed
@marcarl marcarl deleted the feature/restructure-output-dirs branch January 4, 2026 21:01
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.

1 participant