cityofaustin / cityofaustin/techstack
Get HomePage for each page_id that is Published
- Dominant language
- No language data
- Stars
- 11
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
```
# TODO: we want to extract the publish_janis_branch() for each page_id that we're publishing.
# That logic must happen earlier in the collect_pages logic.
# Even though this will work for now, it should not be hardcoded to be the first HomePage object.
publish_janis_branch = HomePage.objects.first().publish_janis_branch()
```
Instead of an array of page_ids being passed to publish_v3():
[ page_id_1, page_id_2, ... ]
We need an array of objects, where all page_ids are nested under their respective janis_publish_branch, from their respective HomePages:
{
"janis_publish_branch_from_site_1": [page_id_1, page_id_2, ...],
"janis_publish_branch_from_site_2": [page_id_34, page_id_35, ...]
}
This will allow us to Publish to multiple sites from a single Joplin instance, which could open up new options for testing.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.