0.3 modifications for deployment

This commit is contained in:
RunasSudo 2021-02-22 23:56:19 +11:00
parent 69311aaba8
commit ffb2b4634c
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
5 changed files with 44 additions and 1 deletions

View File

@ -40,5 +40,5 @@ mobi:
upload:
cp -r _build/html/* '/home/runassudo/Documents/Work/School Cloud Data/unenc/public/www/pointsoforder'
sha256sum _build/latex/PointsOfOrder_Lulu.pdf | awk '{print substr($$1,0,6);}' > _build/latex/PointsOfOrder_Lulu.pdf.sha256
rm '/home/runassudo/Documents/Work/School Cloud Data/unenc_transient/Lulu/PointsOfOrder_Lulu'*.pdf
rm '/home/runassudo/Documents/Work/School Cloud Data/unenc_transient/Lulu/PointsOfOrder_Lulu'*.pdf || true
cp _build/latex/PointsOfOrder_Lulu.pdf '/home/runassudo/Documents/Work/School Cloud Data/unenc_transient/Lulu/PointsOfOrder_Lulu_'$$(sha256sum _build/latex/PointsOfOrder_Lulu.pdf | awk '{print substr($$1,0,6);}')'.pdf'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 80 KiB

View File

@ -61,6 +61,36 @@ div.sphinxsidebarwrapper p.caption {
display: none;
}
div.sphinxsidebarwrapper div.logo {
display: flex;
align-items: center;
}
div.sphinxsidebarwrapper div.logo a:not(:hover) {
border: none;
}
div.sphinxsidebarwrapper div.logo > a {
border: none;
width: 40%;
margin-right: 0.5em;
}
/* Footer */
div.pre-footer {
width: 940px;
margin: 20px auto 0 auto;
padding: 4px;
font-size: 16px;
text-align: center;
border: 1px solid #999;
}
div.pre-footer a {
color: #444;
}
/* Media queries */
@media screen and (max-width: 870px) {

9
potheme_html/about.html Normal file
View File

@ -0,0 +1,9 @@
<h1 class="logo"><a href="{{ pathto(master_doc) }}">{{ project }}</a></h1>
<div class="logo">
<a href="{{ pathto(master_doc) }}">
<img class="logo" src="{{ pathto('_static/cover.jpg', 1) }}" alt="Logo"/>
</a>
<aside>
<a href="https://gumroad.com/l/KErDHC">Buy the ebook:<br>Pay what you want</a>
</aside>
</div>

View File

@ -1,6 +1,10 @@
{%- extends "alabaster/layout.html" %}
{%- block footer %}
<div class="pre-footer">
<a href="https://gumroad.com/l/KErDHC">Buy the ebook: Pay what you want</a>
</div>
<div class="footer">
Edition {{ release }} | Copyright &copy; {{ copyright }} | <a href="introduction.html#copyright">CC BY-SA 4.0 / GFDL 1.3</a>
{%- if show_source and has_source and sourcename %}