Skip to content

Commit

Permalink
Make content work with hugo v0.61.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRadialActive committed Dec 17, 2019
1 parent 71bf6fa commit e72cc39
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 36 deletions.
4 changes: 3 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title = "SDAPS"
theme = "hugo-material-docs"
metadataformat = "yaml"
canonifyurls = true
enableInlineShortcodes = true

[params]
# General information
Expand All @@ -19,7 +20,7 @@ canonifyurls = true
repo_url = "https://github.com/sdaps/sdaps"
custom_download_url = "https://sdaps.org/getting-started/"

version = "1.9.5"
version = "1.9.7"
logo = "images/sdaps.png"
favicon = "images/sdaps.svg"

Expand Down Expand Up @@ -98,3 +99,4 @@ canonifyurls = true
fractions = true
smartDashes = true
plainIDAnchors = true
extensionsmask = ['backslashLineBreak']
5 changes: 1 addition & 4 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ layout: single
SDAPS is an open source (GPLv3, LPPL) optical mark recognition (OMR) program.
It is written in python and has an integrated workflow with LaTeX to create questionnaires.

<center>
Watch the presentation at FrOSCon 2015 to get to know sdaps more (does of
course not include the latest novelties):
[![](files/video_froscon15_thumb.png)](https://media.ccc.de/v/froscon2015-1606-sdaps)
{{% button href="/getting-started/#dependencies" icon="fas fa-exclamation" %}}Install{{% /button %}} {{% button href="https://demo.sdaps.org" icon="fas fa-desktop" %}}Demo of web interface{{% /button %}} {{% button icon="fas fa-pen" href="/getting-started/#usage" %}}Usage{{% /button %}} {{% button icon="fas fa-brush" href="/documentation/gui" %}}Screenshots{{% /button %}} {{% button icon="fas fa-hashtag" href="/contribute" %}}Community{{% /button %}}
</center>

{{< button href="/getting-started/#dependencies" icon="fas fa-exclamation" >}}Install{{< /button >}} {{< button href="https://demo.sdaps.org" icon="fas fa-desktop" >}}Demo of web interface{{< /button >}} {{< button icon="fas fa-pen" href="/getting-started/#usage" >}}Usage{{< /button >}} {{< button icon="fas fa-brush" href="/documentation/gui" >}}Screenshots{{< /button >}} {{< button icon="fas fa-hashtag" href="/contribute" >}}Community{{< /button >}}

![SDAPS Overview](/files/sdaps.png")

Expand Down
11 changes: 0 additions & 11 deletions content/contribute/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,10 @@ had some problems in the past.

## Donations

<!--<form style="display: inline" action="https://www.paypal.com/cgi-bin/webscr"
method="post" target="_top">-->
Generally donating your time to improve SDAPS would be preferred, but not
everyone has the time to spare for the project. If you would like to donate
money then you can do so by sending it to the lead developer
[Benjamin Berg](/imprint) via paypal: ![](/files/btn_donate_SM.gif) (benjamin-pp[at]sipsolutions.net)
<!--<input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="[email protected]" />
<input type="hidden" name="lc" value="US" />
<input type="hidden" name="item_name" value="SDAPS" />
<input type="hidden" name="no_note" value="0" />
<input type="hidden" name="currency_code" value="EUR" />
<input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_SM.gif:NonHostedGuest" />
<input type="image" src="btn_donate_SM.gif" border="0" name="submit" alt="PayPal" />
</form>-->

## Documentation

Expand Down
91 changes: 74 additions & 17 deletions content/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,69 @@ layout: single
---

## Install
Operating System | Software
---------------- | -------------
[![](/images/ubuntu.png)](https://launchpad.net/~benjamin-sipsolutions/+archive/sdaps-stable/ ) | [**PPA (stable)**](https://launchpad.net/~benjamin-sipsolutions/+archive/sdaps-stable/ ) or <br>[**PPA (unstable)**](https://launchpad.net/~benjamin-sipsolutions/+archive/sdaps/)<br>and other Debian-based<br>Distros like LinuxMint.<br><br>{{% spoiler "Commands" %}}`sudo add-apt-repository ppa:benjamin-sipsolutions/sdaps` or `/sdaps-unstable`<br>`sudo apt-get update`<br>`sudo apt-get install sdaps`{{% /spoiler %}}
![](/images/debian.png) | Install the PPA<br> for ubuntu<br>**or**<br>click **"From Source"**<br>under this table
[![](/images/fedora.png)](https://copr.fedorainfracloud.org/coprs/benzea/sdaps/) | [**COPR (unstable)**](https://copr.fedorainfracloud.org/coprs/benzea/sdaps/)<br><br>{{% spoiler Commands %}}`sudo dnf copr enable benzea/sdaps`<br>`sudo dnf install sdaps`{{% /spoiler %}}
[![](/images/arch.png)](https://aur.archlinux.org/packages/sdaps-git) | [**'sdaps-git' (unstable)**](https://aur.archlinux.org/packages/sdaps-git)<br>latest master branch<br>via [AUR](https://aur.archlinux.org/)<br><br>{{% spoiler Commands %}}To install AUR packages<br>we recommend [`aurman`](https://github.com/polygamma/aurman ).<br>Install that and then type<br>`aurman -S sdaps-git`{{% /spoiler %}}
[![](/images/gentoo.png)](https://github.com/sdaps/gentoo-overlay) | [**Gentoo-Overlay (unstable)**](https://github.com/sdaps/gentoo-overlay)<br><br>{{% spoiler Commands %}}Install [layman](https://wiki.gentoo.org/wiki/Layman):<br>`layman -o https://raw.githubusercontent.com/sdaps/gentoo-overlay/master/overlay.xml -f -a sdaps-overlay`{{% /spoiler %}}
![](/images/macos.png) | We'll try to bring it to<br>you via [homebrew](https://brew.sh/).<br>[Github Issue #140](https://github.com/sdaps/sdaps/issues/140)
<i class="fas fa-file-archive fa-5x" style="text-align: center; background-color: white; width: 76px;"></i> | You can find sdaps tarballs [here](/releases/).

{{% spoiler "From Source" %}}<br>

Ubuntu |
---------------- |
[![](/images/ubuntu.png)](https://launchpad.net/~benjamin-sipsolutions/+archive/sdaps-stable/ )
[**PPA (stable)**](https://launchpad.net/~benjamin-sipsolutions/+archive/sdaps-stable/ ) or [**PPA (unstable)**](https://launchpad.net/~benjamin-sipsolutions/+archive/sdaps/) and other Debian-based Distros like LinuxMint.
{{< spoiler "Commands" >}}
`sudo add-apt-repository ppa:benjamin-sipsolutions/sdaps` or `/sdaps-unstable` \
`sudo apt-get update` \
`sudo apt-get install sdaps`
{{< /spoiler >}}

Debian |
---------------- |
![](/images/debian.png)
Install the PPA for **ubuntu** or click on the instructions to build it from source under the tables.

Fedora |
---------------- |
[![](/images/fedora.png)](https://copr.fedorainfracloud.org/coprs/benzea/sdaps/)
[**COPR (unstable)**](https://copr.fedorainfracloud.org/coprs/benzea/sdaps/)
{{< spoiler Commands >}}
`sudo dnf copr enable benzea/sdaps` \
`sudo dnf install sdaps`
{{< /spoiler >}}

ArchLinux |
---------------- |
[![](/images/arch.png)](https://aur.archlinux.org/packages/sdaps-git)
[**'sdaps-git' (unstable)**](https://aur.archlinux.org/packages/sdaps-git) latest master branch via [AUR](https://aur.archlinux.org/)
{{< spoiler Commands >}}
To install AUR packages we recommend [`yay`](https://github.com/Jguer/yay ).
Install that and then type

`yay -S sdaps-git`
{{< /spoiler >}}

Gentoo |
---------------- |
[![](/images/gentoo.png)](https://github.com/sdaps/gentoo-overlay)
[**Gentoo-Overlay (unstable)**](https://github.com/sdaps/gentoo-overlay)
{{< spoiler Commands >}}
Install [layman](https://wiki.gentoo.org/wiki/Layman):

```
layman -o \
https://raw.githubusercontent.com/sdaps/gentoo-overlay/master/overlay.xml \
-f -a sdaps-overlay
```
{{< /spoiler >}}

MacOS |
---------------- |
![](/images/macos.png)
We'll try to bring it to you via [homebrew](https://brew.sh/). [Github Issue #140](https://github.com/sdaps/sdaps/issues/140)

From Source |
---------------- |
You can find sdaps tarballs [here](/releases/) and the instructions down below.

{{< spoiler "Open instructions for building from source" >}}

Instructions:

### General Dependencies

SDAPS has a number of dependencies. In some circumstances not all of them will
Expand Down Expand Up @@ -48,9 +100,9 @@ ODT based questionnaires (setup/stamp):
LaTeX based questionnaires (setup_tex/stamp):

* pdflatex and packages:
* PGF/TikZ
* translator (part of beamer)
* and more
* PGF/TikZ
* translator (part of beamer)
* and more

LaTeX based reports:

Expand All @@ -72,12 +124,16 @@ Debug output (annotate):

On Debian Wheezy/Jessie you should install the following packages:
```bash
python-distutils-extra python-cairo-dev libtiff5-dev libcairo2-dev libglib2.0-dev python2.7-dev python-zbar python-gi python-gi-cairo gir1.2-gtk-3.0 python-reportlab python-imaging gir1.2-poppler-0.18 python-opencv pdftk # (pdftk or python-pypdf)
python-distutils-extra python-cairo-dev libtiff5-dev libcairo2-dev \
libglib2.0-dev python2.7-dev python-zbar python-gi python-gi-cairo \
gir1.2-gtk-3.0 python-reportlab python-imaging gir1.2-poppler-0.18 \
python-opencv pdftk # (pdftk or python-pypdf)
```

for the LaTeX class:
```bash
texlive texlive-latex-extra texlive-latex-recommended pgf latex-beamer # latex-beamer: (used for translations)
texlive texlive-latex-extra texlive-latex-recommended pgf latex-beamer \
# latex-beamer: (used for translations)
```

Other debian based distributions (Ubuntu, Mint) should have very similar
Expand All @@ -104,9 +160,10 @@ or if you want to run it directly from the cloned folder:
```bash
./setup.py build
```

{{< /spoiler >}}

<hr>
---

Please run sdaps with `--help` after installing it for a list of commands.

Expand Down
6 changes: 3 additions & 3 deletions content/imprint/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ title: Imprint
layout: single
---

Benjamin Berg<br>
Jagdfeldring 83<br>
Benjamin Berg \
Jagdfeldring 83 \
85540 Haar

E-Mail: [[email protected]](mailto:[email protected])<br>
E-Mail: [[email protected]](mailto:[email protected]) \
Tel: +49-176-41010091

0 comments on commit e72cc39

Please sign in to comment.