Skip to content

Commit

Permalink
change warning so it doesn't mess up when changing versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sage-wright committed Sep 11, 2024
1 parent 905dcb0 commit e52dbea
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 29 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ jobs:
run: |
git config user.name sage-wright
git config user.email [email protected]
mike deploy --push main
mike deploy --push main
LATEST_RELEASE=$(curl -sL https://api.github.com/repos/theiagen/public_health_bioinformatics/releases/latest | jq -r ".tag_name")
mike deploy --push --update-aliases ${LATEST_RELEASE} latest
mike set-default --push latest
11 changes: 2 additions & 9 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@
{% endblock %}


<!-- REMOVE WHEN DOCUMENTATION IS FINALIZED -->
{% block header %}

<div class="banner">
<p style="color:#ffffff; display:inline;">🏗️ I'm under construction! Pardon the dust while we remodel! 👷</p>
</div>

<!-- Original Header -->
{% include "partials/header.html" %}
{% block announce %}
<center>🏗️ I'm under construction! Pardon the dust while we remodel! 👷</center>
{% endblock %}
19 changes: 0 additions & 19 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,22 +186,3 @@ td {
}



/* UNDER CONSTRUCTION ANNOUNCEMENT; comment out when needing removal */
.banner {
height: 30px; /* Height of the banner */
line-height: 30px; /* Center the text vertically */
position: sticky; /* Follows as you scroll */
top: 0; /* Absolute top of page */
left: 0;
width: 100%;
z-index: 1; /* Tells the renderer "this is important", otherwise Admonition and Code Blocks will render into it */
text-align: center;
vertical-align: middle;
font-size: 14pt;
background-color: #262626;
}

.md-header {
top: 30px; /* This setting prevents the Material header from imposing into the space of the banner! */
}

0 comments on commit e52dbea

Please sign in to comment.