Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
vknaisl committed Aug 16, 2023
1 parent a8897f8 commit 9dc1bb3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Guide Changelog
# Wizard Changelog

[![User Guide](https://img.shields.io/badge/docs-User%20Guide-informational)](https://guide.ds-wizard.org)
[![License](https://img.shields.io/github/license/ds-wizard/guide-changelog)](LICENSE)

*Changelog for Data Stewardship Wizard Guide
*Changelog for Data Stewardship Wizard

### Requirements

Expand Down
1 change: 1 addition & 0 deletions assets/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log('Loaded Wizard changelog...')
4 changes: 2 additions & 2 deletions changelog.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Wizard Guide Changelog
**********************
Wizard Changelog
****************

..
This is a workaround to random anchor links generation by Sphinx
Expand Down
11 changes: 6 additions & 5 deletions scripts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,22 @@
f_out.write(
line
.replace(
'<title>Wizard Guide Changelog</title>',
"""<title>Wizard Guide Changelog</title>
'<title>Wizard Changelog</title>',
"""<title>Wizard Changelog</title>
<link rel="shortcut icon" href="../assets/favicon.ico">
<script src="../assets/custom.js"></script>
"""
)
.replace(
'<h1 class="title">Wizard Guide Changelog</h1>',
'<h1 class="title">Wizard Changelog</h1>',
''
)
.replace(
'<main id="wizard-guide-changelog">',
'<main id="wizard-changelog">',
"""<header>
<h1>
<img src="./assets/logo.svg" alt="Logo" class="logo">
<div class="title">| Guide Changelog</div>
<div class="title">| Wizard Changelog</div>
</h1>
</header>
<main id="wizard-guide-changelog">
Expand Down

0 comments on commit 9dc1bb3

Please sign in to comment.