Skip to content

Commit

Permalink
Removed redundant anonymizer.
Browse files Browse the repository at this point in the history
Added documentation link to the header of the homepage.
Added list of available anonymizers to the documentation.
  • Loading branch information
Rolf committed Feb 14, 2020
1 parent 30a115e commit be1109e
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 144 deletions.
1 change: 1 addition & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ exclude: [ruby, Gemfile, Gemfile.lock, serve_local_jekyll_site.sh]
github:
zip_url: https://github.com/realrolfje/anonimatron/releases/latest
repository_url: https://github.com/realrolfje/anonimatron/tree/master
documentation_url: /documentation

plugins:
- jekyll-mentions
Expand Down
7 changes: 5 additions & 2 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@
<body>
<header class="page-header" role="banner">
<div class="logo">
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
<h1 class="project-name"><a href="/" style="color: inherit">{{ site.title | default: site.github.repository_name }}</a></h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn github">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn zip">Download .zip</a>
{% endif %}
{% if site.github.is_project_page %}
<a href="{{ site.github.documentation_url }}" class="btn documentation">Documentation</a>
{% endif %}
</div>
</header>

Expand Down
Binary file added docs/assets/css/book-flat-30.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions docs/assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
padding-left: 47px;
}

.btn.documentation {
background-image: url(book-flat-30.png);
background-repeat: no-repeat;
background-position: 10px;
padding-left: 47px;
}

.logo {
background-image: url(anonimatron-logo-a.png);
background-repeat: no-repeat;
Expand Down
26 changes: 26 additions & 0 deletions docs/documentation/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Anonimatron documentation

For more information on how Anonimatron works and runs, check our [GitHub readme.md](https://github.com/realrolfje/anonimatron/blob/master/README.md).

## Available Anonymizers

Anonimatron comes with the following default anonymizers. Please start Anonimatron with the `-configexample`
parameter to see how these are configured:

| Name | Type | Input | Output |
|:----------------------------------|:--------------------|:-----------------|:-------------------------------------------------------------------------|
| CharacterStringAnonymizer | RANDOMCHARACTERS | Any string | A-Z, same length |
| CharacterStringPrefetchAnonymizer | RANDOMCHARACTERS | Any string | Characters from all input data, same length |
| CountryCodeAnonymizer | COUNTRY_CODE | Any string | ISO 3166-1 alpha 2 or alpha 3 code |
| DateAnonymizer | DATE | Valid date | Date between 31 days before and 32 days after the input date |
| DigitStringAnonymizer | RANDOMDIGITS | Any string | 0-9, same length, optional mask |
| DutchBankAccountAnononymizer | DUTCHBANKACCOUNT | Any string | 11 proof number, minimal 9 digits |
| DutchBSNAnononymizer | BURGERSERVICENUMMER | Number or string | Valid Dutch "Burger Service Nummer" or "SOFI Nummer" as number or string |
| DutchZipCodeAnonymizer | DUTCH_ZIP_CODE | Any string | Valid Dutch zip/postal code |
| ElvenNameGenerator | ELVEN_NAME | Any string | Pronounceable elven name, 2 to 5 syllables |
| EmailAddressAnonymizer | EMAIL_ADDRESS | Any string | Valid email address in the domain "@example.com" |
| IbanAnonymizer | IBAN | Any string | Valid International Bank Account Number |
| RomanNameGenerator | ROMAN_NAME | Any string | Pronounceable Roman name, 2 to 5 syllables |
| StringAnonymizer | STRING | Any string | Random hexadecimal string |
| UkPostCodeAnonymizer | UK_POST_CODE | Any string | Valid Uk Post code |
| UUIDAnonymizer | UUID | Any string | A random UUID |
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import java.math.BigInteger;

/**
* Generates valid Dutch "Burger Service Nummer" or "SOFI Nummer",a social
* Generates valid Dutch "Burger Service Nummer" or "SOFI Nummer", a social
* security number uniquely identifying civilians to the governement.
* <p>
* A BSN Number is 9 digits long, can not start with 3 zeroes, the first digit
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit be1109e

Please sign in to comment.