manager: Drop wiki page updates

Let's focus on the dot-based total tree
This commit is contained in:
Rahix 2025-05-22 16:02:10 +02:00
parent a6aa02aa40
commit 34d7a371b3

View file

@ -74,24 +74,26 @@ async fn run() -> anyhow::Result<()> {
.await
.context("Failed to render and publish the techtree to git")?;
let mermaid = tree.to_mermaid(&repo_url.to_string());
let wiki_text = format!(
r##"This page is automatically updated to show the latest and greatest FAFO techtree:
if false {
let mermaid = tree.to_mermaid(&repo_url.to_string());
let wiki_text = format!(
r##"This page is automatically updated to show the latest and greatest FAFO techtree:
```mermaid
{mermaid}
```
"##
);
log::info!("Updating the wiki overview...");
wiki::update_wiki_overview(
&forgejo,
&meta.issue.repository,
timestamp.to_string(),
wiki_text,
)
.await
.context("Failed to update the techtree wiki page")?;
);
log::info!("Updating the wiki overview...");
wiki::update_wiki_overview(
&forgejo,
&meta.issue.repository,
timestamp.to_string(),
wiki_text,
)
.await
.context("Failed to update the techtree wiki page")?;
}
'issues: for issue in tree.iter_issues() {
let subtree = tree.subtree_for_issue(issue).unwrap();