manager: Drop wiki page updates
Let's focus on the dot-based total tree
This commit is contained in:
parent
a6aa02aa40
commit
34d7a371b3
|
@ -74,24 +74,26 @@ async fn run() -> anyhow::Result<()> {
|
||||||
.await
|
.await
|
||||||
.context("Failed to render and publish the techtree to git")?;
|
.context("Failed to render and publish the techtree to git")?;
|
||||||
|
|
||||||
let mermaid = tree.to_mermaid(&repo_url.to_string());
|
if false {
|
||||||
let wiki_text = format!(
|
let mermaid = tree.to_mermaid(&repo_url.to_string());
|
||||||
r##"This page is automatically updated to show the latest and greatest FAFO techtree:
|
let wiki_text = format!(
|
||||||
|
r##"This page is automatically updated to show the latest and greatest FAFO techtree:
|
||||||
|
|
||||||
```mermaid
|
```mermaid
|
||||||
{mermaid}
|
{mermaid}
|
||||||
```
|
```
|
||||||
"##
|
"##
|
||||||
);
|
);
|
||||||
log::info!("Updating the wiki overview...");
|
log::info!("Updating the wiki overview...");
|
||||||
wiki::update_wiki_overview(
|
wiki::update_wiki_overview(
|
||||||
&forgejo,
|
&forgejo,
|
||||||
&meta.issue.repository,
|
&meta.issue.repository,
|
||||||
timestamp.to_string(),
|
timestamp.to_string(),
|
||||||
wiki_text,
|
wiki_text,
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.context("Failed to update the techtree wiki page")?;
|
.context("Failed to update the techtree wiki page")?;
|
||||||
|
}
|
||||||
|
|
||||||
'issues: for issue in tree.iter_issues() {
|
'issues: for issue in tree.iter_issues() {
|
||||||
let subtree = tree.subtree_for_issue(issue).unwrap();
|
let subtree = tree.subtree_for_issue(issue).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue